Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(llm-connections): opus-4.6 in playground should not set top_p to -1 (#11960)

Hassieb Pakzad06fd2c0552dd
diff --git a/packages/shared/src/server/llm/fetchLLMCompletion.ts b/packages/shared/src/server/llm/fetchLLMCompletion.ts
index 60f980a866..f3df5296c8 100644
--- a/packages/shared/src/server/llm/fetchLLMCompletion.ts
+++ b/packages/shared/src/server/llm/fetchLLMCompletion.ts
@@ -238,6 +238,7 @@ export async function fetchLLMCompletion(
modelParams.model?.includes("claude-sonnet-4-5") ||
modelParams.model?.includes("claude-opus-4-1") ||
modelParams.model?.includes("claude-opus-4-5") ||
+ modelParams.model?.includes("claude-opus-4-6") ||
modelParams.model?.includes("claude-haiku-4-5");
const chatOptions: Record<string, any> = {