- 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>
112 KiB
112 KiB