mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:00:45 +00:00
fix: gate max thinking by model support
This commit is contained in:
@@ -216,7 +216,8 @@ type ActiveMemoryThinkingLevel =
|
||||
| "medium"
|
||||
| "high"
|
||||
| "xhigh"
|
||||
| "adaptive";
|
||||
| "adaptive"
|
||||
| "max";
|
||||
type ActiveMemoryPromptStyle =
|
||||
| "balanced"
|
||||
| "strict"
|
||||
@@ -698,7 +699,8 @@ function resolveThinkingLevel(thinking: unknown): ActiveMemoryThinkingLevel {
|
||||
thinking === "medium" ||
|
||||
thinking === "high" ||
|
||||
thinking === "xhigh" ||
|
||||
thinking === "adaptive"
|
||||
thinking === "adaptive" ||
|
||||
thinking === "max"
|
||||
) {
|
||||
return thinking;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user