add claude-3-5-sonnet-latest and claude-3-opus-latest#5743
add claude-3-5-sonnet-latest and claude-3-opus-latest#5743mrcore wants to merge 92 commits intoChatGPTNextWeb:mainfrom mrcore:main
Conversation
add claude-3-5-sonnet-latest ,claude-3-opus-latest
|
@mrcore 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 introduces new constants and updates existing ones in the Changes
Possibly related PRs
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.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
app/constant.ts (1)
323-324: Consider adding KnowledgeCutOffDate entries for the new models.The new models "claude-3-5-sonnet-latest" and "claude-3-opus-latest" should have corresponding entries in the KnowledgeCutOffDate object to maintain consistency with other models in the system.
Consider adding:
export const KnowledgeCutOffDate: Record<string, string> = { // ... existing entries ... + "claude-3-5-sonnet-latest": "2024-02", + "claude-3-opus-latest": "2024-02" };
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
app/constant.ts(1 hunks)
🔇 Additional comments (1)
app/constant.ts (1)
323-324: LGTM! Model additions follow the established pattern.
The new Claude models are correctly added to the anthropicModels array and will be properly integrated with the existing provider configuration.

add claude-3-5-sonnet-latest and claude-3-opus-latest
Summary by CodeRabbit
KnowledgeCutOffDatefor better management of model cutoff dates.DEFAULT_SYSTEM_TEMPLATEfor improved output formatting.