fix: gate max thinking by model support

This commit is contained in:
Peter Steinberger
2026-04-21 06:47:06 +01:00
parent f89740a62c
commit 6ce17db11a
49 changed files with 510 additions and 73 deletions

View File

@@ -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;
}