Skip to content

有问题撤回pr - #166

Closed
honglihuang wants to merge 4 commits into
Quorinex:mainfrom
honglihuang:fix/responses-input-too-long-upstream
Closed

honglihuang wants to merge 4 commits into
Quorinex:mainfrom
honglihuang:fix/responses-input-too-long-upstream

Conversation

@honglihuang

@honglihuang honglihuang commented Oct 11, 2026 •

Copy link
Copy Markdown

有问题撤回pr

Bound previous_response_id replay to half the model context window so Codex compaction cannot rehydrate the full pre-compaction chain. Treat CONTENT_LENGTH_EXCEEDS_THRESHOLD as a deterministic invalid request across Kiro endpoints and account failover.
Trim oversized current-message tool results before falling back to current content truncation. Preserve tool pairing plus the beginning and end of each result with an explicit UTF-8-safe elision marker.
Bound Kiro history to half the model context window and trim individually oversized retained entries by bytes when the minimum recent-turn floor prevents whole-entry removal. Preserve message structure, current input, and UTF-8-safe head/tail context.
@honglihuang honglihuang changed the title fix(responses): bound replay and stop oversized retries 有问题撤回pr Oct 30, 2026
@honglihuang
honglihuang deleted the fix/responses-input-too-long-upstream branch October 30, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant