Repository navigation
fix(memory): apply raw text output budget across live and snapshot paths - #1132
Open
kogekiplay wants to merge 1 commit into
Open
kogekiplay wants to merge 1 commit into
kogekiplay wants to merge 1 commit into
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.
实时工具输出原有的 200,000 字符保留预算只在多 chunk 追加时生效:首次
tool_call、重复 opening、替换式更新、未先宣布的 update 以及重连快照都能把超长字符串完整留在渲染端;单个 oversized append 也会越过预算。此 PR 将这些入口统一到一套纯文本尾部保留策略。{/[开头的结构化结果候选保持完整,包括跨多帧到达、尚未闭合的 JSON,避免破坏任务、委托等工具卡片的解析。基于官方 main 1bc86a3(0.42.3)。只修改前端输出保留逻辑,没有实验版本号或回放解析器的 500 字符截断。
验证:
范围:这是每个工具调用的 raw plain-text output 保留修复;结构化候选、
content、输入、图片及会话整体预算不由本 PR 限制。不能据此声称 Codeg 的所有长期 Web Content 内存增长已解决。原始结果仍由代理自己的 transcript 持久化。Refs #1097