You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/llm/ollama: OllamaProvider implements llm.Provider via
github.com/ollama/ollama/api, with JSON-schema structured output (chat Format)
matching the other adapters. Local/self-hosted, so EXEMPT from the allow_external
BAA gate (no third-party disclosure) — the strongest data-control option; the
pipeline sanitizer gate still applies. No API key; host defaults to
http://localhost:11434. Selectable as primary or router fallback.
Review fixes: surface truncated (done_reason=length) and empty structured-output
responses as terminal errors so the fallback router advances (parity with
openai/anthropic). config.yaml documents that the ollama host MUST stay within
the HIPAA control boundary (a third-party 'Ollama-compatible' endpoint would
reintroduce external disclosure without the gate).
Verified with ADC off (hermetic httptest): go build/vet clean, golangci-lint 0
issues, go test -race green, internal coverage 90.0%, linux static cross-compile OK.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments