Skip to content

Fix /copy regression in tui_app_server turn completion#16021

Merged
etraut-openai merged 6 commits intomainfrom
etraut/tuiappserver-copy-regression
Mar 27, 2026
Merged

Fix /copy regression in tui_app_server turn completion#16021
etraut-openai merged 6 commits intomainfrom
etraut/tuiappserver-copy-regression

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

@etraut-openai etraut-openai commented Mar 27, 2026

Addresses #16019

tui_app_server renders completed assistant messages from item notifications, but it only updated /copy state from turn/completed. After the app-server migration, turn completion no longer repeats the final assistant text, so /copy could stay unavailable even after the first normal response.

This PR track the last completed final-answer agent message during an active app-server turn and promote it into the /copy cache when the turn completes. This restores the pre-migration behavior without changing rollback handling.

@JonKrone
Copy link
Copy Markdown

Wonderful, thank you!

chatgpt-codex-connector[bot]

This comment was marked as outdated.

@etraut-openai etraut-openai merged commit 465897d into main Mar 27, 2026
67 of 70 checks passed
@etraut-openai etraut-openai deleted the etraut/tuiappserver-copy-regression branch March 27, 2026 22:00
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 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.

3 participants