Updates Claude 3.7 model token limits #2759
Closed
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.
Context
Updates Claude 3.7 model token limits
Increases maxTokens from 8192 to 64000 for Claude 3.7 Sonnet model configurations across various API integrations including Anthropic, Bedrock, Glama, Requesty, and OpenRouter.
Also adjusts Vertex AI thinking model maxTokens to 128000 for improved performance.
Implementation
Configuration values have been increased to 64K for Claude 3.7
I noticed that they were 64K before, but were downgraded to 8K, any reason for that?
Get in Touch
Roo Code Discord : vagadiya
Important
Increase
maxTokensfor Claude 3.7 model to 64000 across various integrations and adjust Vertex AI thinking model to 128000.maxTokensfrom 8192 to 64000 forClaude 3.7 SonnetinanthropicModels,bedrockModels,glamaDefaultModelInfo,requestyDefaultModelInfo, andopenRouterDefaultModelInfoinapi.ts.maxTokensto 128000 forVertex AIthinking model invertexModelsinapi.ts.maxTokensto 64000 inanthropic.test.ts,glama.test.ts,requesty.test.ts, andvertex.test.ts.Claude 3.7models.This description was created by
for c3e22d5. It will automatically update as commits are pushed.