Commit graph

1882 commits

Author SHA1 Message Date
rainv123
ae321b26af fix:知识库页面文本修改 2025-11-12 17:02:53 +08:00
rainv123
6de4a29dbf Merge branch 'knowledge-base-fix' of https://github.com/xinnan-tech/xiaozhi-esp32-server into Knowledge-Base 2025-11-12 16:46:57 +08:00
rainv123
37f0d2398e fix:删除空行 2025-11-12 16:46:20 +08:00
hrz
5c68be6636 update:优化引用答复 2025-11-12 16:46:04 +08:00
rainv123
ee2ac5f46f fix:优化rag配置的验证和报错 2025-11-12 16:45:26 +08:00
rainv123
99bc55f256 Merge branch 'knowledge-base-fix' of https://github.com/xinnan-tech/xiaozhi-esp32-server into Knowledge-Base 2025-11-12 15:57:51 +08:00
rainv123
5d860e5b45 fix:增加知识库操作时系统异常报错 2025-11-12 15:55:36 +08:00
hrz
a2069456b2 Merge branch 'main' into knowledge-base-fix 2025-11-12 15:10:57 +08:00
rainv123
2dc0c101c6 fix:错误信息日志补充 2025-11-12 15:04:05 +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
rainv123
96da84dad4 fix:错误处理优化 2025-11-11 16:02:46 +08:00
3030332422
59f55a4187 fix:修复 Mem0 搜索缺少 filters 导致的报错 2025-11-11 09:23:39 +08:00
rainv123
ab5e91c07b fix:优化知识库页面错误信息 2025-11-10 18:41:03 +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
rainv123
ee0d89d8d2 fix:知识库【编辑】【删除】操作逻辑修改 2025-11-10 15:14:32 +08:00
rainv123
5bead86fd5 fix:知识库描述增加校验 2025-11-10 15:11:48 +08:00
rainv123
79eefb651f update:角色配置页面mcp图标显示优化 2025-11-10 15:10:59 +08:00
hrz
c6835ddd11 fix:删除知识库时,需要删除缓存数据 2025-11-10 12:24:32 +08:00
hrz
466eae4c76 update:优化知识库输入提示 2025-11-09 00:25:12 +08:00
hrz
4b7b80aa2d update:同名知识库错误提示 2025-11-09 00:13:24 +08:00
hrz
dc5ff21002 update:优化rag模型列表接口 2025-11-08 23:44:40 +08: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
hrz
ff02c11558 Merge branch 'Knowledge-Base' of https://github.com/xinnan-tech/xiaozhi-esp32-server into Knowledge-Base 2025-11-06 22:01:06 +08:00
hrz
e8f5025e4d update:意图识别插件增加知识库 2025-11-06 22:00:38 +08:00
rainv123
90980652ce update:增加文档解析状态 2025-11-06 18:20:01 +08:00
3030332422
09dee65239 fix:修复部分LLM在工具调用时数据被空字符串覆盖的问题 2025-11-06 16:42:28 +08:00
hrz
eaf4f4b08e update:优化接口错误信息 2025-11-06 14:29:56 +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
hrz
65f7e794bc Merge branch 'Knowledge-Base' of https://github.com/xinnan-tech/xiaozhi-esp32-server into Knowledge-Base 2025-11-06 12:28:31 +08:00
hrz
987a72a3aa update:优化样式 2025-11-06 12:27:45 +08:00
rainv123
1aab88e8df Merge branch 'Knowledge-Base' of https://github.com/xinnan-tech/xiaozhi-esp32-server into Knowledge-Base 2025-11-06 11:56:07 +08:00
rainv123
a30ef520fb fix:删除无用代码 2025-11-06 11:55:41 +08:00
hrz
ea15ed39f5 update:更换更小规格的知识库图标 2025-11-06 11:10:00 +08:00
rainv123
873daf093d uptate:增加知识库权限判断 2025-11-05 17:02:27 +08:00
rainv123
289f2ad199 fix:修改知识库相关错误码 2025-11-05 16:42:32 +08:00
rainv123
7e15301d2b fix:增加RAG配置验证 2025-11-05 16:06:57 +08:00
rainv123
1792bf299b fix:增加RAG配置验证 2025-11-05 16:03:19 +08:00
rainv123
4cde66e7de fix:知识库接口调整 2025-11-05 15:05:53 +08:00
rainv123
3eeace5d5f fix:修改分页传递参数 2025-11-05 14:50:52 +08:00
rainv123
7215ded7e8 fix:删除无用代码 2025-11-05 14:29:52 +08:00
rainv123
1c6ee46d61 update:删除知识库文档上传无用接口 2025-11-05 10:00:27 +08:00
rainv123
ca87b23d15 upatate:删除知识库无用接口和方法 2025-11-05 09:47:43 +08:00
rainv123
fd47ce8e69 fix:删除错误图标 2025-11-05 09:17:05 +08:00
rainv123
a82cf6e300 update:格式调整 2025-11-05 09:13:44 +08:00
rainv123
0008ca6335 uptate:删除知识库无用接口和方法 2025-11-04 18:12:19 +08:00
rainv123
f127f38cbc fix:修改知识库图标 2025-11-04 17:44:44 +08:00
rainv123
f29f4086b3 update:修改知识库图标 2025-11-04 17:19:10 +08:00
rainv123
b65ae6dc55 add:RAG 2025-11-04 16:48:19 +08:00
rainv123
11b4b06c92 Merge commit '98011272ffb66c1a4e314e496bc301e0a975bd1e' into Knowledge-Base 2025-11-04 16:22:09 +08:00
rainv123
98011272ff add:RAG 2025-11-04 16:21:01 +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
838d9a3927 update:优化模型id输入框位置 2025-11-02 17:14:11 +08:00
hrz
8e12e75b2f
Merge pull request #2445 from KurobaKaitou/main
feat[Improvement]: add support for customizing model id when adding model provider configurations.
2025-11-02 15:52:04 +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
Hanabi
121318dc37
Merge branch 'xinnan-tech:main' into main 2025-11-01 11:55:19 +08:00
hrz
e59df53c99 Bump to 0.8.6 2025-11-01 11:15:58 +08:00
zhilin
e19fb24009 fix: checkout incorrect remove package-lock.json file 2025-11-01 10:09:11 +08:00
小雨
419e7f6dcc fix: fix incorrect remove application-dev.yml file of manager-api 2025-11-01 01:25:46 +08:00
小雨
b3f13e274f feat: Solve the problem of #2198 custom model ID 2025-11-01 01:22:21 +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