xiaozhi-esp32-server/main/xiaozhi-server/tests/core/utils
Bao cef2540dc4 feat(config): 单模块部署也能按设备配置:data/devices.yaml
连接拿到 device-id 后读 data/devices.yaml(device_overrides_file),把该设备的 prompt / llm / tts(有 S2S 模块时还有 brain)合并进这条连接的配置。每次连接重读、改表重连即生效;文件不存在、格式错、未登记、停用、名字不存在都只记日志不改配置。新增 core/utils/device_overrides.py、docs/device-overrides.md、测试;connection.py 加一行调用。
2026-10-31 22:20:13 +08:00
..
__init__.py 加 textUtils 行为测试,11 例 2026-09-02 22:24:35 +08:00
test_current_time.py 加 current_time 测试 7 例,冻结时间 2026-09-02 22:24:35 +08:00
test_device_overrides.py feat(config): 单模块部署也能按设备配置:data/devices.yaml 2026-10-31 22:20:13 +08:00
test_dialogue.py 加对话消息测试 11 例,含异步 2026-09-02 22:24:35 +08:00
test_instance_creators.py 加意图/模型/记忆工厂测试,6 例 2026-09-02 22:24:35 +08:00
test_output_counter.py 加 output_counter 测试,7 例 2026-09-02 22:24:35 +08:00
test_textUtils.py 加 textUtils 行为测试,11 例 2026-09-02 22:24:35 +08:00