v0.5.4 - Fix lockstep versioning and update all packages
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user