test: isolate model selection normalization · openclaw/openclaw@9d37d06
shakkernerd
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -17,6 +17,10 @@ vi.mock("../../agents/model-catalog.runtime.js", () => ({
|
17 | 17 | ]), |
18 | 18 | })); |
19 | 19 | |
| 20 | +vi.mock("../../agents/provider-model-normalization.runtime.js", () => ({ |
| 21 | +normalizeProviderModelIdWithRuntime: () => undefined, |
| 22 | +})); |
| 23 | + |
20 | 24 | vi.mock("../../channels/plugins/session-conversation.js", () => ({ |
21 | 25 | resolveSessionParentSessionKey: (sessionKey?: string) => |
22 | 26 | sessionKey?.replace(/:thread:[^:]+$/, "").replace(/:topic:[^:]+$/, "") ?? null, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。