朱潮
339144ad80
Merge branch 'feature/multimodal-image-input' into developing
2026-06-19 07:50:08 +08:00
朱潮
69eac00295
safe print 的base64 字段替换为 [truncated]
2026-06-19 07:49:53 +08:00
朱潮
aabb0ad072
Merge branch 'feature/multimodal-image-input' into developing
2026-06-18 12:54:31 +08:00
朱潮
13bdd9d40a
feat: support multimodal image (base64) input in chat API
...
Normalize OpenAI-style and LangChain standard image blocks into LangChain
standard content blocks so provider block_translators auto-convert for
either OpenAI or Anthropic. Flatten multimodal content to plain text when
persisting history and computing term embeddings.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 11:34:57 +08:00
朱潮
f85ddaf127
fix: remove stray sympy import causing startup failure
...
The unused 'from sympy.printing.cxx import none' was accidentally added
by IDE autocomplete. sympy is not installed in the image, so importing
agent/deep_assistant.py raised ModuleNotFoundError and the API server
crash-looped on startup.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 15:47:52 +08:00
朱潮
d8378fbb70
add no answer tag
2026-06-16 13:19:23 +08:00
朱潮
73042c57a6
add subagent_context_middleware
2026-06-12 15:56:26 +08:00
朱潮
e2827c6a47
add mainAgentHiddenTools
2026-06-12 11:03:30 +08:00
朱潮
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