






















@@ -201,6 +201,10 @@ describe("lookupContextTokens", () => {
201201const { shouldEagerWarmContextWindowCache } = await importContextModule();
202202203203expect(shouldEagerWarmContextWindowCache(["node", "openclaw", "chat"])).toBe(true);
204+expect(shouldEagerWarmContextWindowCache(["node", "openclaw", "chat", "--help"])).toBe(false);
205+expect(
206+shouldEagerWarmContextWindowCache(["node", "openclaw", "browser", "status", "--help"]),
207+).toBe(false);
204208expect(
205209shouldEagerWarmContextWindowCache([
206210"node",
@@ -215,6 +219,9 @@ describe("lookupContextTokens", () => {
215219false,
216220);
217221expect(shouldEagerWarmContextWindowCache(["node", "openclaw", "status", "--json"])).toBe(false);
222+expect(shouldEagerWarmContextWindowCache(["node", "openclaw", "sessions", "--json"])).toBe(
223+false,
224+);
218225expect(
219226shouldEagerWarmContextWindowCache(["node", "scripts/test-built-plugin-singleton.mjs"]),
220227).toBe(false);
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。