Files
diarization-ui/app.py
wb b26fff0d0f feat(diarization-ui): multi-provider LLM support via OpenAI-compatible API
- Replace Ollama-native API (/api/generate) with OpenAI-compatible
  /v1/chat/completions — works with Ollama, OpenAI, Groq, LM Studio,
  LocalAI, and any other OpenAI-compatible endpoint
- New providers table: name, base_url, optional API key, default flag
- Settings page: add/delete/set-default providers; rename LLM params
  from ollama_* to llm_* settings keys
- Per-prompt: choose provider from dropdown, model load button fetches
  from that provider's /v1/models
- <think>…</think> tags extracted for live thinking display (works with
  Ollama thinking models and DeepSeek-R1 style responses)
- Existing OLLAMA_BASE_URL env var seeds the initial provider on first
  start for backward compat

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 14:42:36 +02:00

112 KiB