fix(quick-pane): refresh runtime model catalog
This commit is contained in:
@@ -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 ?? [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user