hrz
07b686be14
update:兼容arm架构字体
2026-01-28 11:02:17 +08:00
欣南科技 and GitHub
4d6b453485
Merge pull request #2910 from xinnan-tech/test-arm64-docker
...
add:增加linux/arm64docker镜像编译
2026-01-28 09:16:25 +08:00
hrz
9909045f9d
add:增加linux/arm64docker镜像编译
2026-01-28 09:15:40 +08:00
hrz and GitHub
b0dc4d88db
Merge pull request #2908 from xinnan-tech/py_fix_text
...
fix: 保存音频数据文件时文本不记录
2026-01-27 17:53:51 +08:00
Sakura-RanChen
bbf3858735
fix: 保存音频数据文件时文本不记录
2026-01-27 16:22:35 +08:00
欣南科技 and GitHub
73573e2f12
Merge pull request #2907 from xinnan-tech/live2d-actions
...
update:增加版本号,解决html引用文件缓存问题
2026-01-27 16:13:31 +08:00
hrz
99e136786e
update:增加版本号,解决html引用文件缓存问题
2026-01-27 16:12:55 +08:00
欣南科技 and GitHub
205be0e4ec
Merge pull request #2906 from xinnan-tech/live2d-actions
...
add:麦克风权限的判断
2026-01-27 16:03:49 +08:00
hrz
2e64f45a31
update:优化代码排版
2026-01-27 15:59:46 +08:00
hrz
818b4f2f6d
update:增加版本号,解决html引用文件缓存问题
2026-01-27 15:52:34 +08:00
hrz
5d72f9f79d
update:由于现在的模型本身动作有限,使用起来体验不佳,暂时移除动作控制的代码
2026-01-27 15:45:53 +08:00
Sakura-RanChen and GitHub
22d0dcdf58
Merge pull request #2887 from shengzhou1216/refactor/asr-delete_audio
...
refactor(asr): 统一音频预处理逻辑并引入AudioArtifacts
2026-01-27 15:41:46 +08:00
rainv123
122d1def1d
Merge branch 'main' of https://github.com/xinnan-tech/xiaozhi-esp32-server into new
2026-01-27 11:59:03 +08:00
hrz and GitHub
0ee349df2d
Merge pull request #2905 from xinnan-tech/py_fix_minimaxLog
...
补充minimax接口错误信息
2026-01-27 11:28:17 +08:00
Sakura-RanChen
4dde66339b
补充minimax接口错误信息
2026-01-27 11:22:32 +08:00
hrz and GitHub
0064f975c2
Merge pull request #2903 from spider-yamet/feature/issue-2896-clean
...
feat: implement Issue 2896 - Live2D Actions and Microphone Detection
2026-01-27 11:17:31 +08:00
rainv123 and GitHub
43234f4798
Merge pull request #2836 from xinnan-tech/py_audio_rate
...
update: 自定义配置输出音频采样率
2026-01-27 10:58:32 +08:00
spider-yamet
48034fc000
Translate log messages to Chinese in recorder.js
2026-01-26 15:03:23 -08:00
spider-yamet
3fc33e9095
Optimize code density: simplify changed files while keeping comments (reduce 364 lines)
2026-01-26 14:48:08 -08:00
spider-yamet
da71dce860
Optimize code : minify test files
2026-01-26 14:37:07 -08:00
spider-yamet
b7e4408a0f
Add browser-based unit tests for xiaozhi test modules
...
- Add browser-compatible test files (no npm required)
- recorder.test.browser.js: 8 tests for microphone and HTTP detection
- tools.test.browser.js: 5 tests for Live2D actions and error handling
- Add test runner (test-runner.html) with built-in test framework
- Add null safety checks in tools.js for DOM element access
- Add documentation (English and Chinese versions)
- README_TESTS.md / README_TESTS_CN.md: Complete test guide
- QUICK_START_TEST.md / QUICK_START_TEST_CN.md: Quick start guides
- Total: 13 unit tests covering microphone detection, HTTP detection, Live2D actions, and error handling
2026-01-26 10:18:40 -08:00
spider-yamet
4f4f8ca54e
docs: add testing guide and fix Chinese text in controller.js
2026-01-26 08:30:39 -08:00
spider-yamet
99c12a0fed
fix: translate corrupted Chinese text to proper Chinese in controller.js
2026-01-26 08:05:02 -08:00
spider-yamet
dcd0ef3f40
fix: translate corrupted Chinese text to proper Chinese in controller.js
...
- Fix corrupted Chinese characters in addMCPTool function
- Translate placeholder and button text to proper Chinese
2026-01-26 07:57:13 -08:00
spider-yamet
2f53b921fe
feat: implement Issue 2896 - Live2D Actions and Microphone Detection
...
- Add Live2D action tools (smile, wave, generic actions) as MCP tools
- Implement microphone availability detection
- Handle HTTP non-localhost access scenarios
- Update UI to reflect microphone availability state
- Translate all comments and messages to proper Chinese/English
- Add test files for new functionality
2026-01-26 07:44:33 -08:00
rainv123
0f16a8d31f
Merge branch 'py_audio_rate' of https://github.com/xinnan-tech/xiaozhi-esp32-server into new
2026-01-26 17:39:29 +08:00
Sakura-RanChen
3051dc8327
更改默认输出采样率与设备端适配
2026-01-26 17:35:45 +08:00
Sakura-RanChen
c313997a61
去除调试输出
2026-01-26 16:33:09 +08:00
欣南科技 and GitHub
07c0c764d3
Merge pull request #2898 from xinnan-tech/fix-ChatHistoryConf-value
...
set ChatHistoryConf default value
2026-01-26 15:11:46 +08:00
hrz
e339a501aa
set ChatHistoryConf default value
2026-01-26 15:11:11 +08:00
hrz and GitHub
f2c541b4ab
Merge pull request #2897 from xinnan-tech/fix-path
...
fix: 修复项目访问地址
2026-01-26 15:07:47 +08:00
zhuoqinglian
206af1c074
fix: 修复项目访问地址
2026-01-26 15:06:05 +08:00
欣南科技 and GitHub
344729c9a6
Merge pull request #2895 from xinnan-tech/fix-digital-human-initialize
...
add:响应mcp初始化请求
2026-01-26 12:51:09 +08:00
hrz
3b1c2d3b1b
add:响应mcp初始化请求
2026-01-26 12:42:11 +08:00
wengzh and GitHub
3660af9619
Merge pull request #2881 from xinnan-tech/generator
...
feat: 添加语音盒子在线烧录功能
2026-01-26 09:41:42 +08:00
zhuoqinglian
4905ba836c
fix: 修复语音盒子自定义主题表情无法跟随语气变化问题
2026-01-26 09:33:58 +08:00
huozaimengli
4b573fb4e2
feat: 为多个模块添加类型注解以增强代码可读性
...
为 ConnectionHandler 相关的函数参数添加类型注解,使用 TYPE_CHECKING 避免循环导入。主要修改包括:
- 在 abortHandle、textHandle 等处理模块中为 conn 参数添加 ConnectionHandler 类型注解
- 在 websocket_server、connection 等核心模块中为方法参数添加类型注解
- 在 plugins_func 下的多个功能模块中为函数参数添加类型注解
- 在 providers 相关模块中为工具执行器和方法添加类型注解
- 统一代码格式,如将单引号字符串改为双引号
Fixes #2034
2026-01-25 17:47:52 +08:00
huozaimengli
6ae0af278b
feat: 统一LLM错误处理并添加系统错误回复配置
...
在多个LLM提供者中移除try-catch块,将错误处理统一到connection.py的流处理层
添加system_error_response配置项,支持自定义系统错误时的回复内容
在意图识别和流处理中捕获异常时返回配置的错误回复,避免硬编码错误信息
Fixes #2075
2026-01-25 16:48:01 +08:00
huozaimengli
15650e1a6c
refactor(asr): 统一音频预处理逻辑并引入AudioArtifacts
...
重构所有ASR提供商的speech_to_text方法,将重复的音频解码、合并和文件保存逻辑提取到基类的speech_to_text_wrapper中。引入AudioArtifacts数据类封装PCM帧、字节数据、文件路径和临时路径,简化各提供商实现。移除各提供商中的冗余文件清理代码,由基类统一处理。
新增requires_file()和prefers_temp_file()方法允许提供商声明文件需求,优化内存和磁盘使用。保持接口兼容性的同时提高代码复用性和可维护性。
2026-01-25 11:27:34 +08:00
Sakura-RanChen
ce00c862fe
HuoshanDoubleStreamTTS增加自定义配置
2026-01-23 17:16:46 +08:00
zhuoqinglian
a50229431b
fix: 修复https协议导致无法上传表情的问题
2026-01-23 17:07:23 +08:00
wengzh and GitHub
275102f5b7
Merge pull request #2882 from xinnan-tech/fix-devices-loading
...
fix: 修复获取设备状态接口报错时, 没有执行失败回调导致loading一直存在
2026-01-23 15:36:46 +08:00
lww155
ff6286ffcc
fix: 修复获取设备状态接口报错时, 没有执行失败回调导致loading一直存在
2026-01-23 15:33:44 +08:00
zhuoqinglian
974fe6c3b7
feat: 添加语音盒子在线烧录功能
2026-01-23 15:29:43 +08:00
wengzh and GitHub
b78292b270
Merge pull request #2880 from xinnan-tech/perf-manager-api-business
...
pred:优化MCP工具名称列表顺序问题
2026-01-23 14:13:23 +08:00
DaGou12138
3559a7018c
优化MCP工具名称列表顺序问题
2026-01-23 14:03:00 +08:00
Sakura-RanChen and GitHub
9368885355
Merge pull request #2859 from wayyoungboy/add-powermem
...
chore: 更新 powermem 依赖至 0.3.1 版本, 增加角色过滤的能力
2026-01-23 10:24:21 +08:00
wengzh and GitHub
3222d6175d
Merge pull request #2879 from xinnan-tech/fix-digital-human
...
update: 拨号成功后自动开启录音
2026-01-23 09:22:03 +08:00
lww155
28f9f23449
update: 拨号成功后自动开启录音
2026-01-23 09:13:19 +08:00
wengzh and GitHub
5e7d192ebc
Merge pull request #2877 from xinnan-tech/fix-digital-human
...
update: 调整配置获取
2026-01-22 17:55:46 +08:00