Sakura-RanChen
63d9dae18b
增加asr初始化ID判断
2026-02-05 15:42:23 +08:00
DaGou12138
1e6e250dac
新增数据集,删除无用业务表ai_voiceprint
2026-02-05 11:28:31 +08:00
DaGou12138
8718a07c7e
新增关闭模型配置相关逻辑判断
2026-02-04 11:32:10 +08:00
Sakura-RanChen
9fd3501605
fix: 讯飞自动设备适应,阿里云等待时机过短
2026-02-04 10:28:27 +08:00
Sakura-RanChen
3ab5dc49ac
去除无用代码,修复插入语句id缺失
2026-02-02 16:07:09 +08:00
Sakura-RanChen and GitHub
6da32a60c0
Merge branch 'py_test_error_response' into fix/2075
2026-02-02 14:49:26 +08:00
wengzh and GitHub
f0b176768d
Merge branch 'main' into py_test_AudioArtifacts
2026-02-02 14:23:01 +08:00
Sakura-RanChen and GitHub
d02d094219
Merge pull request #2924 from shengzhou1216/refactor/asr-delete_audio
...
refactor(asr): 重构speech_to_text方法以接收artifacts参数
2026-02-02 11:42:59 +08:00
Sakura-RanChen
f5b4bae927
fix: 模式切换时音频残余,优化相关状态管理
2026-02-02 11:29:47 +08:00
hrz
8162adeca1
update:优化图片
2026-02-01 01:23:45 +08:00
huozaimengli
614b662e3d
refactor(asr): 重构speech_to_text方法以接收artifacts参数
...
移除各ASR提供者中重复的get_current_artifacts调用,改为通过参数传递artifacts
修改base类中process_audio方法,根据combined_pcm_data长度决定是否创建artifacts
更新所有speech_to_text方法签名,添加artifacts可选参数并更新文档字符串
2026-01-29 16:39:35 +08:00
huozaimengli
f5b9995f89
feat: 添加系统错误时的默认回复配置SQL
...
在 sys_params 表中插入新记录,用于配置系统发生错误时返回给用户的默认回复消息。该配置允许管理员自定义错误提示文本,提升用户体验。
2026-01-29 15:58:00 +08:00
huozaimengli
0ddd9ba8ff
fix: 修正系统错误响应的句子类型为MIDDLE
2026-01-29 15:57:31 +08:00
hrz
07b686be14
update:兼容arm架构字体
2026-01-28 11:02:17 +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
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
Sakura-RanChen
3051dc8327
更改默认输出采样率与设备端适配
2026-01-26 17:35:45 +08:00
Sakura-RanChen
c313997a61
去除调试输出
2026-01-26 16:33:09 +08:00
hrz
e339a501aa
set ChatHistoryConf default value
2026-01-26 15:11:11 +08:00
zhuoqinglian
206af1c074
fix: 修复项目访问地址
2026-01-26 15:06:05 +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
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
lww155
ff6286ffcc
fix: 修复获取设备状态接口报错时, 没有执行失败回调导致loading一直存在
2026-01-23 15:33:44 +08:00
zhuoqinglian
974fe6c3b7
feat: 添加语音盒子在线烧录功能
2026-01-23 15:29:43 +08:00
DaGou12138
3559a7018c
优化MCP工具名称列表顺序问题
2026-01-23 14:03:00 +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