feat: add configurable AI model pool

This commit is contained in:
Codex
2026-08-01 23:11:44 +08:00
parent 020b9596dc
commit 4430149ee4
13 changed files with 1660 additions and 273 deletions
+20
View File
@@ -50,3 +50,23 @@ export type TestResult = {
message: string;
details: Record<string, unknown>;
};
export type ModelCategory = "language" | "multimodal";
export type ModelCapability = "orchestration" | "spatial_understanding" | "image_generation" | "image_editing";
export type ModelPoolItem = {
id: string;
name: string;
model_id: string;
category: ModelCategory;
provider: string;
base_url: string;
capabilities: ModelCapability[];
models_path: string;
chat_path: string;
image_generation_path: string;
image_edit_path: string;
enabled: boolean;
api_key?: string;
api_key_configured?: boolean;
};