mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
* fix(tts): edge-tts 失声改走 msedgeservices 微软 2026-10 起对 legacy 消费者接口返回 403, edge-tts 7.2.8 仍走 speech.platform.bing.com 走不通。 上游 PR rany2/edge-tts#491 切到 api.msedgeservices.com 修好, 但 7.2.8 仍是 PyPI 最新版本。 仓库在 edge.py 顶部临时把 WSS_URL 顶住,等 7.2.9 出了删掉。 * fix(tts): patch 还要写 communicate.WSS_URL edge-tts 7.2.8 仍指 legacy bing 接口,10 月起微软 403。 上游 PR #491 已切到 msedgeservices.com,7.2.9 才进 PyPI,先顶住。 上次只改 constants.WSS_URL 不够,communicate 用 from import 是模块局部名, LEGB 找不到新值。这次同时改 communicate.WSS_URL 才生效。 |
||
|---|---|---|
| .. | ||
| api | ||
| handle | ||
| providers | ||
| utils | ||
| auth.py | ||
| connection.py | ||
| http_server.py | ||
| websocket_server.py | ||