fix: increase maxTokens for tool probe to support reasoning models

Closes #7521
This commit is contained in:
Jakob
2026-03-06 22:27:28 -05:00
committed by GitHub
parent a01978ba96
commit fa69f836c4
2 changed files with 2 additions and 1 deletions

View File

@@ -262,7 +262,7 @@ async function probeTool(
const message = await withTimeout(timeoutMs, (signal) =>
complete(model, context, {
apiKey,
maxTokens: 32,
maxTokens: 256,
temperature: 0,
toolChoice: "required",
signal,