fix(test): stabilize anthropic cache probe output · openclaw/openclaw@5f8200e
steipete
·
2026-05-15
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -136,7 +136,7 @@ describe("live cache regression runner", () => {
|
136 | 136 | ).toBe(false); |
137 | 137 | }); |
138 | 138 | |
139 | | -it("keeps OpenAI cache probes above the reasoning output floor", () => { |
| 139 | +it("keeps cache probes above the provider empty-output floor", () => { |
140 | 140 | expect( |
141 | 141 | __testing.resolveCacheProbeMaxTokens({ |
142 | 142 | maxTokens: 32, |
@@ -154,7 +154,7 @@ describe("live cache regression runner", () => {
|
154 | 154 | maxTokens: 32, |
155 | 155 | providerTag: "anthropic", |
156 | 156 | }), |
157 | | -).toBe(32); |
| 157 | +).toBe(256); |
158 | 158 | }); |
159 | 159 | |
160 | 160 | it("accepts empty OpenAI cache probe text only when usage is observable", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。