Repository navigation
fix(cookbook): accept two Codex footer rows below the composer - #656
Merged
Merged
Conversation
codex-cli 0.157.0 draws a status row and a shortcut hint under its composer. The recipe's `peer-chat.py` stripped only the last footer row, so the status row became the whole input block and every send to Codex was refused. the parser now strips both rows when a blank row separates them from the composer, and one row otherwise. Without the blank, the row above the footer can be a wrapped draft's continuation. Fixed #652
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.
codex-cli 0.157.0 draws a status row and a shortcut hint under its composer.
trailing_input_blockincookbook/two-agent-chat/peer-chat.pystripped only the last footer row, so the status row became the whole input block and every send to Codex was refused as an unrecognisable prompt.the parser now strips both rows when a blank row separates them from the composer, and one row otherwise. Without the blank, the row above the footer can be a wrapped draft's continuation, which the existing wrapped-composer test covers. Three or more trailing indented rows are still refused.
new tests cover the reporter's layout, a wrapped draft above two separated footer rows, and three trailing indented rows. The README sentence on footer handling is updated to match.
Fixed #652