mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 18:05:11 +00:00
v0.5.4 - Fix lockstep versioning and update all packages
This commit is contained in:
parent
3a9c3a2ed6
commit
f579a3f112
7 changed files with 23 additions and 17 deletions
|
|
@ -34,7 +34,7 @@
|
|||
"node": ">=20.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mariozechner/pi-agent": "^0.5.2",
|
||||
"@mariozechner/pi-agent": "^0.5.3",
|
||||
"chalk": "^5.5.0"
|
||||
},
|
||||
"devDependencies": {}
|
||||
|
|
|
|||
|
|
@ -545,8 +545,11 @@ export const viewLogs = async (name: string, options: { pod?: string }) => {
|
|||
* Show known models and their hardware requirements
|
||||
*/
|
||||
export const showKnownModels = async () => {
|
||||
const modelsJson = await import("../models.json", { assert: { type: "json" } });
|
||||
const models = modelsJson.default.models;
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
const modelsJsonPath = join(__dirname, "..", "models.json");
|
||||
const modelsJson = JSON.parse(readFileSync(modelsJsonPath, "utf-8"));
|
||||
const models = modelsJson.models;
|
||||
|
||||
// Get active pod info if available
|
||||
const activePod = getActivePod();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue