fix(supervisor): narrow stored session limit parsing · openclaw/openclaw@49cc613
vincentkoc
·
2026-05-30
·
via Recent Commits to openclaw:main
File tree
extensions/codex-supervisor/src
| Original file line number | Diff line number | Diff line change |
|---|
@@ -119,6 +119,13 @@ describe("createCodexSupervisorTools", () => {
|
119 | 119 | |
120 | 120 | await expect( |
121 | 121 | toolByName(tools, "codex_sessions_list").execute("call-1", { |
| 122 | +include_stored: true, |
| 123 | +max_stored_sessions: "2", |
| 124 | +}), |
| 125 | +).rejects.toThrow("max_stored_sessions must be an integer"); |
| 126 | + |
| 127 | +await expect( |
| 128 | +toolByName(tools, "codex_sessions_list").execute("call-2", { |
122 | 129 | include_stored: true, |
123 | 130 | max_stored_sessions: 1001, |
124 | 131 | }), |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。