Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Feb 24, 2025

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist:

  • My code follows the patterns of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Additional context

Related Issues

Reviewers


Important

Update default model to Claude 3.7 across codebase, including tests and settings.

  • Model Updates:
    • Default model updated to Claude 3.7 Sonnet in api.ts, ClineProvider.ts, and SettingsView.tsx.
    • Updated model IDs in GlamaModelPicker.tsx, OpenRouterModelPicker.tsx, and RequestyModelPicker.tsx to Claude 3.7.
  • Test Updates:
    • Updated test cases in glama.test.ts, openrouter.test.ts, and vertex.test.ts to use Claude 3.7.
    • Adjusted test setup in index.ts to reflect new model defaults.
  • Miscellaneous:
    • Updated model descriptions and pricing details in api.ts for Claude 3.7.
    • Updated issue template in bug_report.yml to reference Claude 3.7.

This description was created by Ellipsis for b24a335. It will automatically update as commits are pushed.

@cte cte requested a review from mrubens as a code owner February 24, 2025 20:49
@changeset-bot
Copy link

changeset-bot bot commented Feb 24, 2025

⚠️ No Changeset found

Latest commit: b24a335

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Feb 24, 2025
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Feb 24, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 24, 2025
@cte cte merged commit 2612c6a into main Feb 24, 2025
9 checks passed
@cte cte deleted the cte/claude-3.7-default branch February 24, 2025 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants