-
Notifications
You must be signed in to change notification settings - Fork 61.2k
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
claude 3.7 support #6293
claude 3.7 support #6293
Conversation
@hyiip is attempting to deploy a commit to the NextChat Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThe pull request updates the constant configuration by adding two new entries to the Anthropic models array. Specifically, the models Changes
Poem
β¨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? πͺ§ TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 1
π Outside diff range comments (1)
app/constant.ts (1)
410-433
: π οΈ Refactor suggestionAdd knowledge cutoff dates for the new Claude models.
The knowledge cutoff dates for the new Claude 3.7 models are missing in the
KnowledgeCutOffDate
record. This information is important for the system template and model behavior.Add the following entries:
export const KnowledgeCutOffDate: Record<string, string> = { default: "2021-09", + "claude-3-7-sonnet-20250219": "2024-12", + "claude-3-7-sonnet-latest": "2024-12", "gpt-4-turbo": "2023-12",
"claude-3-7-sonnet-20250219", | ||
"claude-3-7-sonnet-latest", |
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.
π‘ Verification agent
𧩠Analysis chain
Verify the model version date.
The model additions follow the correct naming convention and are properly placed in the array. However, the version date "20250219" appears to be in the future (February 19, 2025).
π Web query:
What is the latest version of Claude 3.7?
π‘ Result:
The latest version is Claude 3.7 Sonnet, released by Anthropic on February 24, 2025[1][4][6]. This model introduces several groundbreaking features:
Key capabilities
- Hybrid reasoning: Combines rapid responses with extended "chain of thought" reasoning in a single model[1][4]. Users can toggle an "extended thinking mode" for complex tasks[2][4].
- Visible thought process: Displays raw reasoning steps during problem-solving (with safety filters for sensitive content)[2][6].
- Enhanced computer interaction:
- Sustained agentic capabilities for tasks like software testing and process automation[2][3]
- Improved performance on OSWorld benchmarks for AI agents[2]
- Demonstrated ability to play complex games like PokΓ©mon Red through thousands of interactions[2]
Developer features
- Available via API on Vertex AI with enterprise-grade reliability[1]
- New coding tool Claude Code (limited preview) for terminal-based development tasks[1][4]
- Cost optimization through batch predictions (50% savings) and prompt caching[1]
This release maintains Anthropic's ASL-2 safety classification while introducing new safeguards for visible reasoning traces and computer use capabilities[2][6].
Citations:
- 1: https://cloud.google.com/blog/products/ai-machine-learning/anthropics-claude-3-7-sonnet-is-available-on-vertex-ai/
- 2: https://www.anthropic.com/news/visible-extended-thinking
- 3: https://www.anthropic.com/claude/sonnet
- 4: https://www.fastcompany.com/91283751/anthropic-new-claude-3-7-sonnet-ai-chain-of-thought
- 5: https://techcrunch.com/2025/02/24/anthropic-launches-a-new-ai-model-that-thinks-as-long-as-you-want/
- 6: https://www.inc.com/ben-sherry/anthropic-launches-claude-3-7-sonnet-its-most-advanced-model-ever/91151510
Action Required: Update model version and add missing cutoff dates.
- The new Claude 3.7 Sonnet models are correctly named and placed.
- However, the version tag
"claude-3-7-sonnet-20250219"
does not match the official release date. According to the latest release information, the official date is February 24, 2025. Please update the version string accordingly (e.g.,"claude-3-7-sonnet-20250224"
). - Additionally, ensure that the
KnowledgeCutOffDate
record (lines 410-433) includes entries for these newly added models.
π» εζ΄η±»ε | Change Type
π εζ΄θ―΄ζ | Description of Change
Add support to claude 3.7 sonnet 20250219 version.
π θ‘₯ε δΏ‘ζ― | Additional Information
Summary by CodeRabbit