We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53b7f84 commit 340af3cCopy full SHA for 340af3c
apps/web/client/src/app/api/chat/route.ts
@@ -8,7 +8,7 @@ export enum ChatType {
8
EDIT = 'edit',
9
}
10
11
-const model = await initModel(LLMProvider.ANTHROPIC, CLAUDE_MODELS.SONNET);
+const model = await initModel(LLMProvider.ANTHROPIC, CLAUDE_MODELS.SONNET_4);
12
13
export async function POST(req: Request) {
14
const { messages, maxSteps, chatType } = await req.json();
packages/models/src/llm/index.ts
@@ -3,6 +3,7 @@ export enum LLMProvider {
3
4
5
export enum CLAUDE_MODELS {
6
- SONNET = 'claude-3-7-sonnet-20250219',
+ SONNET_4 = 'claude-sonnet-4-20250514',
7
+ SONNET_3_7 = 'claude-3-7-sonnet-20250219',
HAIKU = 'claude-3-5-haiku-20241022',
0 commit comments