mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 20:01:06 +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
|
|
@ -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