Skip to content

Commit c371331

Browse files
Leon-SK668steipete
andauthored
fix(active-memory): accept max thinking config (#103614)
Co-authored-by: Peter Steinberger <[email protected]>
1 parent 0b96c10 commit c371331

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

‎extensions/active-memory/config.test.ts‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,20 @@ describe("active-memory manifest config schema", () => {
124124
expect(result.ok).toBe(true);
125125
});
126126

127+
it("accepts max thinking overrides", () => {
128+
const result = validateJsonSchemaValue({
129+
schema: manifest.configSchema,
130+
cacheKey: "active-memory.manifest.thinking.max",
131+
value: {
132+
enabled: true,
133+
agents: ["main"],
134+
thinking: "max",
135+
},
136+
});
137+
138+
expect(result.ok).toBe(true);
139+
});
140+
127141
it("rejects timeoutMs values above the runtime ceiling", () => {
128142
const result = validateJsonSchemaValue({
129143
schema: manifest.configSchema,

‎extensions/active-memory/openclaw.plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"thinking": {
3939
"type": "string",
40-
"enum": ["off", "minimal", "low", "medium", "high", "xhigh", "adaptive"]
40+
"enum": ["off", "minimal", "low", "medium", "high", "xhigh", "adaptive", "max"]
4141
},
4242
"fastMode": {
4343
"anyOf": [

0 commit comments

Comments
 (0)