feat: split settings into LLMs and API Keys tabs, fix keychain vault and Ollama UX

- Split settings window into 3 tabs: LLMs (Ollama/Groq/OpenRouter),
  API Keys (data feeds), and Debug & Logs
- Add featureFilter option to RuntimeConfigPanel for rendering subsets
- Consolidate keychain to single JSON vault entry (1 macOS prompt vs 20)
- Add Ollama model discovery with /api/tags + /v1/models fallback
- Strip <think> reasoning tokens from Ollama responses
- Suppress thinking with think:false in Ollama request body
- Parallel secret verification with 15s global timeout
- Fix manual model input overlapping dropdown (CSS grid-area + hidden-input class)
- Add loading spinners to settings tab panels
- Suppress notification popups when settings window is open
- Filter embed models from Ollama dropdown
- Fix settings window black screen flash with inline dark background
This commit is contained in:
Elie Habib
2026-02-20 00:02:48 +04:00
parent eedf43e94a
commit 6c3d2770f7
14 changed files with 629 additions and 194 deletions

View File

@@ -872,7 +872,8 @@ export async function createLocalApiServer(options = {}) {
}
const start = Date.now();
const skipRecord = requestUrl.pathname === '/api/local-traffic-log'
const skipRecord = req.method === 'OPTIONS'
|| requestUrl.pathname === '/api/local-traffic-log'
|| requestUrl.pathname === '/api/local-debug-toggle'
|| requestUrl.pathname === '/api/local-env-update'
|| requestUrl.pathname === '/api/local-validate-secret';