Repository navigation
fix(protocol): keep one context-budget reminder (v1.3.173) - #451
Merged
Merged
Conversation
Lifting every historical role=system turn appended another identical total_tokens reminder after the cache breakpoint, so reads froze around 80K and the conversation was rewritten each turn.
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 6a151a33-8280-4418-ab14-3c4f475881b6) |
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.
版本
1.3.173
问题
Sonnet 5 等不支持对话中途
role=system的型号,会把每一轮<total_tokens>提醒抬进缓存断点后面的 system 尾块。尾块每轮变长,cache_read停在工具和官方前缀(现场约 80.5K),后面的对话每轮整段cache_creation。改动
整段 system 只留一条预算提醒。官方前缀里的那条不动。混在其他内容里的
system-reminder不会被拆掉结束标签。部署
控制面 overlay。无迁移,不必
wrap-cli/sync。备份:
/opt/vm2api/.deploy-bak-vm2api-1.3.173-20261015T090740Zverify-live.py 1.3.173:exit 0。version_file、health、panel、vms、web、docker_up 10/10、docker_identity 不变、conversation 200。