mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 06:04:40 +00:00
Fix pods CLI: remove reference to non-existent stopAllModels
This commit is contained in:
parent
c86f2a0136
commit
8ed6f6dd85
1 changed files with 1 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ import { spawn } from "child_process";
|
|||
import { readFileSync } from "fs";
|
||||
import { dirname, join } from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { listModels, startModel, stopModel, viewLogs } from "./commands/models.js";
|
||||
import { listModels, showKnownModels, startModel, stopAllModels, stopModel, viewLogs } from "./commands/models.js";
|
||||
import { listPods, removePodCommand, setupPod, switchActivePod } from "./commands/pods.js";
|
||||
import { promptModel } from "./commands/prompt.js";
|
||||
import { getActivePod, loadConfig } from "./config.js";
|
||||
|
|
@ -241,7 +241,6 @@ try {
|
|||
const modelId = args[1];
|
||||
if (!modelId) {
|
||||
// Show available models
|
||||
const { showKnownModels } = await import("./commands/models.js");
|
||||
await showKnownModels();
|
||||
process.exit(0);
|
||||
}
|
||||
|
|
@ -306,7 +305,6 @@ try {
|
|||
const name = args[1];
|
||||
if (!name) {
|
||||
// Stop all models on the active pod
|
||||
const { stopAllModels } = await import("./commands/models.js");
|
||||
await stopAllModels({ pod: podOverride });
|
||||
} else {
|
||||
await stopModel(name, { pod: podOverride });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue