Skip to content

Rewrite oversized tool outputs during remote compaction#26251

Merged
pakrym-oai merged 4 commits into
mainfrom
pakrym/compact-remote-truncate-outputs
Jun 3, 2026
Merged

Rewrite oversized tool outputs during remote compaction#26251
pakrym-oai merged 4 commits into
mainfrom
pakrym/compact-remote-truncate-outputs

Conversation

@pakrym-oai

@pakrym-oai pakrym-oai commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Why

When trying to fit history under compaction limit rewrite output items instead of removing them entirely. Otherwise we're breaking incrementality in relation to the previous response.

@pakrym-oai pakrym-oai marked this pull request as ready for review June 3, 2026 21:22
@pakrym-oai pakrym-oai requested a review from a team as a code owner June 3, 2026 21:22

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c116c0fccf

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread codex-rs/core/src/compact_remote.rs
@pakrym-oai pakrym-oai merged commit 4231472 into main Jun 3, 2026
31 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/compact-remote-truncate-outputs branch June 3, 2026 22:25
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants