mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	feat(react/settings): port LLM settings
This commit is contained in:
		| @@ -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; | ||||
|     }>; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user