# Doctate runtime settings — admin-editable via WebUI.
# Bootstrap values (port, data paths, log paths, auth) live in .env.
# Copy to settings.toml and adjust per deployment.

[retention]
audio_days = 30
transcript_days = 30
document_days = 0

[whisper]
# Active when ASR_BACKEND=whisper (default).
url = "http://localhost:9000"
timeout_seconds = 120

[canary]
# Active when ASR_BACKEND=canary. Both blocks are always loaded; the
# server reads only the one matching the env-selected backend.
url = "http://minerva.lan:9002"
timeout_seconds = 180

[ollama]
url = "http://localhost:11434"
model = "gemma3:4b"
keep_alive = 0

# [llm] is no longer read.
# LLM backends are defined in code (server/src/analyze/backend.rs); the API
# key comes from the IONOS_API_KEY env var (or the equivalent for other
# providers). An old [llm] block may stay in this file — it is parsed and
# discarded for backwards compatibility, but values inside have no effect.
