mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 11:31:41 +00:00
Merge branch 'openclaw:main' into qianfan
This commit is contained in:
@@ -232,7 +232,10 @@ export async function runCronIsolatedAgentTurn(params: {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (thinkLevel === "xhigh" && !supportsXHighThinking(provider, model)) {
|
if (thinkLevel === "xhigh" && !supportsXHighThinking(provider, model)) {
|
||||||
throw new Error(`Thinking level "xhigh" is only supported for ${formatXHighModelHint()}.`);
|
logWarn(
|
||||||
|
`[cron:${params.job.id}] Thinking level "xhigh" is not supported for ${provider}/${model}; downgrading to "high".`,
|
||||||
|
);
|
||||||
|
thinkLevel = "high";
|
||||||
}
|
}
|
||||||
|
|
||||||
const timeoutMs = resolveAgentTimeoutMs({
|
const timeoutMs = resolveAgentTimeoutMs({
|
||||||
|
|||||||
Reference in New Issue
Block a user