Skip to content

Conversation

@kurihiroi
Copy link
Contributor

Summary

Adds support for Claude 4 models to the Vertex AI Model Garden plugin:

  • Claude Sonnet 4 (claude-sonnet-4@20250514)
  • Claude Opus 4 (claude-opus-4@20250514)
  • Claude Opus 4.1 (claude-opus-4-1@20250805)

Changes

  • Added model definitions for all three Claude 4 variants in anthropic.ts
  • Updated SUPPORTED_ANTHROPIC_MODELS to include the new models
  • Updated exports in modelgarden/index.ts to expose Claude 4 models
  • Follows existing patterns used for Claude 3 models

Testing

  • Verified model definitions follow existing conventions
  • TypeScript compilation successful with proper type definitions
  • All exports properly included for external usage

Related Issues

Closes #3059

Checklist (if applicable):

- Add Claude Sonnet 4 model definition
- Add Claude Opus 4 model definition
- Add Claude Opus 4.1 model definition
- Update SUPPORTED_ANTHROPIC_MODELS with new models
- Add claudeSonnet4, claudeOpus4, claudeOpus41 to export list
- Ensures proper TypeScript type definitions generation
@pavelgj
Copy link
Collaborator

pavelgj commented Aug 20, 2025

please run pnpm format to fix the formatting check

@kurihiroi
Copy link
Contributor Author

@pavelgj Thanks for the review! I've fixed the formatting issue by running pnpm format.

@pavelgj pavelgj enabled auto-merge (squash) August 21, 2025 14:29
@pavelgj pavelgj merged commit c8152a6 into firebase:main Aug 21, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants