feat: add configurable AI model pool
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user