mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 17:50:42 +00:00
test: isolate model selection normalization
This commit is contained in:
@@ -17,6 +17,10 @@ vi.mock("../../agents/model-catalog.runtime.js", () => ({
|
||||
]),
|
||||
}));
|
||||
|
||||
vi.mock("../../agents/provider-model-normalization.runtime.js", () => ({
|
||||
normalizeProviderModelIdWithRuntime: () => undefined,
|
||||
}));
|
||||
|
||||
vi.mock("../../channels/plugins/session-conversation.js", () => ({
|
||||
resolveSessionParentSessionKey: (sessionKey?: string) =>
|
||||
sessionKey?.replace(/:thread:[^:]+$/, "").replace(/:topic:[^:]+$/, "") ?? null,
|
||||
|
||||
Reference in New Issue
Block a user