feat(anthropic): add SUPPORTED_MODELS to AnthropicVertexChatGenerator#2932
Merged
anakin87 merged 4 commits intodeepset-ai:mainfrom Mar 11, 2026
Merged
Conversation
anakin87
reviewed
Mar 9, 2026
...opic/src/haystack_integrations/components/generators/anthropic/chat/vertex_chat_generator.py
Show resolved
Hide resolved
anakin87
requested changes
Mar 10, 2026
...opic/src/haystack_integrations/components/generators/anthropic/chat/vertex_chat_generator.py
Outdated
Show resolved
Hide resolved
...opic/src/haystack_integrations/components/generators/anthropic/chat/vertex_chat_generator.py
Show resolved
Hide resolved
…nk, drop retired models Made-with: Cursor
…ring Made-with: Cursor
Contributor
Author
|
Thank you @anakin87 ! |
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.
Related Issues
Proposed Changes:
SUPPORTED_MODELSas a class variable onAnthropicVertexChatGeneratorwith a list of supported Claude model IDs on Vertex AI (e.g.claude-sonnet-4@20250514,claude-sonnet-4-5,claude-opus-4-6,claude-3-5-haiku, etc.).test_supported_modelsthat assertsSUPPORTED_MODELSis a non-empty list of strings, following the pattern from feat: OpenAIChatGenerator provides a list of supported models haystack#10736.How did you test it?
TestAnthropicVertexChatGenerator::test_supported_models.SUPPORTED_MODELSload correctly via a Python one-liner import.Notes for the reviewer
Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:.