feat(models): enhance model management with improved dialogs and state handling

This commit is contained in:
2025-10-22 15:27:31 +08:00
parent 497ebfba9f
commit 9137ae3063
6 changed files with 197 additions and 155 deletions

View File

@@ -1,3 +1,11 @@
export interface ISetApiKeyRequestBody {
llm_factory: string;
api_key: string;
llm_name?: string;
model_type?: string;
base_url?: string;
}
export interface IAddLlmRequestBody {
llm_factory: string; // Ollama
llm_name: string;