mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 03:31:35 +00:00
fix: gate xhigh by model (#444) (thanks @grp06)
This commit is contained in:
@@ -1227,8 +1227,8 @@ export async function handleDirectiveOnly(params: {
|
||||
|
||||
const nextThinkLevel = directives.hasThinkDirective
|
||||
? directives.thinkLevel
|
||||
: (sessionEntry?.thinkingLevel as ThinkLevel | undefined) ??
|
||||
currentThinkLevel;
|
||||
: ((sessionEntry?.thinkingLevel as ThinkLevel | undefined) ??
|
||||
currentThinkLevel);
|
||||
const shouldDowngradeXHigh =
|
||||
!directives.hasThinkDirective &&
|
||||
nextThinkLevel === "xhigh" &&
|
||||
|
||||
Reference in New Issue
Block a user