Skip to content

Enable streaming response deltas #1574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

aibrahim-oai
Copy link
Contributor

Summary

  • forward OpenAI response.output_text.delta and response.reasoning_summary_text.delta
  • stream deltas to the TUI during a turn instead of waiting for completion
  • add incremental message handling in conversation history
  • handle deltas in exec client and MCP tool runner

Testing

  • cargo check -p codex-tui
  • cargo check

https://chatgpt.com/codex/tasks/task_i_6874a0bb4b6083218858bb32657453be

@aibrahim-oai aibrahim-oai marked this pull request as draft July 15, 2025 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant