fix(agent): recover long-running tool loops - #151
Merged
Rfym21 merged 1 commit intoAug 6, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
说明
这是已合并 #150 的后续修复。进一步使用 Codex、Claude Code、OpenClaw 等 Agent 验证后,确认提前停止并非只有 SSE 分片问题,还包含干净 EOF、空 Agent 回合、工具调用占位文本和长上下文触发 WAF 等情况。
修复内容
验证
本 PR 仅包含功能、测试和文档修改,不包含独立镜像仓库使用的 GitHub Actions 或镜像名称配置。