feat(gooddata-sdk): [AUTO] Add resolveLlmProviders endpoint and ResolvedLlmProvider schemas#1552
Closed
yenkins-admin wants to merge 3 commits intomasterfrom
Closed
feat(gooddata-sdk): [AUTO] Add resolveLlmProviders endpoint and ResolvedLlmProvider schemas#1552yenkins-admin wants to merge 3 commits intomasterfrom
yenkins-admin wants to merge 3 commits intomasterfrom
Conversation
…vedLlmProvider schemas
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1552 +/- ##
==========================================
+ Coverage 78.66% 78.72% +0.06%
==========================================
Files 230 231 +1
Lines 15405 15450 +45
==========================================
+ Hits 12118 12163 +45
Misses 3287 3287 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The implement agent writes its message log to transcript-implement-C006.jsonl. This file was accidentally committed by 'git add -A' in the deliver step of sdk-py-openapi-sync.yml (gdc-nas). The workflow has been patched to write transcripts outside the sdk/ checkout so future auto-PRs won't contain them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added SDK support for the new
resolveLlmProvidersendpoint. CreatedCatalogResolvedLlms,CatalogResolvedLlmEndpoint,CatalogResolvedLlmProvider, andCatalogResolvedLlmModelmodel classes in a new fileresolved_llm.py. Addedresolve_llm_providers(workspace_id)method toCatalogWorkspaceContentService. Exported all new classes fromgooddata_sdk/__init__.py. Added 3 unit tests (all passing) and 1 integration test requiring a cassette.Impact: new_feature | Services:
gooddata-afm-clientFiles changed
packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/entity_model/resolved_llm.pypackages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/content_service.pypackages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/tests/catalog/test_catalog_workspace_content.pyAgent decisions
Decisions (3)
discriminating oneOf data field — Use presence of 'models' key to distinguish CatalogResolvedLlmProvider from CatalogResolvedLlmEndpoint
placement of new model file — catalog/workspace/entity_model/resolved_llm.py (workspace domain)
API call style — Call resolve_llm_providers with _check_return_type=False then call .to_dict()
Assumptions to verify (3)
Risks (2)
Layers touched (4)
packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/entity_model/resolved_llm.pypackages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/content_service.pypackages/gooddata-sdk/tests/catalog/test_catalog_workspace_content.pySource commits (gdc-nas)
699c75cMerge pull request #21420 from hkad98/jkd/resolve-llm-providerOpenAPI diff
Workflow run
Generated by SDK OpenAPI Sync workflow