Commit Graph

640 Commits

Author SHA1 Message Date
朱潮
e304988177 Merge branch 'feature/moshui20260411-deepagents-0_5_2' into bot_manager 2026-04-11 21:52:53 +08:00
朱潮
2fda0c7b89 Merge branch 'prod' into feature/moshui20260411-deepagents-0_5_2 2026-04-11 21:51:02 +08:00
朱潮
ccff7be046 Merge branch 'developing' into bot_manager 2026-04-11 21:02:18 +08:00
朱潮
bd8951c3c0 Merge branch 'feature/moshui20260411-deepagents-0_5_2' into developing 2026-04-11 21:01:59 +08:00
朱潮
3b70d7511d remove max_tokens 2026-04-11 20:47:51 +08:00
朱潮
3c681c4760 Merge branch 'feature/moshui20260411-deepagents-0_5_2' into developing 2026-04-11 19:59:59 +08:00
朱潮
4591163282 修复空内容重试 2026-04-11 19:15:53 +08:00
朱潮
3da3cc90e1 virtual_mode=False 2026-04-11 17:52:48 +08:00
朱潮
4f6ad19178 docker file 2026-04-11 16:35:30 +08:00
朱潮
2964326cb8 update to deepagents 0.5.2 2026-04-11 16:23:59 +08:00
朱潮
ed34ff9ee9 Merge branch 'prod' into developing 2026-04-11 16:08:16 +08:00
朱潮
a9044c6d2e TOOL_OUTPUT_MAX_LENGTH 扩展 2026-04-11 13:31:45 +08:00
朱潮
7d22f0b34d 禁止路径穿越 2026-04-11 11:48:18 +08:00
朱潮
788bb0089f upgrade to deepagents-0_5_2 2026-04-11 11:40:43 +08:00
朱潮
b6976cc8bf Merge branch 'onprem-release' into developing 2026-04-11 10:42:08 +08:00
朱潮
f67d18e13f Merge branch 'onprem-dev' into developing 2026-04-11 10:42:00 +08:00
朱潮
6813a48a99 Merge branch 'dev' into developing 2026-04-11 10:41:51 +08:00
朱潮
4d75075406 Merge branch 'prod' into developing 2026-04-11 10:39:37 +08:00
朱潮
675d7d3e12 Merge branch 'onprem-dev' into onprem-release 2026-04-11 10:38:56 +08:00
朱潮
4625ddf5a9 merge from dev 2026-04-11 10:38:26 +08:00
朱潮
5b7522eff2 merge guideline-assistant-message-error 2026-04-09 16:59:56 +08:00
朱潮
aae1742b37 merge guideline-assistant-message-error 2026-04-09 16:59:06 +08:00
朱潮
d1e31953b0 merge guideline-assistant-message-error 2026-04-09 15:05:11 +08:00
朱潮
513dda8bbb 🐛 fix: 修复 GuidelineMiddleware 导致 assistant message prefill 报错
enable_thinking 开启时,thinking 中间件将 AIMessage 追加到 messages 末尾,
导致不支持 assistant prefill 的模型返回 400 错误。
修复方式:在 AIMessage 后追加多语言 HumanMessage,确保消息以 user 结尾。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 15:02:28 +08:00
朱潮
989735e89f update nfc_medicine_lookup 2026-04-09 09:53:58 +08:00
朱潮
821bd52d28 add nfc id 2026-04-07 20:18:26 +08:00
朱潮
13fcae0d96 Merge branch 'developing' into bot_manager 2026-04-04 23:36:16 +08:00
朱潮
59cf7fd904 🐛 fix: 修复 prompt 模板花括号转义,避免 str.format() KeyError
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 23:36:09 +08:00
朱潮
2216b01dcb 🐛 fix: 修复 prompt 模板花括号转义及 tool_call_chunk 安全访问
- prompt 中 JSON 示例的 {} 被 str.format() 误解析为模板变量,转义为 {{}}
- tool_call_chunk 改用 .get() 安全访问,避免 KeyError

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 23:35:12 +08:00
朱潮
b1b98caad7 安全访问,同时兼容 dict 和对象两种类型。这样即使某个 chunk 缺少 name 字段也不会崩溃。 2026-04-04 23:31:46 +08:00
朱潮
314a693793 Merge branch 'developing' into bot_manager 2026-04-04 23:24:17 +08:00
朱潮
044749e2ce 在 "Skill Execution Workflow" 之前新增了 "Skills vs Tools - CRITICAL DISTINCTION"
段落
2026-04-04 23:24:07 +08:00
朱潮
2774069f8e add weather 2026-04-04 21:06:56 +08:00
朱潮
2cc8b893f7 remove 2026-04-04 08:01:21 +08:00
朱潮
f3165944d2 docs: enhance weather-forecasts SKILL.md with time-range queries
Add tomorrow, day after tomorrow, and 7-day weekly forecast examples.
Expand Open-Meteo section with daily and hourly forecast endpoints.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:00:47 +08:00
朱潮
85a2b50798 add schedule-jpb 2026-04-03 21:11:48 +08:00
朱潮
cc7336b3a4 add nfc-medicine-lookup 2026-04-03 21:10:19 +08:00
朱潮
1321471202 add file_manage doc 2026-04-03 19:57:34 +08:00
朱潮
b23412b84b Merge branch 'feature/pre-memory-prompt' into onprem-release 2026-04-03 11:59:37 +08:00
朱潮
c4a0ce1162 Merge branch 'feature/pre-memory-prompt' into onprem-dev 2026-04-03 11:55:53 +08:00
朱潮
0d18c2fc61 Merge branch 'feature/pre-memory-prompt' into bot_manager 2026-04-03 11:29:04 +08:00
朱潮
05e22391ed merge FACT_RETRIEVAL_PROMPT.md 2026-04-03 10:34:09 +08:00
朱潮
ab6b68268e Merge branch 'feature/pre-memory-prompt' into dev 2026-04-02 17:49:21 +08:00
朱潮
5eb0b7759d 🐛 fix: 修复 Mem0 连接池耗尽问题,改为操作级连接获取/释放
每个缓存的 Mem0 实例长期持有数据库连接导致并发时连接池耗尽。
改为每次操作前从池中获取连接、操作后立即释放,并添加 Semaphore 限制并发数。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:46:00 +08:00
朱潮
845815866e Merge branch 'feature/pre-memory-prompt' into dev 2026-04-02 16:49:32 +08:00
朱潮
7da8466b3d feat: 记忆排除规则新增设备状态查询、故障报告、联系方式查找
- 新增排除类别:设备/设施状态查询与结果、Bug/故障报告、联系方式查找
- 新增3个日语负例 few-shot examples

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:48:11 +08:00
朱潮
76e742e7b3 merge FACT_RETRIEVAL_PROMPT.md 2026-04-02 16:45:29 +08:00
朱潮
bb23d230d1 feat: 优化记忆提示词,过滤操作性/查询性动作
- 新增 EXCLUDE 排除规则,过滤查询动作、设备操作、一次性指令等不应记忆的信息
- 新增7个日语负例 few-shot examples(查询员工信息、操作灯光、设置空调等)
- 新增核心判断规则:只记忆用户是谁,不记忆用户让助手做了什么
- 同步合并 dev 分支的 plain language 规则和语义完整性改进

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:44:04 +08:00
朱潮
738a904a6f merge 2026-04-02 11:25:20 +08:00
autobee-sparticle
213e541697
fix: resolve PrePrompt Hook env var crash and increase Mem0 pool size (#24)
1. Fix "all environment values must be bytes or str" error in hook execution
   by ensuring all env values are converted to str (getattr may return None
   when attribute exists but is None). Also sanitize shell_env values.

2. Increase MEM0_POOL_SIZE default from 20 to 50 to address "connection pool
   exhausted" errors under high concurrency.

Fixes: sparticleinc/felo-mygpt#2519

Co-authored-by: zhuchao <zhuchaowe@163.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 22:04:31 +09:00