test(gateway): accept compact codex status · openclaw/openclaw@2dc8748
vincentkoc
·
2026-05-06
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -101,6 +101,14 @@ describe("gateway codex harness live helpers", () => {
|
101 | 101 | expect(isExpectedCodexStatusCommandText(text)).toBe(true); |
102 | 102 | }); |
103 | 103 | |
| 104 | +it("accepts the compact status-card pointer emitted by current codex", () => { |
| 105 | +const text = "OpenClaw status shown above."; |
| 106 | + |
| 107 | +expect( |
| 108 | +EXPECTED_CODEX_STATUS_COMMAND_TEXT.some((expectedText) => text.includes(expectedText)), |
| 109 | +).toBe(true); |
| 110 | +}); |
| 111 | + |
104 | 112 | it("rejects status prose for a different codex session", () => { |
105 | 113 | const text = |
106 | 114 | "OpenClaw is running on `openai/gpt-5.5` with low reasoning/text settings. Context is at `22k/272k` tokens, no compactions, and the current session is `agent:dev:other`."; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。