feat(react/settings): port LLM settings

This commit is contained in:
Elian Doran
2025-08-19 13:46:13 +03:00
parent 018a6cb84a
commit 04973094f2
11 changed files with 284 additions and 787 deletions

View File

@@ -132,3 +132,26 @@ export interface OAuthStatus {
email?: string;
missingVars?: string[];
}
// Interface for the Ollama model response
export interface OllamaModelResponse {
success: boolean;
models: Array<{
name: string;
model: string;
details?: {
family?: string;
parameter_size?: string;
}
}>;
}
export interface OpenAiOrAnthropicModelResponse {
success: boolean;
chatModels: Array<{
id: string;
name: string;
type: string;
}>;
}