朱潮
f45f55b50a
add /api/v3/llm/chat/completions
2026-06-07 10:57:34 +08:00
朱潮
f18d966123
add /api/v3/llm/chat/completions
2026-06-07 10:55:25 +08:00
朱潮
5ed28123b4
merge
2026-05-20 15:30:39 +08:00
朱潮
1a1df7f76b
优化为标准mcp app协议
2026-05-20 14:54:07 +08:00
朱潮
495b8031bb
Merge branch 'feature/mcp-ui' into bot_manager
2026-05-19 19:23:57 +08:00
朱潮
c87daabd31
修改mcp协议
2026-05-19 19:19:39 +08:00
朱潮
65f3fba9ea
Merge branch 'feature/mcp-ui' into bot_manager
2026-05-19 18:54:46 +08:00
朱潮
7615bd36ca
修改mcp协议
2026-05-19 18:54:37 +08:00
朱潮
ece8b5b7d2
Merge branch 'feature/mcp-ui' into bot_manager
2026-05-19 15:36:59 +08:00
朱潮
7f66279311
修改mcp-ui协议
2026-05-19 15:27:36 +08:00
朱潮
333bef1289
Merge branch 'feature/mcp-ui' into bot_manager
2026-05-18 20:19:15 +08:00
朱潮
add8a1fd18
使用 mcp_ui_server 库构建 UIResource
2026-05-18 20:19:10 +08:00
朱潮
4039bb0cb9
Merge branch 'feature/mcp-ui' into bot_manager
2026-05-18 16:24:05 +08:00
朱潮
cb4a1df0b4
update mcp-ui
2026-05-18 16:23:32 +08:00
朱潮
8482ec35d9
Merge branch 'feature/mcp-ui' into bot_manager
2026-05-18 12:43:13 +08:00
朱潮
18ad1fe156
优化ask_user
2026-05-18 12:43:06 +08:00
朱潮
50b08047d2
Merge branch 'feature/mcp-ui' into bot_manager
2026-05-18 11:37:41 +08:00
朱潮
0bf7a87a0e
LLM 只需处理极短的 "Questions sent to user." 而不是完整的问题 JSON,减少了 token 消耗和延迟
2026-05-18 11:37:23 +08:00
朱潮
0bff09b61d
Merge branch 'feature/mcp-ui' into bot_manager
2026-05-17 14:07:33 +08:00
朱潮
02085b789a
support mcpUiUrl
2026-05-17 14:07:25 +08:00
朱潮
6d7bcd62cd
Merge branch 'feature/mcp-ui' into bot_manager
2026-05-15 19:25:56 +08:00
朱潮
03a30537ab
ask user question
2026-05-15 19:25:08 +08:00
朱潮
cacf31abbe
Merge branch 'feature/mcp-ui' into bot_manager
2026-05-15 18:02:34 +08:00
朱潮
26582f7d39
add config.tool_response or is_ui_resource — UIResource 始终输出,其他 tool response 仍受 tool_response 参数控制
2026-05-15 18:02:26 +08:00
朱潮
718ec5302e
Merge branch 'developing' into bot_manager
2026-05-12 12:44:19 +08:00
csh28
e4fc0db07d
chore: improve agent error logging
2026-05-11 20:29:27 +08:00
csh28
951948639e
Add agent final answer first char metric
2026-05-08 15:43:48 +08:00
朱潮
f5bb23a2d1
merge
2026-05-07 19:36:27 +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
朱潮
8446dab1e4
daytona support
2026-04-23 15:09:09 +08:00
朱潮
8e35d860a5
merge
2026-04-20 22:42:53 +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
朱潮
ccff7be046
Merge branch 'developing' into bot_manager
2026-04-11 21:02:18 +08:00
朱潮
3b70d7511d
remove max_tokens
2026-04-11 20:47:51 +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
朱潮
8e52b787f8
merge
2026-03-16 22:24:44 +08:00
朱潮
c27270588f
增加取消推理
2026-03-16 22:22:39 +08:00
朱潮
dd6dfb7116
Merge branch 'master' into bot_manager
2026-03-16 13:32:36 +08:00
朱潮
32fd8c8656
shell_env支持
2026-03-16 13:31:59 +08:00
朱潮
786e7c2a07
Merge branch 'master' into bot_manager
2026-03-15 16:53:36 +08:00
朱潮
b8368068ae
心跳发送增加 15 秒间隔判断,发送后也更新 last_yield_time
2026-03-15 16:53:18 +08:00
朱潮
f7e8680472
merge from master
2026-03-14 22:03:23 +08:00
朱潮
0469ea2ecd
心跳输出格式改成json
2026-03-12 19:32:37 +08:00
朱潮
94471c90d8
添加心跳机制
2026-03-12 16:57:44 +08:00
朱潮
85cc57ce1a
aupdate from_v2_request 新增 model_name、model_server、api_key 三个可选参数
2026-03-06 12:53:16 +08:00
朱潮
8264257ab6
现在 from_v2_request 的 model_name 和 model_server 优先级逻辑为:
...
1. 最高优先级:generate_cfg 中的 model / model_server(需不为空且不等于 whatever)
2. 回退:bot_config 中的值(原有逻辑)
2026-03-06 12:47:33 +08:00
朱潮
c6641337c1
Merge branch 'master' into bot_manager
2026-03-05 15:39:59 +08:00