Skip to content

Conversation

@yamitzky
Copy link
Contributor

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

    • feature (Adds support for new models) and bug fix (Corrects inaccuracies in existing Vertex AI model IDs and addresses missing model information).
  • What is the current behavior? (You can also link to an open issue here)

    • The AxAIAnthropicVertexModel enum, which defines Anthropic models for Vertex AI, did not reflect the latest model lineup. Specifically, newer models such as Claude Opus 4/4.1, Claude Sonnet 4/4.5, and Claude Haiku 4.5 were missing.
    • Existing models (e.g., claude-3-7-sonnet) did not use the date-suffixed version identifiers required by Vertex AI (e.g., claude-3-7-sonnet@20250219).
    • src/ax/ai/anthropic/info.ts lacked model information (cost, context window, etc.) corresponding to the AxAIAnthropicVertexModel entries, which prevented the getModelInfo function from retrieving accurate details.
    • The latest and right model list is available at https://docs.cloud.google.com/vertex-ai/generative-ai/docs/partner-models/claude/use-claude?hl=en
  • What is the new behavior (if this is a feature change)?

    • The AxAIAnthropicVertexModel enum in src/ax/ai/anthropic/types.ts has been updated to include and use the latest specified Vertex AI Anthropic model IDs (including date-suffixed versions). This allows the library to support a broader range of available models directly.
    • Corresponding model information has been added to src/ax/ai/anthropic/info.ts for each AxAIAnthropicVertexModel entry. This enables accurate cost calculation, context window management, and precise feature support determination for these models.
  • Other information:

@yamitzky yamitzky changed the title feat(anthropic): update and align Vertex AI model maxTokens values feat(anthropic): update and align Vertex AI model Nov 20, 2025
@yamitzky yamitzky changed the title feat(anthropic): update and align Vertex AI model feat(anthropic): update and align Claude model name of Vertex AI Nov 20, 2025
@yamitzky yamitzky changed the title feat(anthropic): update and align Claude model name of Vertex AI feat(anthropic): update and align Claude model names of Vertex AI Nov 20, 2025
@dosco dosco merged commit f042d7b into ax-llm:main Nov 22, 2025
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