mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-25 09:25:59 +03:00
[GH-ISSUE #153] Claude Code: > /compact 压缩上下文会出现400异常:Kiro2API #123
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AIClient-2-API-justlovemaki#123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MayDay-wpf on GitHub (Jan 3, 2026).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/153
调试后可能的原因:Kiro对History长度有限制,建议进行自动裁剪
@justlovemaki commented on GitHub (Jan 3, 2026):
#154 ,再试试
@MayDay-wpf commented on GitHub (Jan 3, 2026):
感谢回复,但是这个不适用,因为上下文中没有图片,可能有用的日志信息:
这次压缩的总字符数:50312 more characters,Kiro似乎有单次请求最大40K限制,可能还需要再加入请求token上限裁剪
@justlovemaki commented on GitHub (Jan 4, 2026):
建议新建会话,会话不宜过长