fix(cli): lazy load model commands

This commit is contained in:
Vincent Koc
2026-04-26 03:24:10 -07:00
parent c74fb78194
commit c3a81166fc
6 changed files with 34 additions and 9 deletions

View File

@@ -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,