config: add per-tier auth_mode

This commit is contained in:
William Valentin
2026-02-15 10:23:03 -08:00
parent f2cdd1abd2
commit 9755487793
4 changed files with 37 additions and 0 deletions
+2
View File
@@ -165,6 +165,8 @@ models:
local: { provider: ollama, model: qwen2.5:14b }
```
Each tier can optionally specify `auth_mode` (`auto` | `api_key` | `oauth`) to control whether Flynn uses API keys vs OAuth/token auth for that provider. `use_oauth: true` remains supported as a compatibility alias for `auth_mode: oauth`.
### Native Audio Support
Voice messages from channels can be handled in two ways: