Repository navigation
Studio: top-level Models block group in picker - #10736
danielhanchen merged 4 commits into
Conversation
Surface model provider and model preset blocks in a dedicated Models section of the block picker instead of burying them under AI generation.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8b71af90e6
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| ...(matchesSearch(MODEL_ROOT_GROUP.title, MODEL_ROOT_GROUP.description) | ||
| ? [MODEL_ROOT_GROUP] | ||
| : []), |
There was a problem hiding this comment.
Render the Models group when its title matches search
When the root query is Models, this branch adds MODEL_ROOT_GROUP to rootGroups, but that collection is rendered only when !hasSearch; the searchable leaf blocks contain only singular model text, so rootSearchBlocks is empty and the UI displays “No matching steps” for the exact visible group title. Either render matching groups during search or incorporate the group title and description into the leaf-result filtering.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Kept as on main: root search lists matching blocks only (group rows are hidden while searching), and 'model' already surfaces Provider connection and Model preset there.
Base the Models view no-match check on modelSetupBlocks instead of all llm scoped blocks, so searches like "AI text" show "No matching steps" instead of a blank panel. Also render matching root groups during search so queries like "Models" surface the Models group, and add "model" to the recipe studio SheetView type.
|
The Models group itself is a clear win, but this also removes the |
Keep the root search path as on main (groups stay hidden while searching), drop the dedicated Models render branch in favour of filtering scopedBlocks, so the Models view and its empty state only consider provider and preset blocks.
|
Review record for #10736, carried over from the mirror it was reviewed on: danielhanchen/unsloth-staging-review#300. Findings are quoted as posted and attributed to the account that posted them. The reactions shown are the triage recorded on the mirror; none were re-applied here. Commits are named as the mirror's, with this PR's equivalent where one was found. Round 1: reviewed mirror
|
Split from #10710 per review feedback.
Adds a top-level Models step group in the block picker (provider connection + model preset). Same blocks as before — just easier to find without digging into AI generation → Setup.
Related: #10637, #10708
Supersedes the Models picker portion of #10710.
Before / after
Built from the merge base (
c0a60448e, BEFORE) and this PR's head (73b88f1f0, AFTER) as two isolated Studio installs, driven in Chromium.Add a step: the root list gains a Models group after Source data.
Opening Models lists only Provider connection and Model preset (before, they sit under AI generation > Setup).
Searching inside Models for something outside it shows the empty state.
Root search is unchanged: searching "model" gives identical results on both builds.