feat: Audio-Streaming als Default (Admin abschaltbar via AUDIO_STREAM_DEFAULT)
- Config audio_stream_default=True; _run_turn nutzt es, wenn die Anfrage audio_stream nicht explizit setzt (explizite Anfrage gewinnt) - voice_loop: immer durchgehender Player (spielt 1 oder N Haeppchen luekenlos); --stream-audio / --no-stream-audio als Tri-State (sonst entscheidet der Server-Default) - conftest: audio_stream_default=False fuer deterministische Tests; neuer Test fuer Default-an-Streaming ueber /ws/voice; 67 Tests gruen - Doku + .env.example aktualisiert (AUDIO_STREAM_DEFAULT, --no-stream-audio) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
5296459b07
commit
7c1f00662c
7 changed files with 52 additions and 28 deletions
|
|
@ -17,6 +17,8 @@ def reset_state(tmp_path, monkeypatch):
|
|||
metrics.reset()
|
||||
monkeypatch.setattr(settings, "auth_enabled", False)
|
||||
monkeypatch.setattr(settings, "admin_api_key", "")
|
||||
# deterministische Event-Reihenfolge in Tests; Stream-Tests setzen es explizit
|
||||
monkeypatch.setattr(settings, "audio_stream_default", False)
|
||||
yield
|
||||
deps._store = None
|
||||
deps._audio_router = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue