Skip to content

feat(sdk): add LLM provider test & list-models enablers#1634

Merged
hkad98 merged 1 commit into
masterfrom
zmu/gdai-1811-sdk-provider-list
May 29, 2026
Merged

feat(sdk): add LLM provider test & list-models enablers#1634
hkad98 merged 1 commit into
masterfrom
zmu/gdai-1811-sdk-provider-list

Conversation

@zdenekmusil-gd
Copy link
Copy Markdown
Contributor

Add typed CatalogOrganizationService methods backed by ActionsApi so tooling can test connectivity and list models for LLM providers without using the raw api-client:

  • test_llm_provider / test_llm_provider_by_id -> CatalogLlmProviderTestResult
  • list_llm_provider_models / list_llm_provider_models_by_id -> CatalogLlmProviderModelsResult
  • New result types parse responses with a casing-robust from_api, since the API returns nested result items as camelCase dicts
  • Provider CRUD is unchanged

JIRA: GDAI-1811
risk: nonprod

@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

❌ Patch coverage is 90.00000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.10%. Comparing base (6e3ba76) to head (22b6da6).

Files with missing lines Patch % Lines
.../catalog/organization/entity_model/llm_provider.py 88.88% 3 Missing ⚠️
...k/src/gooddata_sdk/catalog/organization/service.py 91.30% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1634      +/-   ##
==========================================
+ Coverage   79.06%   79.10%   +0.04%     
==========================================
  Files         231      231              
  Lines       15667    15717      +50     
==========================================
+ Hits        12387    12433      +46     
- Misses       3280     3284       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Add typed CatalogOrganizationService methods backed by ActionsApi so tooling
can test connectivity and list models for LLM providers without using the raw
api-client:

- test_llm_provider / test_llm_provider_by_id -> CatalogLlmProviderTestResult
- list_llm_provider_models / list_llm_provider_models_by_id ->
  CatalogLlmProviderModelsResult
- Provider CRUD is unchanged

JIRA: GDAI-1811
risk: nonprod
@zdenekmusil-gd zdenekmusil-gd force-pushed the zmu/gdai-1811-sdk-provider-list branch from 51dfb6c to 22b6da6 Compare May 29, 2026 11:59
@hkad98 hkad98 enabled auto-merge May 29, 2026 12:10
@hkad98 hkad98 merged commit 0dc6284 into master May 29, 2026
12 checks passed
@hkad98 hkad98 deleted the zmu/gdai-1811-sdk-provider-list branch May 29, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants