feat(gooddata-sdk): [AUTO] Add Anthropic provider config to LLM provider config#1615
Open
yenkins-admin wants to merge 3 commits into
Open
feat(gooddata-sdk): [AUTO] Add Anthropic provider config to LLM provider config#1615yenkins-admin wants to merge 3 commits into
yenkins-admin wants to merge 3 commits into
Conversation
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 Anthropic LLM provider config support: new CatalogAnthropicApiKeyAuth and CatalogAnthropicProviderConfig classes, updated _provider_config_from_api to dispatch on type='ANTHROPIC', exported both classes from gooddata_sdk.init, and added an integration test with VCR cassette.
Impact: new_feature | Services:
gooddata-afm-client,gooddata-metadata-clientSource commits (gdc-nas):
397ed1cby Jan Kadlec — Merge pull request #22516 from macekond/ome/dreamy-maxwell-20ee2dFiles changed
packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/llm_provider.pypackages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/tests/catalog/test_catalog_organization.pyAgent decisions
Decisions (4)
client_class() stand-in for CatalogAnthropicApiKeyAuth — Return OpenAiProviderAuth as the stand-in generated client class
client_class() stand-in for CatalogAnthropicProviderConfig — Return OpenAIProviderConfig as the stand-in generated client class
Integration test placement — Added test_create_anthropic_llm_provider to existing test_catalog_organization.py
Pre-existing ty check failures — Treat as pre-existing; no new errors introduced by this change
Assumptions to verify (3)
Risks (2)
Layers touched (3)
packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/llm_provider.pypackages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/tests/catalog/test_catalog_organization.pyOpenAPI diff
Workflow run
Generated by SDK OpenAPI Sync workflow