feat: 收尾默认轮数统一改为 10
This commit is contained in:
1 parent
bf2410baee
commit
d9fd9de1d5
3 files changed
+7
-7
No files matched your search
+1
-1
@@ -124,7 +124,7 @@ func (c *ChatAgent) Chat(ctx context.Context, agentKey, sessionID, message strin
|
||||
// 截断上限用 SDK 默认(tool.Capture 的 30000 字符)。
|
||||
ToolOutputDir: filepath.Join(sessionWorkDir, "cmd-output"),
|
||||
// 命中预算(步数)→ SDK 跑收尾:输出一句总结。Prompt 与收尾轮数按本 agent key 后台可编辑
|
||||
// (自定义 agent 各自一份;留空/0 用通用默认:5 轮)。
|
||||
// (自定义 agent 各自一份;留空/0 用通用默认:10 轮)。
|
||||
Settlement: wrapupSettlement(agentKey, nil),
|
||||
}
|
||||
if c.guard != nil {
|
||||
|
||||
Reference in new issue
Block a user