-
Notifications
You must be signed in to change notification settings - Fork 702
added support for claude 4 #816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Added support for Claude 4 (claude-sonnet-4-20250514) model in the agent provider system.
- Added new model mapping in
lib/agent/AgentProvider.ts
to support Claude 4 with Anthropic provider type
1 file reviewed, no comments
Edit PR Review Bot Settings | Greptile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Expanded Claude 4 integration across the codebase with model identifier 'claude-sonnet-4-20250514'.
- Added new model to
types/model.ts
AvailableModelSchema enum for type safety - Mapped Claude 4 model to 'anthropic' provider in
lib/llm/LLMProvider.ts
modelToProviderMap - Needs documentation about Claude 4's capabilities and compatibility in the implementation
3 files reviewed, 1 comment
Edit PR Review Bot Settings | Greptile
@@ -21,6 +21,7 @@ export const AvailableModelSchema = z.enum([ | |||
"claude-3-5-sonnet-20240620", | |||
"claude-3-7-sonnet-latest", | |||
"claude-3-7-sonnet-20250219", | |||
"claude-sonnet-4-20250514", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: The model ID format 'claude-sonnet-4-20250514' deviates from previous Claude models like 'claude-3-7-sonnet-20250219'. Consider aligning the naming convention for consistency
why
what changed
test plan