mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 15:20:21 +00:00
fix: increase maxTokens for tool probe to support reasoning models
Closes #7521
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user