Repository navigation
Studio: attach saved Library files to the current chat - #16522
Merged
Merged
Conversation
This was referenced Nov 3, 2026
danielhanchen
pushed a commit
to danielhanchen/unsloth-staging-2
that referenced
this pull request
Nov 3, 2026
danielhanchen
pushed a commit
to danielhanchen/unsloth-staging-2
that referenced
this pull request
Nov 3, 2026
This was referenced Nov 3, 2026
danielhanchen
pushed a commit
to danielhanchen/unsloth-staging-2
that referenced
this pull request
Nov 3, 2026
danielhanchen
pushed a commit
to danielhanchen/unsloth-staging-2
that referenced
this pull request
Nov 3, 2026
danielhanchen
pushed a commit
to danielhanchen/unsloth-staging-2
that referenced
this pull request
Nov 3, 2026
danielhanchen
marked this pull request as ready for review
November 3, 2026 07:25
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
danielhanchen
pushed a commit
to danielhanchen/unsloth-staging-2
that referenced
this pull request
Nov 3, 2026
danielhanchen
pushed a commit
to danielhanchen/unsloth-staging-2
that referenced
this pull request
Nov 4, 2026
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
This was referenced Nov 4, 2026
danielhanchen
pushed a commit
to danielhanchen/unsloth-staging-2
that referenced
this pull request
Nov 4, 2026
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.
Saved Library files cannot currently be selected from an ongoing conversation. Add + > More > Attach from Library, with searchable saved uploads and generated files that attach through the current composer's existing processing.
The picker preserves the draft and conversation, including project drafts. It reuses Library's file validation and size limits, checks the active account and conversation after reading, and ignores repeated selections while a file is loading. It closes when Chat becomes inactive and opens after the menu releases its pointer lock. Existing file uploads, skill mentions and Library's Start chat action retain their behavior.
Fixes #16485
Validation at
5b67961:Current-head broader validation at
5b67961passed scoped Linux, Windows and macOS staging and paired Studio/Desktop staging. All three OS comparisons report NO_REGRESSION, including the Linux Desktop arms. The full selected Studio suite also reports NO_REGRESSION on a remote Colab A100. Existing Library backend route tests passed 159 checks with one filesystem-specific skip on both unchanged backend arms. No local GPU was used.Non-passing coverage is recorded separately: the remote compaction notice check failed on both arms, and Linux staging's inference-settings load check failed on both arms. These checks are not counted as passing coverage. A separate local full-suite attempt hit the installer timeout under host load; the remote run covers the same six selected targets at the same source SHAs.
Library attachment walkthrough
Real browser captures from separate installs of merge base
1a951a93dand head5b67961, using synthetic sample files.1. Open + > More. Attach from Library is in the More submenu.
2. Choose a saved file. The picker shows a sample image, Markdown campaign brief, CSV sales data, text report and generated plan, with Uploaded and Generated labels.
3. Search by filename. Typing
springnarrows the list tospring-campaign.png.4. Continue the same draft. The sample image and document are attached together, and the image preview is loaded.
Before and after with the same draft
The merge base has no saved-file selection in More. The PR attaches the image and document from Library without starting another conversation. The comparison preserves the original pixel scale.
Studio UI regression check
Base
1a951a93dvs head5b679619d. Functional: NO_REGRESSION, 1 visual change(s), 0 text-only change(s). Only steps whose screenshots differ are shown.Chat: + > More > Attach from Library: Current-head captures from separate local installs with the same draft. The entry appears only inside More. Paired Studio/Desktop staging is green on Linux, macOS and Windows.
