fix(quick-pane): refresh runtime model catalog

This commit is contained in:
2026-08-26 17:59:31 +02:00
parent 4ec951bc05
commit ad66067a31
11 changed files with 1985 additions and 1265 deletions
-6
View File
@@ -1,4 +1,3 @@
import { invoke } from "@tauri-apps/api/core";
import type { Model } from "./workspace/types";
export type ModelIdentity = { provider: string; modelId: string };
@@ -66,8 +65,3 @@ export function catalogModels(
}
return available;
}
export async function getModelCatalog() {
const catalog = await invoke<{ models?: Model[] }>("get_model_catalog");
return catalog?.models ?? [];
}