test: accept current codex status wording · openclaw/openclaw@dfc14d1
steipete
·
2026-04-28
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -27,6 +27,16 @@ describe("gateway codex harness live helpers", () => {
|
27 | 27 | expect(isExpectedCodexStatusCommandText(text)).toBe(true); |
28 | 28 | }); |
29 | 29 | |
| 30 | +it("accepts current status prose that reports healthy session context without the session id", () => { |
| 31 | +const text = [ |
| 32 | +"Status: running on `openai/gpt-5.5` with low reasoning/text settings.", |
| 33 | +"", |
| 34 | +"Session context is healthy: `22k/272k` tokens used, `0` compactions, `53%` cache hit. Current workspace is `/tmp/openclaw-live-codex-harness/workspace/dev`.", |
| 35 | +].join("\n"); |
| 36 | + |
| 37 | +expect(isExpectedCodexStatusCommandText(text)).toBe(true); |
| 38 | +}); |
| 39 | + |
30 | 40 | it("accepts current app-server status prose without the OpenClaw prefix", () => { |
31 | 41 | const text = [ |
32 | 42 | "Status: running on `openai/gpt-5.5` in `/tmp/openclaw-live-codex-harness/workspace/dev`.", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。