Add files via upload

This commit is contained in:
公明
2026-05-23 19:35:30 +08:00
committed by GitHub
parent a43a9deaea
commit 99b53d4fbc
3 changed files with 80 additions and 2 deletions
+4
View File
@@ -842,6 +842,8 @@ func (h *AgentHandler) ProcessMessageForRobot(ctx context.Context, platform, con
conversationID, curMsg, curHist, roleTools, progressCallback, nil,
)
if errMA == nil {
// 成功后重置 transient 重试窗口,下一次分段从第 1 次重试开始。
transientRunAttempts = 0
break
}
if handled, _ := h.handleEinoTransientRetryContinue(
@@ -873,6 +875,8 @@ func (h *AgentHandler) ProcessMessageForRobot(ctx context.Context, platform, con
h.agentsMarkdownDir, robotMode, nil,
)
if errMA == nil {
// 成功后重置 transient 重试窗口,下一次分段从第 1 次重试开始。
transientRunAttempts = 0
break
}
if handled, _ := h.handleEinoTransientRetryContinue(