WIP: Rename model-config.ts to models-json.ts

- loadCustomModels now takes file path instead of agentDir
This commit is contained in:
Mario Zechner 2025-12-25 01:15:17 +01:00
parent 0ae23f19fe
commit 1c31d91c83
10 changed files with 18 additions and 19 deletions

View file

@ -3,7 +3,7 @@ import type { AssistantMessage } from "@mariozechner/pi-ai";
import { type Component, visibleWidth } from "@mariozechner/pi-tui";
import { existsSync, type FSWatcher, readFileSync, watch } from "fs";
import { dirname, join } from "path";
import { isModelUsingOAuth } from "../../../core/model-config.js";
import { isModelUsingOAuth } from "../../../core/models-json.js";
import { theme } from "../theme/theme.js";
/**