Commit graph

1254 commits

Author SHA1 Message Date
rui chen
33a385cfa8 add basic OTA support for single server deployment
Committer: rxchen <rchentl@hotmail.com>
2025-12-17 16:26:35 +08:00
hrz
833971cd28
Merge pull request #2722 from xinnan-tech/py_websocket_activate
update: 增加websocket心跳机制
2025-12-17 11:51:14 +08:00
hrz
d14b14bce9
Merge pull request #2709 from xinnan-tech/py_audio_change
优化
2025-12-16 22:04:02 +08:00
hrz
53e26821ad update:补回前5个包提前发送的时间,因为发送完不等于播放完 2025-12-16 22:03:12 +08:00
Sakura-RanChen
1a7c06eb81 update: 增加websocket心跳机制 2025-12-16 16:39:13 +08:00
Packeting1
6cdbe45313 feat: 为阿里百炼流式TTS添加多语言音色支持、相关 音色配置; 2025-12-16 11:35:58 +08:00
Sakura-RanChen
43ead841a4 fix: 等待初始化成功设置事件 2025-12-15 17:31:13 +08:00
Sakura-RanChen
33b4794e83 优化 2025-12-15 16:34:50 +08:00
hrz
d2e3a63418 update:优化测试页面缓冲音频播放 2025-12-14 14:24:39 +08:00
hrz
5c261528d0 update:常用音频增加缓存,抵御高并发未授权设备访问 2025-12-13 23:10:40 +08:00
hrz
8b2bbec0b9 update:audio_to_data改成异步方法 2025-12-13 22:29:10 +08:00
hrz
8b3a4ad163 update:优化丢弃消息逻辑 2025-12-13 21:45:31 +08:00
hrz
b3e272281b Merge branch 'main' into py_device_bind 2025-12-13 20:27:40 +08:00
hrz
06a90d6266 update:恢复audioRateController旧版本 2025-12-13 20:27:11 +08:00
hrz
515f669546
Merge pull request #2685 from aixiamomo/fix/ws_token_auth
fix: 为Java项目的OTA接口实现WebSocket认证token生成功能,兼容Python端
2025-12-13 14:44:12 +08:00
hrz
7699596597 update:优化 2025-12-13 14:35:55 +08:00
hrz
d33cdd978d fix:edge_tts bug 2025-12-13 00:25:54 +08:00
hrz
7fc2eeaaa5 update:发送语音消息时打断机器人说话 2025-12-13 00:19:38 +08:00
Sakura-RanChen
dc170edbc1 update: 未绑定设备策略优化
fix: 音频队列竞态问题
2025-12-12 18:58:24 +08:00
shiyin
85e65cf9e8 fix:初始化ASR时,判断ASR类型取值错误修复 2025-12-12 18:28:46 +08:00
hrz
5dbf796fa9 update:更新版本号 2025-12-12 16:33:50 +08:00
Sakura-RanChen
20f601e607 fix: 同步方法使用线程池避免阻塞 2025-12-12 15:39:30 +08:00
Sakura-RanChen
c8d2d2255d fix: 音频影响线程问题 2025-12-12 15:08:40 +08:00
rainv123
d6697948c2 fix:使用java端做聊天记录总结 2025-12-12 12:53:59 +08:00
Sakura-RanChen
f88abd7638 fix: 聆听设备误触发 2025-12-12 09:46:15 +08:00
Sakura-RanChen
fbfc408e94 update: 长按设备ASR适配 2025-12-11 17:12:56 +08:00
panjingpeng
5ac1a1d6a5 fix: 为Java项目的OTA接口实现WebSocket认证token生成功能,确保与Python端完全兼容。 2025-12-11 16:08:45 +08:00
FAN-yeB
3a74b30a0e 更新 qwen3_asr_flash.py 2025-12-10 17:57:26 +08:00
Sakura-RanChen
48094f7e37 update: 音频后台队列稳定发送 2025-12-09 18:06:56 +08:00
FAN-yeB
60521b0a7e update:长按说话不走VAD直接触发ASR识别 2025-12-09 14:42:50 +08:00
FAN-yeB
6ffa325b73 update:统一流式测速工具统计时间区间,新增百炼平台流式TTS测速 2025-12-08 15:51:04 +08:00
3030332422
aba7172a03 update:修改上下文源的device_id 2025-12-08 14:25:11 +08:00
hrz
6da90c6a97
Merge branch 'main' into py_add_protocol 2025-12-05 15:47:26 +08:00
3030332422
7a7bfa26f6 update:修改日志 2025-12-05 14:50:26 +08:00
3030332422
db8d100edb update:添加数据库表,添加数据上下文填充功能后端部分,全模块实现数据上下文填充功能 2025-12-05 10:50:44 +08:00
Sakura-RanChen
d3d329bd43 fix: 状态修正 2025-12-04 18:45:49 +08:00
3030332422
cd6c3e4f79 update:添加数据上下文填充功能,单模块实现数据上下文填充功能 2025-12-04 11:04:16 +08:00
hrz
6120d49a35 fix:过滤8000端口使用https访问时报错日志 2025-12-03 22:49:32 +08:00
hrz
a3e2073dc6 Bump to 0.8.9 2025-12-01 18:51:24 +08:00
hrz
f7bd858fea update:优化绑定间隔 2025-12-01 18:46:42 +08:00
dependabot[bot]
80d10cf4b5
build(deps): bump mcp from 1.20.0 to 1.22.0 in /main/xiaozhi-server
Bumps [mcp](https://github.com/modelcontextprotocol/python-sdk) from 1.20.0 to 1.22.0.
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases)
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md)
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.20.0...v1.22.0)

---
updated-dependencies:
- dependency-name: mcp
  dependency-version: 1.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 10:28:38 +00:00
dependabot[bot]
ba1fb16f2d
build(deps): bump torchaudio from 2.2.2 to 2.9.1 in /main/xiaozhi-server
Bumps [torchaudio](https://github.com/pytorch/audio) from 2.2.2 to 2.9.1.
- [Release notes](https://github.com/pytorch/audio/releases)
- [Commits](https://github.com/pytorch/audio/compare/v2.2.2...v2.9.1)

---
updated-dependencies:
- dependency-name: torchaudio
  dependency-version: 2.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 10:28:33 +00:00
dependabot[bot]
5f574667d3
build(deps): bump websockets from 14.2 to 15.0.1 in /main/xiaozhi-server
Bumps [websockets](https://github.com/python-websockets/websockets) from 14.2 to 15.0.1.
- [Release notes](https://github.com/python-websockets/websockets/releases)
- [Commits](https://github.com/python-websockets/websockets/compare/14.2...15.0.1)

---
updated-dependencies:
- dependency-name: websockets
  dependency-version: 15.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 10:28:26 +00:00
dependabot[bot]
c470bb1db1
build(deps): bump modelscope in /main/xiaozhi-server
Bumps [modelscope](https://github.com/modelscope/modelscope) from 1.23.2 to 1.32.0.
- [Release notes](https://github.com/modelscope/modelscope/releases)
- [Commits](https://github.com/modelscope/modelscope/compare/v1.23.2...v1.32.0)

---
updated-dependencies:
- dependency-name: modelscope
  dependency-version: 1.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 10:28:21 +00:00
dependabot[bot]
26ed8ca33f
build(deps): bump psutil from 7.0.0 to 7.1.3 in /main/xiaozhi-server
Bumps [psutil](https://github.com/giampaolo/psutil) from 7.0.0 to 7.1.3.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-7.0.0...release-7.1.3)

---
updated-dependencies:
- dependency-name: psutil
  dependency-version: 7.1.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 10:28:16 +00:00
hrz
f3f0c24e16 update:减少日志产生 2025-12-01 16:38:10 +08:00
Sakura-RanChen
fb5c35e6c9 后台初始化组件,gc全局化避免每次回收触发GIL锁,音频定时发送 2025-11-28 16:12:19 +08:00
rainv123
19420d0bb3
Merge pull request #2601 from xinnan-tech/main-upgrade
Main upgrade
2025-11-26 11:31:08 +08:00
hrz
4645c50f6d update:将垃圾回收放置ws关闭处,避免频繁操作 2025-11-25 16:11:48 +08:00
Chingfeng Li
106889b0dd 更新默认编码 2025-11-25 13:52:18 +08:00
myifeng
785b43464b
Merge pull request #2593 from xinnan-tech/dependabot/pip/main/xiaozhi-server/dashscope-1.25.2
build(deps): bump dashscope from 1.24.6 to 1.25.2 in /main/xiaozhi-server
2025-11-25 13:36:19 +08:00
myifeng
03da60dd12
Merge pull request #2594 from xinnan-tech/dependabot/pip/main/xiaozhi-server/vosk-0.3.45
build(deps): bump vosk from 0.3.44 to 0.3.45 in /main/xiaozhi-server
2025-11-25 13:35:51 +08:00
myifeng
ec372f65ec
Merge pull request #2596 from xinnan-tech/dependabot/pip/main/xiaozhi-server/openai-2.8.1
build(deps): bump openai from 2.7.1 to 2.8.1 in /main/xiaozhi-server
2025-11-25 13:35:18 +08:00
dependabot[bot]
657d03f49d
build(deps): bump sherpa-onnx in /main/xiaozhi-server
Bumps [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) from 1.12.15 to 1.12.17.
- [Release notes](https://github.com/k2-fsa/sherpa-onnx/releases)
- [Changelog](https://github.com/k2-fsa/sherpa-onnx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/k2-fsa/sherpa-onnx/compare/v1.12.15...v1.12.17)

---
updated-dependencies:
- dependency-name: sherpa-onnx
  dependency-version: 1.12.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 09:10:36 +00:00
dependabot[bot]
b4dd78b2ed
build(deps): bump openai from 2.7.1 to 2.8.1 in /main/xiaozhi-server
Bumps [openai](https://github.com/openai/openai-python) from 2.7.1 to 2.8.1.
- [Release notes](https://github.com/openai/openai-python/releases)
- [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openai/openai-python/compare/v2.7.1...v2.8.1)

---
updated-dependencies:
- dependency-name: openai
  dependency-version: 2.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 09:10:27 +00:00
dependabot[bot]
1ebe7b8f71
build(deps): bump vosk from 0.3.44 to 0.3.45 in /main/xiaozhi-server
Bumps [vosk](https://github.com/alphacep/vosk-api) from 0.3.44 to 0.3.45.
- [Release notes](https://github.com/alphacep/vosk-api/releases)
- [Commits](https://github.com/alphacep/vosk-api/commits/v0.3.45)

---
updated-dependencies:
- dependency-name: vosk
  dependency-version: 0.3.45
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 09:10:17 +00:00
dependabot[bot]
30e7a71497
build(deps): bump dashscope in /main/xiaozhi-server
Bumps [dashscope](https://dashscope.aliyun.com/) from 1.24.6 to 1.25.2.

---
updated-dependencies:
- dependency-name: dashscope
  dependency-version: 1.25.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 09:10:14 +00:00
Chingfeng Li
9e39883276 移除OpenAI不支持的参数top_k 2025-11-24 16:29:46 +08:00
欣南科技
1b52a7168b
Merge pull request #2584 from xinnan-tech/py_test_websocket
fix: decoder 引发的内存泄漏
2025-11-23 15:15:12 +08:00
hrz
83a3d0eabe update:优化代码 2025-11-23 15:11:35 +08:00
hrz
ea50288c5b update:未授权设备会话周期管理 2025-11-23 12:29:18 +08:00
3030332422
5d439a4168 update:内存泄漏 2025-11-23 11:55:38 +08:00
Sakura-RanChen
3c46e16494 自主选择链接复用功能 2025-11-22 16:19:13 +08:00
Sakura-RanChen
5242430b6d
Merge pull request #2568 from xinnan-tech/fix-allillm-topk
FIX: Completions.create() got an unexpected keyword argument 'top_k'
2025-11-21 16:01:44 +08:00
Sakura-RanChen
c39968a5bf
Merge pull request #2571 from xinnan-tech/add-mcp-callback
Add ProgressFnT LoggingFnT...
2025-11-21 15:57:49 +08:00
Chingfeng Li
8b4f9ab20e Add ProgressFnT LoggingFnT... 2025-11-21 14:27:18 +08:00
Chingfeng Li
1d162cb874 Remove unused code 2025-11-21 11:46:32 +08:00
Chingfeng Li
c197f5c942 FIX: Completions.create() got an unexpected keyword argument 'top_k' 2025-11-21 11:19:03 +08:00
Sakura-RanChen
38d50f4275 fix: 长按设备过于灵敏 2025-11-21 10:11:50 +08:00
hrz
d3638164fe
Merge pull request #2543 from xinnan-tech/py_fix_LLMChat
update: 增加工具并行调用(需大模型支持,如qwen-plus)增加递归深度限制,避免循环
2025-11-20 11:20:47 +08:00
hrz
1c2a61fd34
Merge pull request #2551 from xinnan-tech/update-client-speaking
根据语音包发送更新client_is_speaking状态
2025-11-20 11:16:59 +08:00
Chingfeng Li
bbab4ebc86 语音发送的开始和结尾仅与TTS相关,不关心LLM;LLM调用MCP时异步消息会引发问题 2025-11-18 15:00:55 +08:00
Sakura-RanChen
8bae0c8ac5 参数补充 2025-11-18 14:40:17 +08:00
Chingfeng Li
a5e4aa1300 根据语音包发送更新client_is_speaking状态 2025-11-18 14:37:50 +08:00
Sakura-RanChen
48313bc302 fix: 多工具时协程不阻塞,仅需等待最慢那个 2025-11-18 11:10:18 +08:00
Sakura-RanChen
0b0fd142a3 update: 增加工具并行调用(需大模型支持,如qwen-plus)增加递归深度限制,避免循环 2025-11-17 17:14:56 +08:00
hrz
6c325f68ac fix:网页测试工具和manager-web关键缓存冲突 2025-11-16 17:40:39 +08:00
hrz
e37618423d update:优化测试页面音波样式 2025-11-16 14:39:53 +08:00
hrz
3fe1acd153 update:优化样式代码顺序 2025-11-16 14:08:43 +08:00
hrz
9eaaec75a5 update:音频测试页面增加打断功能 2025-11-16 13:59:27 +08:00
hrz
09a58ba5bf update:去除无用样式 2025-11-16 01:50:29 +08:00
hrz
5dda2f731a update:统一js文件名称格式 2025-11-16 01:34:23 +08:00
hrz
80c7295784 update:优化音频测试页面的样式 2025-11-16 01:26:10 +08:00
hrz
dc55f8d7ab update:修复测试工具页面声音卡顿问题 2025-11-15 17:53:36 +08:00
hrz
3f6fd3144b Bump to 0.8.8 2025-11-14 23:17:21 +08:00
Sakura-RanChen
637b528aad fix: 去除默认值配置 2025-11-13 17:08:21 +08:00
shiyin
578ed62d18 火山双流式TTS日志bug修复 2025-11-13 14:28:21 +08:00
hrz
c667c8ee79
Merge pull request #2514 from Harold-Guo/fix/web_audio
fix(web-audio): Fix AudioWorklet recording and AudioContext state issues
2025-11-13 11:33:56 +08:00
hrz
8a4f786c0b update:ragflow教程升级到0.22.0 2025-11-13 10:44:00 +08:00
欣南科技
d99d122416
Merge pull request #2517 from xinnan-tech/knowledge-base-fix
Knowledge base fix
2025-11-12 19:14:05 +08:00
hrz
5a5f670272
Merge pull request #2476 from xinnan-tech/py-bump-test
Py bump test
2025-11-12 18:45:46 +08:00
hrz
be533b7814 update:调整numpy回到1.x版本 2025-11-12 18:45:15 +08:00
hrz
9d420b4304
Merge branch 'py-bump-test' into dependabot/pip/main/xiaozhi-server/numpy-2.3.4 2025-11-12 17:48:16 +08:00
hrz
c6f1fa96bb
Merge branch 'py-bump-test' into dependabot/pip/main/xiaozhi-server/websockets-15.0.1 2025-11-12 17:41:35 +08:00
hrz
f2a7016119
Merge branch 'py-bump-test' into dependabot/pip/main/xiaozhi-server/aiohttp-cors-0.8.1 2025-11-12 17:38:27 +08:00
hrz
172b097a11
Merge branch 'py-bump-test' into dependabot/pip/main/xiaozhi-server/httpx-0.28.1 2025-11-12 17:37:15 +08:00
hrz
4f2693505b update:标注不升级的组件 2025-11-12 17:35:42 +08:00
hrz
5c68be6636 update:优化引用答复 2025-11-12 16:46:04 +08:00
hrz
a2069456b2 Merge branch 'main' into knowledge-base-fix 2025-11-12 15:10:57 +08:00
Harold
4fc306bccf fix(web-audio): Fix AudioWorklet recording and AudioContext state issues 2025-11-12 15:00:39 +08:00
rainv123
4966a42ed8 fix:还原误删的提示词 2025-11-12 14:41:27 +08:00
rainv123
c3ffa9d393 uptate:增加对字符串的解析以及格式调整 2025-11-12 12:32:16 +08:00
rainv123
f16906ad9d uptate:增加知识库相关提示词 2025-11-12 12:28:08 +08:00
hrz
ff3e308ce8
Merge pull request #2500 from xinnan-tech/py-test-mem0.ai
fix:修复 Mem0 搜索缺少 filters 导致的报错
2025-11-11 22:53:47 +08:00
Chingfeng Li
833f379aa1 优化日志级别,生产环境中INFO避免打印过多日志 2025-11-11 18:52:14 +08:00
hrz
de0eda1b6c update:增加ragflow部署教程 2025-11-11 18:47:25 +08:00
3030332422
59f55a4187 fix:修复 Mem0 搜索缺少 filters 导致的报错 2025-11-11 09:23:39 +08:00
dependabot[bot]
33c60ba320
build(deps): bump aiohttp-cors in /main/xiaozhi-server
Bumps [aiohttp-cors](https://github.com/aio-libs/aiohttp-cors) from 0.7.0 to 0.8.1.
- [Release notes](https://github.com/aio-libs/aiohttp-cors/releases)
- [Changelog](https://github.com/aio-libs/aiohttp-cors/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp-cors/compare/v0.7.0...v0.8.1)

---
updated-dependencies:
- dependency-name: aiohttp-cors
  dependency-version: 0.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 08:52:47 +00:00
dependabot[bot]
a4fad9e796
build(deps): bump httpx from 0.27.2 to 0.28.1 in /main/xiaozhi-server
Bumps [httpx](https://github.com/encode/httpx) from 0.27.2 to 0.28.1.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/httpx/compare/0.27.2...0.28.1)

---
updated-dependencies:
- dependency-name: httpx
  dependency-version: 0.28.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 08:52:44 +00:00
hrz
75807c5845 Merge branch 'main' into Knowledge-Base 2025-11-08 16:25:32 +08:00
hrz
ce1bdea54d Bump to 0.8.7 2025-11-08 16:24:16 +08:00
hrz
25801bf1d4 Merge branch 'main' into Knowledge-Base 2025-11-08 16:07:21 +08:00
hrz
c02f2105d7 update:优化代码 2025-11-08 16:00:37 +08:00
hrz
b6ba06ec97 fix:旧版本智控台配置文件,没有包含"prompt_template"配置会导致self.config.get("prompt_template", "agent-base-prompt.txt")一直为None 2025-11-08 10:08:02 +08:00
hrz
d09fa0c1f6 update:知识库自动创建function方法 2025-11-07 12:20:50 +08:00
3030332422
09dee65239 fix:修复部分LLM在工具调用时数据被空字符串覆盖的问题 2025-11-06 16:42:28 +08:00
Chingfeng Li
d2b05c614c Update pip 2025-11-06 13:24:41 +08:00
myifeng
482aaf453c
Merge branch 'py-bump-test' into dependabot/pip/main/xiaozhi-server/torchaudio-2.9.0 2025-11-06 13:17:26 +08:00
myifeng
bf9277671e
Merge pull request #2457 from xinnan-tech/dependabot/pip/main/xiaozhi-server/funasr-1.2.7
build(deps): bump funasr from 1.2.3 to 1.2.7 in /main/xiaozhi-server
2025-11-06 13:15:34 +08:00
dependabot[bot]
a2fbc07a78
build(deps): bump numpy from 1.26.4 to 2.3.4 in /main/xiaozhi-server
Bumps [numpy](https://github.com/numpy/numpy) from 1.26.4 to 2.3.4.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.26.4...v2.3.4)

---
updated-dependencies:
- dependency-name: numpy
  dependency-version: 2.3.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 08:54:46 +00:00
dependabot[bot]
4d728663a6
build(deps): bump sherpa-onnx in /main/xiaozhi-server
Bumps [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) from 1.12.11 to 1.12.15.
- [Release notes](https://github.com/k2-fsa/sherpa-onnx/releases)
- [Changelog](https://github.com/k2-fsa/sherpa-onnx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/k2-fsa/sherpa-onnx/compare/v1.12.11...v1.12.15)

---
updated-dependencies:
- dependency-name: sherpa-onnx
  dependency-version: 1.12.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 08:54:40 +00:00
dependabot[bot]
8b1fe1dbcf
build(deps): bump funasr from 1.2.3 to 1.2.7 in /main/xiaozhi-server
Bumps [funasr](https://github.com/alibaba-damo-academy/FunASR) from 1.2.3 to 1.2.7.
- [Release notes](https://github.com/alibaba-damo-academy/FunASR/releases)
- [Commits](https://github.com/alibaba-damo-academy/FunASR/commits)

---
updated-dependencies:
- dependency-name: funasr
  dependency-version: 1.2.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 08:54:30 +00:00
dependabot[bot]
1c836fff39
build(deps): bump torchaudio from 2.2.2 to 2.9.0 in /main/xiaozhi-server
Bumps [torchaudio](https://github.com/pytorch/audio) from 2.2.2 to 2.9.0.
- [Release notes](https://github.com/pytorch/audio/releases)
- [Commits](https://github.com/pytorch/audio/compare/v2.2.2...v2.9.0)

---
updated-dependencies:
- dependency-name: torchaudio
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 08:54:28 +00:00
hrz
53ee24f828
Merge pull request #2455 from xinnan-tech/py_fix_packet
fix: 等待音频过长时需修正包状态
2025-11-03 15:54:40 +08:00
Sakura-RanChen
e1056f72e1 fix: 等待音频过长时需修正包状态 2025-11-03 15:17:52 +08:00
hrz
06c3a8d761
Merge pull request #2441 from xinnan-tech/py_bump_test
Py bump test
2025-11-03 14:09:40 +08:00
hrz
e38609e9b8
Merge pull request #2449 from xinnan-tech/py_fix_packet
fix: 流控状态未重置
2025-11-03 09:17:33 +08:00
hrz
57c2af413e
Merge pull request #2433 from lsp199308/main
修复 chat chunk 缺失 'content' 导致 BadRequestError
2025-11-02 15:31:59 +08:00
Sakura-RanChen
ec07088c13 fix: 流控状态未重置
update: 增加流式预缓冲
2025-11-01 17:59:16 +08:00
hrz
e59df53c99 Bump to 0.8.6 2025-11-01 11:15:58 +08:00
3030332422
32ecbe55fc fix:修复全模块时缺少prompt_template配置的问题 2025-10-31 20:36:55 +08:00
Chingfeng Li
58b71f5039 更新其他依赖 2025-10-31 15:11:38 +08:00
myifeng
b17a265378
Merge pull request #2424 from xinnan-tech/dependabot/pip/main/xiaozhi-server/edge-tts-7.2.3
build(deps): bump edge-tts from 7.0.0 to 7.2.3 in /main/xiaozhi-server
2025-10-31 13:22:06 +08:00
myifeng
ba446d2374
Merge pull request #2426 from xinnan-tech/dependabot/pip/main/xiaozhi-server/aioconsole-0.8.2
build(deps): bump aioconsole from 0.8.1 to 0.8.2 in /main/xiaozhi-server
2025-10-31 13:21:38 +08:00
myifeng
18d66270d6
Merge pull request #2423 from xinnan-tech/dependabot/pip/main/xiaozhi-server/mcp-proxy-0.10.0
build(deps): bump mcp-proxy from 0.8.2 to 0.10.0 in /main/xiaozhi-server
2025-10-31 13:21:11 +08:00
myifeng
2d02349c55
Merge pull request #2422 from xinnan-tech/dependabot/pip/main/xiaozhi-server/ruamel-yaml-0.18.16
build(deps): bump ruamel-yaml from 0.18.15 to 0.18.16 in /main/xiaozhi-server
2025-10-31 13:20:15 +08:00
3030332422
5149a8049a update:服务端MCP新增支持Streamable HTTP传输协议 2025-10-29 23:14:42 +08:00
lsp199308
cf3c955b73
Update openai.py 2025-10-28 23:15:28 +08:00
hrz
455b3df5ae update:默认版本不提供设备ID敏感信息,按需开启 2025-10-28 15:02:01 +08:00
dependabot[bot]
85741137a5
build(deps): bump aioconsole from 0.8.1 to 0.8.2 in /main/xiaozhi-server
Bumps [aioconsole](https://github.com/vxgmichel/aioconsole) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/vxgmichel/aioconsole/releases)
- [Commits](https://github.com/vxgmichel/aioconsole/compare/v0.8.1...v0.8.2)

---
updated-dependencies:
- dependency-name: aioconsole
  dependency-version: 0.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 09:28:05 +00:00
dependabot[bot]
cc2fdf1b9b
build(deps): bump websockets from 14.2 to 15.0.1 in /main/xiaozhi-server
Bumps [websockets](https://github.com/python-websockets/websockets) from 14.2 to 15.0.1.
- [Release notes](https://github.com/python-websockets/websockets/releases)
- [Commits](https://github.com/python-websockets/websockets/compare/14.2...15.0.1)

---
updated-dependencies:
- dependency-name: websockets
  dependency-version: 15.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 09:05:28 +00:00
dependabot[bot]
a70542265a
build(deps): bump edge-tts from 7.0.0 to 7.2.3 in /main/xiaozhi-server
Bumps [edge-tts](https://github.com/rany2/edge-tts) from 7.0.0 to 7.2.3.
- [Release notes](https://github.com/rany2/edge-tts/releases)
- [Commits](https://github.com/rany2/edge-tts/compare/7.0.0...7.2.3)

---
updated-dependencies:
- dependency-name: edge-tts
  dependency-version: 7.2.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 09:04:42 +00:00
dependabot[bot]
5a9cc89b64
build(deps): bump mcp-proxy from 0.8.2 to 0.10.0 in /main/xiaozhi-server
Bumps [mcp-proxy](https://github.com/sparfenyuk/mcp-proxy) from 0.8.2 to 0.10.0.
- [Release notes](https://github.com/sparfenyuk/mcp-proxy/releases)
- [Commits](https://github.com/sparfenyuk/mcp-proxy/compare/v0.8.2...v0.10.0)

---
updated-dependencies:
- dependency-name: mcp-proxy
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 09:04:25 +00:00
dependabot[bot]
5586515327
build(deps): bump ruamel-yaml in /main/xiaozhi-server
Bumps ruamel-yaml from 0.18.15 to 0.18.16.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-version: 0.18.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 08:59:38 +00:00
Chingfeng Li
47b44bb124 修复未定义的方法 2025-10-24 16:01:12 +08:00
Chingfeng Li
eb743ab577 从json中加载默认工具,方便自定义tools 2025-10-24 15:58:01 +08:00
Chingfeng Li
d6344bde5e 添加MCP测试功能,支持自定义添加编辑MCP Tools 2025-10-24 10:17:32 +08:00
hrz
a035ed525a 修复:讯飞asr最后一个字丢失的bug 2025-10-23 17:04:33 +08:00
hrz
dbea7ae11e
Merge pull request #2403 from xinnan-tech/main-aliyun-nls-taskid
阿里云NLS协议中message_id每次发送都必须唯一;task_id是会话id,整个请求中需要保持一致。
2025-10-23 15:12:19 +08:00
hrz
26127e9b4a
Merge pull request #2401 from xinnan-tech/py_fix_huoshan
fix: 未等待服务端残留状态问题
2025-10-23 14:32:17 +08:00
Chingfeng Li
2beeb825cf 阿里云NLS协议中message_id每次发送都必须唯一;task_id是会话id,整个请求中需要保持一致。 2025-10-22 18:21:34 +08:00
Sakura-RanChen
371dab1282 fix: 未等待服务端残留状态问题 2025-10-22 17:26:36 +08:00
Chingfeng Li
3ba437c937 常量可配置:允许自定义agent-base-prompt.txt文件 2025-10-22 14:53:05 +08:00
hrz
4b2d7da4e5
Merge pull request #2357 from kkroid/feature_tts-audio-send-delay
feat: 添加可配置的TTS音频发送延迟功能
2025-10-22 11:48:34 +08:00
hrz
d00592020e
Update config.yaml 2025-10-22 11:47:54 +08:00
欣南科技
4b7be99837
Merge pull request #2378 from xinnan-tech/py_update_vad
update: 优化vad判断逻辑
2025-10-22 11:19:33 +08:00
hrz
99db948b96 update:恢复vad判断 2025-10-22 10:46:57 +08:00
hrz
c9b7d77094 updte:python3.10最高只支持torch==2.2.2、torchaudio==2.2.2 2025-10-22 09:16:33 +08:00
hrz
f3818167f3
Merge pull request #2380 from KurobaKaitou/main
chore: 补充在 Linux 环境下进行源码部署时出现缺失动态库的解决方案以及保留检测 ffmpeg 环境时的原有报错信息
2025-10-21 17:42:52 +08:00
hrz
55d6c2a193
Merge pull request #2387 from xinnan-tech/dependabot/pip/main/xiaozhi-server/ormsgpack-1.11.0
build(deps): bump ormsgpack from 1.7.0 to 1.11.0 in /main/xiaozhi-server
2025-10-21 17:42:09 +08:00
hrz
6cfb6a8f43
Merge pull request #2386 from xinnan-tech/dependabot/pip/main/xiaozhi-server/dashscope-1.24.6
build(deps): bump dashscope from 1.23.1 to 1.24.6 in /main/xiaozhi-server
2025-10-21 17:41:38 +08:00
hrz
d8c4c1f207
Merge branch 'pip_version' into dependabot/pip/main/xiaozhi-server/openai-2.5.0 2025-10-21 17:40:47 +08:00
hrz
268ce9fff3
Merge pull request #2389 from xinnan-tech/dependabot/pip/main/xiaozhi-server/torchaudio-2.9.0
build(deps): bump torchaudio from 2.2.2 to 2.9.0 in /main/xiaozhi-server
2025-10-21 17:39:12 +08:00
hrz
bbc3b44336
Merge pull request #2390 from xinnan-tech/dependabot/pip/main/xiaozhi-server/mem0ai-1.0.0
build(deps): bump mem0ai from 0.1.62 to 1.0.0 in /main/xiaozhi-server
2025-10-21 17:38:48 +08:00
Hanabi
fb223984d3
Merge branch 'xinnan-tech:main' into main 2025-10-21 00:52:25 +08:00
欣南科技
66d3bcfa13
Merge pull request #2379 from xinnan-tech/main-fix-auth_key
如果已经配置了auth_key,则不使用uuid生成; 适配单模块启动,防止每次服务重启设备都无法连接问题
2025-10-20 22:19:10 +08:00
hrz
ff048797a1
auth_key优先级:配置文件server.auth_key > manager-api.secret > 自动生成 2025-10-20 21:25:37 +08:00
dependabot[bot]
ad6607b7f5
build(deps): bump mem0ai from 0.1.62 to 1.0.0 in /main/xiaozhi-server
Bumps [mem0ai](https://github.com/mem0ai/mem0) from 0.1.62 to 1.0.0.
- [Release notes](https://github.com/mem0ai/mem0/releases)
- [Changelog](https://github.com/mem0ai/mem0/blob/main/docs/changelog.mdx)
- [Commits](https://github.com/mem0ai/mem0/compare/0.1.62...v1.0.0)

---
updated-dependencies:
- dependency-name: mem0ai
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 13:19:42 +00:00
dependabot[bot]
c992ed48da
build(deps): bump torchaudio from 2.2.2 to 2.9.0 in /main/xiaozhi-server
Bumps [torchaudio](https://github.com/pytorch/audio) from 2.2.2 to 2.9.0.
- [Release notes](https://github.com/pytorch/audio/releases)
- [Commits](https://github.com/pytorch/audio/compare/v2.2.2...v2.9.0)

---
updated-dependencies:
- dependency-name: torchaudio
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 13:19:35 +00:00
Hanabi
bdf9cda4c5
Merge branch 'xinnan-tech:main' into main 2025-10-20 20:23:54 +08:00
dependabot[bot]
c85ffcc181
build(deps): bump openai from 1.107.0 to 2.5.0 in /main/xiaozhi-server
Bumps [openai](https://github.com/openai/openai-python) from 1.107.0 to 2.5.0.
- [Release notes](https://github.com/openai/openai-python/releases)
- [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openai/openai-python/compare/v1.107.0...v2.5.0)

---
updated-dependencies:
- dependency-name: openai
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 11:56:58 +00:00
dependabot[bot]
c53e3ed965
build(deps): bump ormsgpack from 1.7.0 to 1.11.0 in /main/xiaozhi-server
Bumps [ormsgpack](https://github.com/aviramha/ormsgpack) from 1.7.0 to 1.11.0.
- [Release notes](https://github.com/aviramha/ormsgpack/releases)
- [Changelog](https://github.com/aviramha/ormsgpack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aviramha/ormsgpack/compare/1.7.0...1.11.0)

---
updated-dependencies:
- dependency-name: ormsgpack
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 11:51:52 +00:00
dependabot[bot]
d374b77baa
build(deps): bump dashscope in /main/xiaozhi-server
Bumps [dashscope](https://dashscope.aliyun.com/) from 1.23.1 to 1.24.6.

---
updated-dependencies:
- dependency-name: dashscope
  dependency-version: 1.24.6
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 11:51:47 +00:00
FAN-yeB
434fba55f7 fix:修复单模块下发逻辑 2025-10-20 18:21:12 +08:00
Hanabi
d081803434
chore(util): 优化项目启动时检测ffmpeg环境时在某些场景下的提示
此次变动主要针对 Linux (Ubuntu 22.04) 环境下根据官方提供的README文档以及conda安装 ffmpeg 环境后出现缺失动态库libiconv.so.2的问题 报错完整信息如下:
`ffmpeg: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory` 基于以上报错信息 优化了util.py中的check_ffmpeg_installed函数
- 保留了原有命令行的提示信息 [定位问题更加友好]
- 抓取报错中的 libiconv.so.2 文本内容 进行提示用户通过conda安装 libiconv 动态库
2025-10-20 12:28:22 +08:00
Chingfeng Li
9194ffa6b7 如果已经配置了auth_key,则不使用uuid生成; 适配单模块启动,防止每次服务重启设备都无法连接问题 2025-10-20 11:57:18 +08:00
Sakura-RanChen
c06a7b1db6 update: 优化vad判断逻辑 2025-10-20 11:45:50 +08:00
欣南科技
4aedcb8419
Merge pull request #2371 from xinnan-tech/voice-clone
update:升级版本号
2025-10-19 13:14:20 +08:00
hrz
6c5bd395cb update:升级版本号 2025-10-19 13:13:44 +08:00
hrz
c66c92be73 update:智控台版本ota增加token返回字段 2025-10-18 21:24:19 +08:00
hrz
4f9ea49f8e
Merge pull request #2368 from myifeng/mian-ota-test
更新test页面,适配OTA认证
2025-10-18 14:28:39 +08:00
Chingfeng Li
89e299764d 调整测试认证 2025-10-17 18:06:22 +08:00
Chingfeng Li
49e1bbbf15 更新test测试页面,使用ota返回的连接信息和认证信息 2025-10-17 17:51:56 +08:00
hrz
aa7c07167c
Merge pull request #2346 from xinnan-tech/mcp_add_macaddress_test
update:通过JSON-RPC参数传递设备MAC地址
2025-10-17 09:42:01 +08:00
will.zhang
3b8bbb5c5f feat: 添加可配置的TTS音频发送延迟功能
- 修改 sendAudio() 函数,新增 tts_audio_send_delay 配置参数(毫秒)
- 0: 使用原有逻辑
- 大于0: 使用固定延迟发送(降低首包延迟,提升响应速度)
2025-10-14 18:30:17 +08:00
3030332422
f94b376f31 update:通过JSON-RPC参数传递设备MAC地址 2025-10-13 18:00:58 +08:00
hrz
13ce67e4c7
Merge pull request #2342 from xinnan-tech/py_fix_wakeup
fix: 相关状态未重置
2025-10-13 17:57:49 +08:00
欣南科技
eece86ab71
Merge pull request #2345 from xinnan-tech/ota-auth
Ota auth
2025-10-13 17:57:18 +08:00
hrz
4fd294dc80 update:
1、把ota_auth内容合并到auth.py
2、精简auth密钥,简化部署
2025-10-13 17:52:28 +08:00
Sakura-RanChen
4952ccfbf7 fix: 相关状态未重置 2025-10-13 16:47:05 +08:00
1cccux
450560f92a fix:修复长按聆听设备松开没有声音的问题 2025-10-13 10:57:48 +08:00
hrz
691a0529b0
Merge pull request #2330 from myifeng/ota-auth
OTA接口授权与认证
2025-10-13 10:51:34 +08:00
hrz
44f41ebd11 fix:回复词太短 2025-10-12 23:24:43 +08:00
Chingfeng Li
a10e94bef6 先认证,后创建连接,防止无效连接建立 2025-10-11 17:52:15 +08:00
3030332422
b5a3cc1c78 update:修改唤醒词 2025-10-11 15:48:27 +08:00
Chingfeng Li
c15069a9b6 OTA接口授权与认证 2025-10-11 15:27:18 +08:00
hrz
3249970b7b update:智控台音色克隆 2025-10-07 23:54:42 +08:00
hrz
6925732f72
Merge pull request #2285 from myifeng/prompt-template-args
提示词模板支持更多参数
2025-09-26 19:07:41 +08:00
FAN-yeB
5d77c96d76 update:更新测试工具以测试讯飞流式ASR、TTS首词响应时间 2025-09-26 11:05:00 +08:00
Chingfeng Li
111d945a9a 提示词模板支持更多参数 2025-09-25 14:35:01 +08:00