Skip to content

Studio: keep image follow-ups running after the tab closes - #16491

Merged
danielhanchen merged 2 commits into
unslothai:mainfrom
NilayYadav:durable-chat-run-refused-text
Nov 4, 2026
Merged

danielhanchen merged 2 commits into
unslothai:mainfrom
NilayYadav:durable-chat-run-refused-text

Conversation

@NilayYadav

@NilayYadav NilayYadav commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Once a chat held an image, every later text message in it lost its background run. The reply was tied to the open tab, so closing or reloading the tab stopped it and the reopened chat showed an empty reply. Text-only chats keep generating in the same situation.

Text follow-ups in those chats now run in the background like any other message, and the model still sees the earlier image. The image is kept out of the saved run, so a long image chat adds no extra copies to the database: the run stores a hash and the image stays in memory only until generation starts. A message that carries its own attachment still uses the live stream, as before.

The review on #10406 objected to a stored copy of the image per turn and suggested content-addressed storage with rehydration at replay. This goes further on storage: nothing is stored, because the worker reads the request once and a restart fails the run anyway. test_a_text_only_follow_up_carrying_an_earlier_inline_image_stays_legacy pinned the old refusal and is replaced. Earlier video or audio attachments still use the live stream.

Before After
Reopened image chat after closing the tab during a text follow-up before after

@shimmyshimmer

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: deff7f82dd

ℹ️ 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".

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T19:02:32.522972Z deff7f8 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@NilayYadav

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: deff7f82dd

ℹ️ 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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants