feat(gooddata-sdk): [AUTO] Add Anthropic provider config to LLM provider config#1613
Closed
yenkins-admin wants to merge 3 commits into
Closed
feat(gooddata-sdk): [AUTO] Add Anthropic provider config to LLM provider config#1613yenkins-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 provider config support to the LLM provider SDK wrapper. Created four generated-client model stubs (AnthropicApiKeyAuthAllOf, AnthropicApiKeyAuth, AnthropicProviderAuth, AnthropicProviderConfig) mirroring the new OpenAPI schemas. Added CatalogAnthropicApiKeyAuth, CatalogAnthropicAuth, and CatalogAnthropicProviderConfig SDK wrapper classes to llm_provider.py, added _anthropic_auth_from_api() helper, updated _provider_config_from_api() to handle ANTHROPIC type, exported the new classes from gooddata_sdk/init.py, and added an integration test with VCR cassette reference.
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
gooddata-api-client/gooddata_api_client/model/anthropic_api_key_auth_all_of.pygooddata-api-client/gooddata_api_client/model/anthropic_api_key_auth.pygooddata-api-client/gooddata_api_client/model/anthropic_provider_auth.pygooddata-api-client/gooddata_api_client/model/anthropic_provider_config.pypackages/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 (3)
adding generated API client stubs — Added four new generated model files to gooddata-api-client/ following the exact patterns of existing models (AzureFoundry equivalent)
Anthropic auth deserialization security pattern — Return empty string for api_key in _anthropic_auth_from_api() following the same pattern as OpenAI and Azure Foundry auth helpers
CatalogAnthropicApiKeyAuth.client_class returns AnthropicProviderAuth — client_class() returns AnthropicProviderAuth (the oneOf auth wrapper), matching the pattern of CatalogAzureFoundryApiKeyAuth which returns AzureFoundryProviderAuth
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