xiaozhi-esp32-server/main/xiaozhi-server/requirements.txt
hrz 9325f0150b edge-tts 升 7.3.1 并打补丁拦坏 metadata 帧
edge_tts 7.3.1 在 ws 返回坏 metadata 帧时,父类解析抛错导致
后续音频收不到。父类流方法内部用编译期锁死的父类方法名,子
类覆写根本走不到。这次直接给父类方法打补丁,坏帧悄悄丢掉,
让音频继续流;连续太多坏帧才主动报错让上层重试。补一个集
成测试,覆盖生产流路径。
2026-10-14 22:01:56 +08:00

42 lines
No EOL
940 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- coding:utf-8 -*-
#--------- 本项目推荐环境是python3.10,以下暂时不推荐升级的依赖
torch==2.2.2
torchaudio==2.2.2
numpy==1.26.4
#--------- cozepy0.20.0要求websockets<15.0.0,以下暂时不推荐升级的依赖
websockets==14.2
#--------- 以下是可升级的依赖
pyyml==0.0.2
silero_vad==6.2.1
opuslib_next==1.3.1
pydub==0.25.1
funasr==1.2.7
openai==2.8.1
google-generativeai==0.8.5
edge_tts==7.3.1
httpx==0.28.1
aiohttp==3.13.2
aiohttp_cors==0.8.1
ormsgpack==1.12.0
ruamel.yaml==0.18.16
loguru==0.7.3
requests==2.32.5
cozepy==0.20.0
mem0ai==1.0.0
powermem>=0.3.1
bs4==0.0.2
modelscope==1.39.1
sherpa_onnx==1.12.29
mcp==1.22.0
cnlunar==0.2.4
PySocks==1.7.1
dashscope==1.25.2
baidu-aip==4.16.13
aioconsole==0.8.2
markitdown==0.1.3
mcp-proxy==0.12.0
PyJWT==2.10.1
psutil==7.1.3
portalocker==3.2.0 # 暂留 3.x:4.x 与 qdrant-client<1.20 的 portalocker<4.0 约束冲突 (PR #3360)
Jinja2==3.1.6
vosk==0.3.45