Back to Components
Desktop (Electron)
LLMProviderSettings
Function Component
Provider Settings
Lines
1,153
File
LLMProviderSettings.tsx
Last Modified
2026-10-08
Exports
default LLMProviderSettings
Source Path
aartiq-browser/src/LLMProviderSettings.tsx
Tags
ReactAISyncPDFmacOS
Code Analysis
React Hooks
useStateuseEffectuseCallbackuseMemo
API / Library Usage
electronAPIzustand-storefirebaseframer-motionlucide-icons
External Dependencies
reactframer-motionlucide-react
Internal Imports
@/lib/llm/providers/base./SearchEngineSettings./ThemeSettings./BackendSettings@/lib/llm/providers/openai-compatible@/store/useAppStore@/lib/modelRegistry
Props / Types
LLMProviderSettingsProps
| Prop | Type | Required |
|---|---|---|
| selectedEngine | string | Yes |
| setSelectedEngine | (engine: string) => void | Yes |
| theme | 'dark' | 'light' | 'system' | 'vibrant' | 'custom' | 'minimal' | Yes |
| setTheme | (theme: 'dark' | 'light' | 'system' | 'vibrant' | 'custom' | 'minimal') => void | Yes |
| backgroundImage | string | Yes |
| setBackgroundImage | (imageUrl: string) => void | Yes |
| backend | 'firebase' | 'mysql' | Yes |
| setBackend | (backend: 'firebase' | 'mysql') => void | Yes |
| mysqlConfig | any | Yes |
| setMysqlConfig | (config: any) => void | Yes |
ProviderCatalog
| Prop | Type | Required |
|---|---|---|
| success | boolean | Yes |
| providerId | string | Yes |
| providerName | string | No |
| docsUrl | string | No |
| models | Array<{ | Yes |
| id | string | Yes |
| label | string | No |
| ownedBy | string | No |
| created | number | null | No |
| contextWindow | number | null | No |
| description | string | No |
| inputTokenLimit | number | null | No |
| outputTokenLimit | number | null | No |
Key Functions
CollapsibleSection()failedStatus()renderCatalogControls()getAppleIntelligenceErrorMessage()
Related Components
Browse all components in the Component Inventory
Auto-Generated Documentation
Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js