Skip to content

Suppress duplicate assistant output on stdout in interactive sessions#13082

Merged
etraut-openai merged 2 commits intomainfrom
etraut/issue-12566
Feb 28, 2026
Merged

Suppress duplicate assistant output on stdout in interactive sessions#13082
etraut-openai merged 2 commits intomainfrom
etraut/issue-12566

Conversation

@etraut-openai
Copy link
Collaborator

@etraut-openai etraut-openai commented Feb 28, 2026

Addresses #12566

Summary

  • stop printing the final assistant message on stdout when the process is running in a terminal so interactive users only see it once
  • add a helper that gates the stdout emission and cover it with unit tests

@etraut-openai
Copy link
Collaborator Author

@codex review

Copy link
Contributor

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

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: 00155cc658

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@etraut-openai
Copy link
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Contributor

Codex Review: Didn't find any major issues. Another round soon, please!

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@etraut-openai etraut-openai merged commit 6604608 into main Feb 28, 2026
31 checks passed
@etraut-openai etraut-openai deleted the etraut/issue-12566 branch February 28, 2026 01:31
@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 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