mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
* chore(deps): batch bump 允许升级的依赖 * test: 添加 5 条核心链路测试 + 默认 mock 模式 参照 PR #3370 的整体结构,新增 STT/LLM/TTS/RAG/Memory 五个 test_*.py 覆盖关键链路。conftest.py 默认 mock 模式: - PYTEST_CONFIG_FILE 指向单模块配置文件(不入库) - RUN_LIVE_API_TESTS=1 走真请求(必须配齐密钥) - 真实存在的第三方包(openai/httpx)保留,仅 patch httpx 网络层 - 装了一半会炸的本地模型(torch/funasr/modelscope)强制 shim - mock load_config / init_service,避免触发远程 manager-api mock 模式目标:dep-upgrade orchestrator / CI 不需要任何密钥即可跑通。 --------- Co-authored-by: Sakura-RanChen <Sakura-RanChen@local> |
||
|---|---|---|
| .. | ||
| config | ||
| core | ||
| models | ||
| music | ||
| performance_tester | ||
| plugins_func | ||
| tests | ||
| agent-base-prompt.txt | ||
| app.py | ||
| config.yaml | ||
| config_from_api.yaml | ||
| docker-compose.yml | ||
| docker-compose_all.yml | ||
| mcp_server_settings.json | ||
| performance_tester.py | ||
| pyproject.toml | ||
| requirements.txt | ||