mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
- requests.request() had no timeout: when the SiliconFlow API slows down, the request hangs forever and the device produces no audio intermittently - non-200 responses (rate limit, error page) were written to disk as audio; now the status code is checked and an exception is raised with the body |
||
|---|---|---|
| .. | ||
| api | ||
| handle | ||
| providers | ||
| utils | ||
| auth.py | ||
| connection.py | ||
| http_server.py | ||
| websocket_server.py | ||