Repository navigation
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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.
When Studio compacts a chat, the transcript now shows a one-line "Context compacted" divider where the compaction happened, directly above the prompt whose request compacted. It replaces the four-sentence box that opened the reply. The explanation and the numbers (messages dropped, passages recalled, prompt tokens before and after) move into a tooltip on the label. The divider uses the same style as the existing "Continued from chat" rule.
Screenshots
Merge base vs this branch, Qwen3.5-0.8B GGUF at a 2,048 token window, same prompts. The first compaction fires on turn 6 on both sides.
The detail behind the label:
Placement
compactionNoticeMessageIds). So the context meter count (Studio: show the compaction count in the context meter unslothai/unsloth#13355) equals the number of dividers on screen.contextTruncationrecord. Nothing new is stored, and nothing reaches the model or the export.At a 2,048 window a marker appears on almost every turn on both main and this branch: 9 boxes vs 8 dividers over 16 turns. Each marker is now a 13 px line instead of a 77 px box.
The label has a padded touch target (33 px tall) without changing the drawn line. Studio's tooltip opens on tap as well as hover and focus.
Validation
tsc -bis clean.npm testpasses 11,707 of 11,719; the 12 failures also fail on the merge base. New tests cover divider placement and that the divider count equals the meter count.