fix(api): /api/chat 500 (NameError emergency) beheben + Version 0.3.7
Toter Verweis auf die in 3389f75 entfernte Auto-Notfallerkennung entfernt
(if emergency/X-Emergency-Header). /ws/chat war nicht betroffen.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
f1eec47b9b
commit
55d07187bb
3 changed files with 8 additions and 3 deletions
|
|
@ -3,6 +3,13 @@
|
|||
Alle nennenswerten Änderungen an **Alexis**. Format lose nach [Keep a Changelog](https://keepachangelog.com/de/);
|
||||
Versionierung nach [SemVer](https://semver.org/lang/de/) (prä-1.0: `0.x`).
|
||||
|
||||
## [0.3.7] — 2026-07-01
|
||||
|
||||
### Behoben
|
||||
- **`/api/chat` (REST) warf HTTP 500** (`NameError: emergency`) — toter Verweis auf
|
||||
die in `3389f75` entfernte automatische Notfallerkennung. Block entfernt; der
|
||||
Web-UI-Weg (`/ws/chat`) war nicht betroffen.
|
||||
|
||||
## [0.3.6] — 2026-07-01
|
||||
|
||||
### Hinzugefügt
|
||||
|
|
|
|||
|
|
@ -147,8 +147,6 @@ async def chat(
|
|||
"X-Audio-Sample-Width": "16",
|
||||
**_route_headers(route),
|
||||
}
|
||||
if emergency:
|
||||
headers["X-Emergency"] = emergency["category"]
|
||||
return StreamingResponse(BytesIO(audio), media_type="audio/pcm", headers=headers)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "voice-assistant-gateway"
|
||||
version = "0.3.6"
|
||||
version = "0.3.7"
|
||||
description = "Modular voice assistant gateway with pluggable audio endpoints and provider adapters"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue