#2314·exo

Deprecate Ollama /ollama/api/api/* typo-alias routes

Author: cdvankammenCreated Sep 18, 2026Updated Sep 18, 2026

Context

src/exo/api/main.py:612,616 registers /ollama/api/api/chat and /ollama/api/api/tags alongside the canonical /ollama/api/chat and /ollama/api/tags. The doubled /api/api path is a typo (blame addf73a14, 2026-02-20) kept as a silent compat alias for clients that copied the wrong path.

Action

Per DEPRECATIONS.md: mark both routes formally deprecated (comment + warning header + this issue link), keep them alive for at least one minor-version window, then remove.

Deprecation policy reference

DEPRECATIONS.md (repo root) — registry entry. From GAP-DEP-3 (Exo-research cross-deprecation analysis, t_99c1804c).