Merge branch 'openclaw:main' into qianfan
commit
9ccbd57016
|
|
@ -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({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue