朱潮
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
朱潮
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
朱潮
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
朱潮
044749e2ce
在 "Skill Execution Workflow" 之前新增了 "Skills vs Tools - CRITICAL DISTINCTION"
...
段落
2026-04-04 23:24:07 +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
朱潮
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
朱潮
44db634cbb
Merge branch 'feature/moshui20260330-schedule-job' into dev
2026-04-01 10:37:16 +08:00
朱潮
d6ee567758
schedule 优化
2026-04-01 10:37:03 +08:00
朱潮
fd0fbc422d
uuid2str
2026-04-01 10:27:21 +08:00
朱潮
89a9d81892
Merge branch 'feature/moshui20260330-schedule-job' into dev
2026-03-31 20:56:29 +08:00
朱潮
85a262257e
update schedule skill
2026-03-31 20:56:20 +08:00
朱潮
dc2e8a39e3
Merge branch 'feature/moshui20260330-schedule-job' into dev
2026-03-31 20:04:49 +08:00
朱潮
d38a737730
两个 Dockerfile 中的 npm 安装命令里添加了 nodemailer
...
和 dotenv:
2026-03-31 19:30:40 +08:00
朱潮
daa5bf345a
update schedule skill
2026-03-31 16:23:03 +08:00
朱潮
bc59234eac
update skill
2026-03-31 16:11:09 +08:00
朱潮
c2f7148f98
增加环境变量到pre prompt
2026-03-31 14:37:20 +08:00
朱潮
393c4e4138
schedule 通过 aiohttp POST 请求调用
...
http://127.0.0.1:8001/api/v2/chat/completions
2026-03-31 11:19:59 +08:00
朱潮
4090b4d734
将 users 改为 Path(users),使 / 运算符可以正确拼接路径。
2026-03-31 10:06:07 +08:00
朱潮
9cc0d72430
update schedule
2026-03-31 10:00:16 +08:00
朱潮
3b9c7165a9
feat: 添加定时任务调度系统(schedule-job)
...
- 新增 schedule-job skill,支持 cron 周期任务和一次性定时任务
- 新增 schedule_manager.py CLI 工具(list/add/edit/delete/toggle/logs)
- 新增 ScheduleExecutor 全局异步调度器,每 60s 扫描到期任务并调用 agent 执行
- 任务数据存储在 projects/robot/{bot_id}/users/{user_id}/tasks.yaml
- 执行结果写入 task_logs/execution.log
- 集成到 FastAPI lifespan 生命周期管理
- 添加 croniter、pyyaml 依赖
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 23:17:47 +08:00
朱潮
2bc071645f
merge from onprem
2026-03-30 21:22:19 +08:00
朱潮
52a700e0db
Merge branch 'onprem-release' into dev
2026-03-30 21:21:37 +08:00
朱潮
7214adcf8e
Merge branch 'dev' of https://github.com/sparticleinc/catalog-agent into dev
2026-03-30 21:02:05 +08:00