Default to Claude 3.7 where appropriate #1154
Merged
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.
Description
Note: I'm not sure what to do about
maxTokens; we're always overwriting the value and setting it to 8192 for OpenRouter, Glama, etc, and for the direct Anthropic API the calls fails if the value exceeds 64K (but the documented limit is 128K). Going to leave it at 8K until I understand it better.Type of change
How Has This Been Tested?
Checklist:
Additional context
Related Issues
Reviewers
Important
Update default model to Claude 3.7 across codebase, including tests and settings.
Claude 3.7 Sonnetinapi.ts,ClineProvider.ts, andSettingsView.tsx.GlamaModelPicker.tsx,OpenRouterModelPicker.tsx, andRequestyModelPicker.tsxtoClaude 3.7.glama.test.ts,openrouter.test.ts, andvertex.test.tsto useClaude 3.7.index.tsto reflect new model defaults.api.tsforClaude 3.7.bug_report.ymlto referenceClaude 3.7.This description was created by
for b24a335. It will automatically update as commits are pushed.