朱潮
66cde77117
Merge branch 'feature/fix_large_results_backend' into dev
2026-06-02 20:57:18 +08:00
朱潮
6bccd89e9a
在 agent/deep_assistant.py 把两个落盘 backend 改为 virtual_mode=True 修复
2026-06-02 20:56:43 +08:00
csh28
ecc2687f7b
Add tool call metrics middleware
2026-05-29 11:10:31 +08:00
朱潮
be44c243fd
Merge branch 'feature/mcp-ui' into staging
2026-05-28 09:55:30 +08:00
csh28
fb5562f977
fix: align mem0 pgvector config with validation
2026-05-26 10:36:52 +08:00
csh28
1dd45107af
fix: align mem0 pgvector config with validation
2026-05-22 11:28:23 +08:00
csh28
dc2a212f35
Merge branch 'optimize/docker-size-baseline' into dev
2026-05-22 10:59:43 +08:00
csh28
5129fdcc05
fix: import asyncio.
2026-05-22 10:59:34 +08:00
csh28
e38fd17b97
Merge docker embedding dependency optimization
2026-05-21 20:31:44 +08:00
csh28
45cf140472
Optimize catalog-agent image embedding dependencies
2026-05-21 20:30:54 +08:00
朱潮
776acc2373
DaytonaSandbox support shell env
2026-05-21 19:46:22 +08:00
朱潮
5dfe2eba28
feat: add bot_id and model to langfuse metadata
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 18:14:41 +08:00
朱潮
32508ae9d4
fix: langfuse CallbackHandler API and tarfile dereference parameter
...
- Update langfuse CallbackHandler to use trace_context instead of removed trace_id/session_id/user_id params
- Pass session_id/user_id via LangChain metadata with langfuse_ prefix
- Move dereference param from TarFile.add() to tarfile.open()
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 17:14:37 +08:00
朱潮
0c84beaeb0
add langfuse
2026-05-14 16:45:21 +08:00
朱潮
3f895f8fe4
add langfuse
2026-05-14 12:14:21 +08:00
csh28
65db950aa8
Merge branch 'feature/agent-final-answer-first-char' into dev
2026-05-11 21:05:53 +08:00
csh28
a9aaa851e9
chore: Add methods tools/call.
2026-05-11 21:05:41 +08:00
csh28
6d9bcc0400
Merge origin/dev into dev
2026-05-11 20:56:47 +08:00
csh28
e4fc0db07d
chore: improve agent error logging
2026-05-11 20:29:27 +08:00
朱潮
5b634bc2ab
增加子agent支持
2026-05-11 18:55:25 +08:00
csh28
1f06450402
Propagate trace id through MCP metadata
2026-05-08 18:59:42 +08:00
csh28
951948639e
Add agent final answer first char metric
2026-05-08 15:43:48 +08:00
朱潮
425f3c5bb4
chore: replace Chinese comments and log messages with English
...
Convert all Chinese comments, docstrings, logger/print output,
HTTPException detail messages, and API response messages to English
across the entire codebase. Functional zh/ja localized strings
(e.g. prompt templates, timezone display names, date formats) are
preserved as-is.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-30 19:45:35 +08:00
朱潮
45a94942b8
异步执行 _execute_post_agent_hooks
2026-04-24 13:07:44 +08:00
朱潮
51fbf01236
update hook_content
2026-04-23 16:46:55 +08:00
朱潮
8446dab1e4
daytona support
2026-04-23 15:09:09 +08:00
朱潮
c9e07898fc
daytona support
2026-04-23 11:42:50 +08:00
朱潮
f13f208900
add ENABLE_SELF_KNOWLEDGE
2026-04-20 19:24:30 +08:00
朱潮
dfc1c003c6
sanitize_model_kwargs
2026-04-20 19:00:15 +08:00
朱潮
9f12a633bc
优化mcp配置
2026-04-17 11:05:16 +08:00
朱潮
393842b3f2
优化提示词
2026-04-16 17:22:27 +08:00
朱潮
8c49997ed6
dataset to datsets
2026-04-15 11:09:55 +08:00
朱潮
d4bdff64f7
Merge branch 'feature/moshui20260410-file-path-fix' into developing
2026-04-13 18:54:09 +08:00
朱潮
4591163282
修复空内容重试
2026-04-11 19:15:53 +08:00
朱潮
3da3cc90e1
virtual_mode=False
2026-04-11 17:52:48 +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
朱潮
d2bba9e095
update path fix
2026-04-10 17:17:03 +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
朱潮
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
朱潮
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
朱潮
fd0fbc422d
uuid2str
2026-04-01 10:27:21 +08:00
朱潮
dc2e8a39e3
Merge branch 'feature/moshui20260330-schedule-job' into dev
2026-03-31 20:04:49 +08:00
朱潮
c2f7148f98
增加环境变量到pre prompt
2026-03-31 14:37:20 +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
朱潮
e13405ba29
shell_env support
2026-03-24 00:12:19 +08:00