Fix ollama_backends / FallbackOllamaBackend issues
- registry.py: always use FallbackOllamaBackend (unified backend).
  Enables model priority lists in all deployments, not just multi-server.
- agent.py: add missing think=profile.think_enabled to run() (REST endpoint).
- compressor.py: fix model param type (str → list[str] | str | None).
- fallback.py: harden load_servers_from_file against missing/bad JSON files
  and entries without host. Add clear_blacklists() for manual reset.
- admin.py: add POST /admin/ollama/clear-blacklists endpoint.
- tech_debt_review: document dead stream() methods.
- tests: add tests for single-server fallback, bad file handling,
  missing host skipping, and blacklist clearing.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent c466bef commit cebc073d2bd16335edef7e54cbc431db1dc48f2c
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 11 May
Showing 8 changed files
View
docs/tech_debt_review_2026-04-29.md
View
navi/api/routes/admin.py
View
navi/core/agent.py
View
navi/core/compressor.py
View
navi/core/registry.py
View
navi/llm/fallback.py
View
tests/unit/core/test_registry.py
View
tests/unit/llm/test_ollama.py