diff --git a/app/client/platforms/anthropic.ts b/app/client/platforms/anthropic.ts index 2cf1d852b..634dec0ea 100644 --- a/app/client/platforms/anthropic.ts +++ b/app/client/platforms/anthropic.ts @@ -189,10 +189,10 @@ export class ClaudeApi implements LLMApi { model: modelConfig.model, max_tokens: modelConfig.max_tokens, - temperature: modelConfig.temperature, + temperature: modelConfig.model === "claude-3-7-sonnet-20250219" ? 1 : modelConfig.temperature, top_p: modelConfig.top_p, // top_k: modelConfig.top_k, - top_k: 5, + // top_k: 5, thinking: { type: "enabled", budget_tokens: modelConfig.max_tokens - 1, // Default value from example