CGD
f47f3b050b
Merge pull request #3297 from xinnan-tech/fix/manager-api-compiler-warnings
...
fix(manager-api): 清理编译器告警
2026-07-22 16:22:46 +08:00
wengzh
e3453b1a87
Merge pull request #3298 from xinnan-tech/py-fix-intent
...
Py fix intent
2026-07-21 15:16:19 +08:00
Tyke Chen
d760465408
fix(manager-api): make JSON collections type-safe
2026-07-21 14:43:25 +08:00
Tyke Chen
bdb2538239
fix(manager-api): clean deprecated and generic warnings
2026-07-21 14:43:25 +08:00
CGD
ea6c144e43
Merge pull request #3294 from xinnan-tech/fix/manager-api-startup-warnings
...
fix(manager-api): 消除启动阶段告警
2026-07-21 14:37:22 +08:00
CGD
a79aa455d6
Merge pull request #3292 from xinnan-tech/fix/manager-api-test-i18n
...
test: 修复 manager-api 国际化测试配置
2026-07-21 14:29:30 +08:00
wengzh
6e92d169ec
refactor(get_news_from_newsnow): 改用流式处理解析网页内容
...
将原有的直接转换响应内容改为流式读取字节流并传入参数,适配MarkItDown的convert_stream接口,优化大内容处理时的内存占用
2026-07-20 15:51:23 +08:00
Sakura-RanChen
ed89c05245
fix: intent阻塞主线程
2026-07-20 14:48:26 +08:00
Tyke Chen
b500d1c6bd
fix(manager-api): avoid duplicate address book insert mapping
2026-07-20 14:46:14 +08:00
Tyke Chen
0598b09629
fix(manager-api): remove invalid logback startup directives
2026-07-20 14:46:14 +08:00
Tyke Chen
e4907121f4
fix(manager-api): eliminate premature bean initialization warnings
2026-07-20 14:46:14 +08:00
CGD
7c58fa37b2
Merge pull request #3293 from xinnan-tech/refactor/mybatis-plus-single-source
...
refactor(manager-api): consolidate MyBatis-Plus 3.5.17 integration
2026-07-20 14:42:31 +08:00
Tyke Chen
2a618d2f8f
test: 修复 manager-api 国际化测试配置
2026-07-20 10:34:33 +08:00
Tyke Chen
10a67c772f
refactor(manager-api): consolidate mybatis-plus 3.5.17 integration
2026-07-20 10:31:08 +08:00
CGD
7e8e5d34b8
Merge pull request #3279 from xinnan-tech/fix/issue-3276-context-provider
...
fix: 修复 ContextProviderListTypeHandler 多版本兼容问题
2026-07-17 09:28:14 +08:00
CGD
c6bc20c05e
Merge pull request #3283 from xinnan-tech/fix/device-timezone-consistency
...
fix: 修复跨时区场景下设备时间与在线状态异常
2026-07-16 16:58:49 +08:00
Brad Shannon
31cc365fcd
fix(core): guard orphan tool messages in dialogue serialization
...
The intent REQLLM path (core/handle/intentHandler.py) records a tool result via
`Message(role="tool", content=text)` with no tool_call_id and no preceding
assistant tool_calls. `Dialogue.getMessages` serializes it as a function_response
anyway. When that history is later replayed to an OpenAI-compatible endpoint,
the endpoint derives `function_response.name` by matching the tool_call_id back
to a function_call; with no match the name is empty.
gemini-2.5-flash tolerated the empty name, but gemini-3.5-flash rejects the whole
request with HTTP 400 "GenerateContentRequest.contents[N].parts[0]
.function_response.name: Name cannot be empty", so every affected turn falls back
to "Sorry, the system is busy now." Only tool-using sessions and only the chat
turns that replay the accumulated tool results were affected.
Guard at the serialization boundary in `getMessages`: emit a role="tool" message
as a function_response only when a preceding assistant message carries a matching
tool_call id; otherwise demote it to a plain assistant context line so the turn
survives. Valid tool-call pairs — including empty-string ids that still match —
are unchanged. This defends against any orphan source, not just the intent path.
Adds self-contained regression tests (no conftest required).
2026-07-14 16:09:00 -04:00
wengzh
1998807b69
Merge pull request #3285 from xinnan-tech/py-aec
...
perf: 优化相关逻辑减少重复计算
2026-07-14 16:36:16 +08:00
Sakura-RanChen
55c0495661
perf: 优化相关逻辑减少重复计算
2026-07-14 15:52:30 +08:00
Tyke Chen
dbeda01697
fix: 修复设备跨时区时间与在线状态
2026-07-14 10:08:23 +08:00
Tyke Chen
023dea2441
fix: 修复上下文源类型处理器兼容问题
2026-07-13 16:03:39 +08:00
CGD
ad3fb4d8c8
Merge pull request #3278 from xinnan-tech/agent-snapshot-history-fixes
...
fix: 完善智能体配置历史与恢复逻辑
2026-07-13 15:47:08 +08:00
3030332422
176785830a
update:修改部分样式
2026-07-13 15:44:06 +08:00
Tyke Chen
d78ecfce6f
Merge remote-tracking branch 'origin/main' into agent-snapshot-history-fixes
2026-07-10 20:26:30 +08:00
Tyke Chen
179281e49c
fix: harden agent snapshot restore flow
2026-07-10 20:21:44 +08:00
hrz
bc1aa1a089
Merge pull request #3267 from xinnan-tech/fix-agent-idor
...
fix: prevent agent IDOR access
2026-07-10 17:36:00 +08:00
wengzh
c5b64c3ef0
Merge pull request #3270 from xinnan-tech/fix-voiceprint-dialogue-bug
...
fix: 修改提示词与说话人注入逻辑,减少模型回答带着说话人信息频率
2026-07-10 15:55:58 +08:00
DaGou12138
2aa6c5ee49
fix:
...
1.优化context注入方式,合并为一个system,解决qwen本地部署模型多system异常400问题
2026-07-10 15:05:02 +08:00
Tyke Chen
687b6db96b
fix: resolve mobile type and lint errors
2026-07-10 11:45:16 +08:00
Tyke Chen
a5aee109fe
feat: improve agent snapshot history
2026-07-10 11:44:35 +08:00
hrz
8ec5851027
Merge pull request #3273 from xinnan-tech/agent-delete-name-confirm
...
feat: 删除智能体前需要用户进行确认
2026-07-10 10:39:47 +08:00
Tyke Chen
48d629c79c
fix: localize agent deletion success message
2026-07-10 10:18:48 +08:00
wengzh
14e57a1add
fix(powermem): 修复用户配置启用状态的类型判断问题
...
将配置的启用值统一转为小写字符串后判断是否为true,避免非布尔类型配置导致的判断失效
2026-07-10 10:06:07 +08:00
hrz
634967b2fe
Merge pull request #3274 from xinnan-tech/i18n-duplicate-check
...
test: 增加 i18n 重复 key 检测
2026-07-10 09:59:33 +08:00
Tyke Chen
e648453c67
fix: rename i18n check command
2026-07-10 09:55:53 +08:00
Tyke Chen
d11cfc6923
Merge remote-tracking branch 'origin/main' into fix-agent-idor
...
# Conflicts:
# main/manager-api/src/main/java/xiaozhi/modules/agent/controller/AgentController.java
# main/manager-api/src/main/java/xiaozhi/modules/agent/service/AgentService.java
# main/manager-api/src/main/java/xiaozhi/modules/agent/service/impl/AgentServiceImpl.java
2026-07-09 20:21:37 +08:00
DaGou12138
32fbbf92fe
Merge branch 'refs/heads/main' into fix-voiceprint-dialogue-bug
2026-07-09 16:56:22 +08:00
wengzh
bd981aac79
Merge pull request #3275 from xinnan-tech/py-audio-aec
...
feat: 服务端AEC功能
2026-07-09 16:24:03 +08:00
Sakura-RanChen
adee070bb0
Merge branch 'main' into py-audio-aec
2026-07-09 15:51:01 +08:00
wengzh
03ec3bac3f
Merge pull request #3271 from xinnan-tech/py-fix-bug
...
Py fix bug
2026-07-09 15:36:59 +08:00
Tyke Chen
af5fbb5282
test: add i18n duplicate key check
2026-07-09 15:25:36 +08:00
Tyke Chen
9301c1889f
feat: require agent name confirmation before delete
2026-07-09 15:03:12 +08:00
hrz
ef2ed07c1c
Merge pull request #3266 from xinnan-tech/agent-snapshot-history
...
Add agent configuration history
2026-07-09 14:54:27 +08:00
Tyke Chen
1e2c4c6a28
fix: 修复智能体快照基线与查看逻辑
2026-07-09 11:16:07 +08:00
Sakura-RanChen
a32500a6a4
fix: 消除死锁隐患
2026-07-09 10:29:41 +08:00
hrz
772af6c918
Merge branch 'agent-snapshot-history' of https://github.com/xinnan-tech/xiaozhi-esp32-server into agent-snapshot-history
2026-07-08 17:46:50 +08:00
hrz
2a917c1e62
update:对齐i18n文件行数
2026-07-08 17:44:10 +08:00
Tyke Chen
c32fbe69c5
Remove wakeup word audio asset
2026-07-08 16:33:36 +08:00
DaGou12138
3b6e8f0e4b
fix:
...
1.优化声纹称呼人提示词和注入逻辑,减少次次都称呼的频率
2026-07-08 16:14:10 +08:00
Tyke Chen
aae2ef2152
fix: prevent agent IDOR access
2026-07-08 15:52:47 +08:00