Configuration overview¶
Outcome: Know where settings live and how they merge.
Layers (later wins)¶
- Built-in
defaults.yaml ~/.daari/config.yaml- Profile overlay (
DAARI_PROFILE) - Project
.daari.yaml(viaX-Daari-Project) - Request headers
- Environment:
DAARI_<SECTION>__<KEY>
Edit safely¶
- YAML:
~/.daari/config.yaml - Config editor API (when
observability.config_editor: true):GET/PATCH /v1/daari/configwithpersist: true - Web UI config card (
daari web-ui serve) — send Bearer if API key set
Major sections¶
| Section | Purpose |
|---|---|
server |
host/port, api_key, virtual_keys |
models / ollama / mlx |
Local backends |
asr |
Local speech-to-text; frontier_fallback defaults off (guide) |
tts |
Local text-to-speech (POST /v1/audio/speech); empty base_url → 501 (guide) |
routing.local_pool |
Multi-host pool; kind: openai for vLLM / llama.cpp / LM Studio (guide) |
cache |
L0/L1, disk|redis |
routing |
prefer, confidence, caps |
frontier |
L6 providers, budgets, PII |
guardrails / boundaries |
Safety + product scope |
observability |
prometheus, postgres, config_editor |
enterprise |
org cache, SSO, policy sync |
Full table: Config reference (generated).
Next¶
→ Project profiles · Auth and keys · vLLM / llama.cpp local tier