Skip to content

Commit 184cadf

Browse files
fix for claude opus 4.8
1 parent f81d9a8 commit 184cadf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/web/src/features/chat/llm.server.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ export const getAISDKLanguageModelAndOptions = async (config: LanguageModel): Pr
8282
});
8383

8484
const isAdaptiveThinkingSupported =
85-
modelId.startsWith('claude-opus-4-7');
85+
modelId.startsWith('claude-opus-4-7') ||
86+
modelId.startsWith('claude-opus-4-8');
8687

8788
return {
8889
model: anthropic(modelId),

0 commit comments

Comments
 (0)