Fix #2051: [Feature]: LocalAgentRunner Agent Loop 应增加上下文保护与截断机制#2105
Open
JiwaniZakir wants to merge 1 commit intolangbot-app:masterfrom
Open
Fix #2051: [Feature]: LocalAgentRunner Agent Loop 应增加上下文保护与截断机制#2105JiwaniZakir wants to merge 1 commit intolangbot-app:masterfrom
JiwaniZakir wants to merge 1 commit intolangbot-app:masterfrom
Conversation
…ntRunner Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Member
|
麻烦贴一下修改前后截图证明功能正常,以便我们快速review并合入 |
| def test_max_tool_result_length_constant(): | ||
| """MAX_TOOL_RESULT_LENGTH should be a positive integer.""" | ||
| assert isinstance(MAX_TOOL_RESULT_LENGTH, int) | ||
| assert MAX_TOOL_RESULT_LENGTH > 0 |
Collaborator
There was a problem hiding this comment.
这俩单元测试没有什么意义吧,而且变量定义在单元测试中
Collaborator
|
#2057 同时参考这个pr内提出的问题。 |
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.
Closes #2051
概述 / Overview
更改前后对比截图 / Screenshots
检查清单 / Checklist
PR 作者完成 / For PR author
请在方括号间写
x以打勾 / Please tick the box withx项目维护者完成 / For project maintainer
This PR was created with AI assistance (Claude). The changes were reviewed by quality gates and a critic model before submission.