朱潮
5b7522eff2
merge guideline-assistant-message-error
2026-04-09 16:59:56 +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
朱潮
b23412b84b
Merge branch 'feature/pre-memory-prompt' into onprem-release
2026-04-03 11:59:37 +08:00
朱潮
05e22391ed
merge FACT_RETRIEVAL_PROMPT.md
2026-04-03 10:34:09 +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
朱潮
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
朱潮
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
朱潮
fea6b35779
✨ feat: 添加 PreMemoryPrompt hook 支持自定义记忆提取提示词
...
通过插件 hook 机制允许自定义 Mem0 的 FACT_RETRIEVAL_PROMPT,
包含联系人关系追踪和同姓消歧等增强能力。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 20:36:35 +08:00
朱潮
6b6fad9c1c
Merge branch 'onprem-dev' into onprem-release
2026-03-27 15:08:37 +08:00
朱潮
d0b619f4f1
Merge branch 'onprem' into onprem-dev
2026-03-27 12:31:32 +08:00
朱潮
6300eea61d
refactor: 将 citation 详细提示词从 system prompt 移至 RAG tool result 按需注入
...
system prompt 中的 citation 规则(document/table/web 三类约80行)占用大量 token,
现将详细格式要求移到 rag_retrieve_server.py 中作为工具返回前缀按需注入,
system prompt 仅保留精简版通用 placement rules。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 12:30:20 +08:00
朱潮
becd36da9d
增加高亮功能
2026-03-27 12:12:50 +08:00
朱潮
89b7bb9928
fix: 解压 skill 到 robot 目录时清理不在列表中的多余 skill 文件夹
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 15:55:06 +08:00
朱潮
6b9ae7f86a
fix: skill 删除时同步清理 robot 目录,解压时跳过已存在的 skill
...
1. remove_skill 删除 uploads 下的 skill 后,同步删除 projects/robot/{bot_id}/skills/ 下的副本
2. _extract_skills_to_robot 不再每次全量清空重建,已存在的 skill 直接跳过
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 15:47:28 +08:00
朱潮
1b4fcb3d71
refactor: 改用基于元数据文件位置的 skill 结构检测
...
将 skill 上传检测逻辑从基于 zip 文件结构(是否有顶级目录)改为基于
SKILL.md 和 .claude-plugin/plugin.json 的实际位置:先检查解压根目录,
再检查第二级子目录。统一解压到临时目录后再按结构移动到 skills 目录。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 15:30:17 +08:00
朱潮
b33acf9da0
Merge branch 'master' into prod
2026-03-25 23:59:04 +08:00
朱潮
ee65d208a8
Merge branch 'prod' into staging
2026-03-24 10:54:59 +08:00
朱潮
2d82d7c8b6
merge from developing
2026-03-24 10:54:54 +08:00
朱潮
e13405ba29
shell_env support
2026-03-24 00:12:19 +08:00
朱潮
29da20fa22
soffice sharp 支持
2026-03-18 23:54:41 +08:00
朱潮
e713a0a903
Merge branch 'prod' into onprem
2026-03-18 15:40:52 +08:00
朱潮
f9839b9bc4
Merge branch 'prod' into onprem-release
2026-03-18 15:40:50 +08:00
朱潮
eda54757e6
Merge branch 'prod' into master
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 15:40:23 +08:00
朱潮
4b3cab0cc7
Merge branch 'prod' into onprem-dev
2026-03-18 15:38:08 +08:00
shuirong
822589eab6
ci: 重新调整CI
2026-03-18 16:16:53 +09:00
朱潮
709a967537
Merge branch 'developing'
2026-03-17 22:06:23 +08:00
朱潮
0c985607b5
Merge branch 'master' of https://github.com/sparticleinc/catalog-agent
2026-03-17 22:04:50 +08:00
朱潮
cc99ba67ac
merge
2026-03-17 22:04:30 +08:00
朱潮
e2e0a7d985
跨语言场景 - 即使用户用其他语言提问,也必须用指定语言回复
2026-03-17 22:03:23 +08:00
朱潮
380764d5ed
add chromium
2026-03-17 14:48:50 +08:00
朱潮
95e34ed172
add chromium
2026-03-17 14:27:16 +08:00
autobee-sparticle
a161e43421
feat: add POST /api/v1/memory endpoint for realtime conversation memory ( #17 )
...
* feat: add POST /api/v1/memory endpoint for realtime conversation memory
Add memory extraction API that accepts conversation messages and
stores them via Mem0. This enables realtime voice sessions to save
memories through the same pipeline as chat conversations.
Fixes : sparticleinc/mygpt-frontend#2126
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address code review findings for memory API
- Use Literal["user","assistant"] for role field validation
- Add Field constraints (min_length, max_length=200)
- Track and report pairs_failed in response
- Hide internal exception details from HTTP response
- Remove unused authorization parameter (internal API)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: zhuchao <zhuchaowe@163.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 11:14:02 +09:00
autobee-sparticle
deb78a7625
fix: improve memory extraction for colloquial/informal speech ( #16 )
...
* chore: add .worktrees/ to .gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat(CI): 添加 onprem-dev 环境的构建和部署配置
在 CircleCI 配置中新增 onprem-dev 环境的 build-and-push 和 deploy 任务,部署到 cluster-for-B 的 onprem-dev 命名空间
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: improve memory extraction for colloquial/informal speech
Add semantic completeness rules and multilingual few-shot examples
to FACT_RETRIEVAL_PROMPT to prevent truncated or semantically incorrect
memory extraction. Specifically addresses Japanese casual speech where
particles (が, を, に) are often omitted.
Closes sparticleinc/mygpt-frontend#2125
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: zhuchao <zhuchaowe@163.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: shuirong <shuirong1997@icloud.com>
2026-03-17 10:37:49 +09:00
朱潮
f24c3ff78f
playwright support
2026-03-16 23:07:00 +08:00
朱潮
c27270588f
增加取消推理
2026-03-16 22:22:39 +08:00
shuirong
d2e6af5974
Merge pull request #15 from sparticleinc/prod
...
feat(CI): 添加 onprem-dev 环境的构建和部署配置
2026-03-16 16:19:41 +09:00
shuirong
0a6ec95518
feat(CI): 添加 onprem-dev 环境的构建和部署配置
...
在 CircleCI 配置中新增 onprem-dev 环境的 build-and-push 和 deploy 任务,部署到 cluster-for-B 的 onprem-dev 命名空间
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 16:18:50 +09:00
朱潮
32fd8c8656
shell_env支持
2026-03-16 13:31:59 +08:00
朱潮
b8368068ae
心跳发送增加 15 秒间隔判断,发送后也更新 last_yield_time
2026-03-15 16:53:18 +08:00
朱潮
8cab0180e3
update novare
2026-03-13 21:50:57 +08:00
朱潮
7a058065c1
在 routes/skill_manager.py:669-672,解压完成后立即检测并删除 __MACOSX 目录,这样后续的 skill
...
验证流程就不会受到干扰。
2026-03-13 10:08:38 +08:00
朱潮
5de9803d0c
Merge branch 'feature/agentic_rag'
2026-03-12 19:54:31 +08:00
朱潮
9f669e1b6d
dataset支持dataset_id软连接
2026-03-12 19:54:09 +08:00
朱潮
63e6178149
Merge branch 'master' into onprem
2026-03-12 19:35:35 +08:00
朱潮
0469ea2ecd
心跳输出格式改成json
2026-03-12 19:32:37 +08:00
朱潮
83f42ef7d4
Merge branch 'master' into onprem
2026-03-12 16:57:58 +08:00
朱潮
94471c90d8
添加心跳机制
2026-03-12 16:57:44 +08:00
朱潮
dab429dafd
Merge branch 'master' into onprem
2026-03-12 11:59:53 +08:00
朱潮
082630e281
table_rag_retrieve 和 rag_retrieve 增加调用策略
2026-03-12 11:59:38 +08:00
朱潮
543b4757c7
Merge branch 'master' into onprem
2026-03-11 22:05:49 +08:00