mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-15 09:20:44 +00:00
fix(cli): lazy load model commands
This commit is contained in:
@@ -170,6 +170,10 @@ vi.mock("../commands/models/list.js", () => ({
|
||||
modelsStatusCommand:
|
||||
mocks.modelsStatusCommand as typeof import("../commands/models/list.js").modelsStatusCommand,
|
||||
}));
|
||||
vi.mock("../commands/models/list.status-command.js", () => ({
|
||||
modelsStatusCommand:
|
||||
mocks.modelsStatusCommand as typeof import("../commands/models/list.status-command.js").modelsStatusCommand,
|
||||
}));
|
||||
|
||||
vi.mock("../gateway/call.js", () => ({
|
||||
callGateway: mocks.callGateway as typeof import("../gateway/call.js").callGateway,
|
||||
|
||||
Reference in New Issue
Block a user