feat(llm): optional bearer auth for the local/OpenAI-compatible provider

↗ view on GitHub · Thijs de Zoete · 2026-07-21 · 168b6977

Bare Ollama needs no auth, but OpenAI-compatible servers behind a gateway
(vLLM --api-key, Open WebUI, LiteLLM) require a bearer token. OLLAMA_API_KEY,
when set, is sent on both model discovery and chat completions; absent, the
provider behaves exactly as before.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Repository open-legal-products/mike
Author Thijs de Zoete <thijsdezoete@gmail.com>
Authored
Committed
Parents d26fe041
Stats 2 files changed , +10 , -2
Part of Land a self-hosted Mike stack

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-168b6977.md from inside the repo you want the change in.

⬇ Download capture-commit-168b6977.md