Skip to content

Unsloth Studio / Desktop: setting to choose the model picker's org filters - #18109

Closed
LeoBorcherding wants to merge 4 commits into
unslothai:mainfrom
LeoBorcherding:leo-picker-settings
Closed

LeoBorcherding wants to merge 4 commits into
unslothai:mainfrom
LeoBorcherding:leo-picker-settings

Conversation

@LeoBorcherding

Copy link
Copy Markdown
Collaborator

Stacked on #18108. Until that merges this diff also shows its commit; the change here is the second commit.

Opt-in switch under Settings > Chat > Model selection: Choose organizations. On, it lists every known org as a toggle and the picker shows exactly the ones picked instead of its own suggestions (3+ models on device). Off (default), nothing changes. Stored in unsloth_chat_picker_orgs (null = suggestions), cleared by the settings reset.

Tests: store default, settings wiring and the picker's use of the chosen list. Typecheck and tests pass.

Screenshots at 8c94322, Unsloth Studio (web) on macOS (Apple M5), headless Chromium.

Setting off (default): the picker suggests its own orgs; only Qwen has 3+ models on this device.

setting off

Settings > Chat > Model selection > Choose organizations, on, with NVIDIA, Qwen and Google picked:

settings

On Device, Qwen pressed: the row shows exactly the picked orgs (NVIDIA too, with no NVIDIA model on device):

on device qwen

Discover, NVIDIA and Discover, Google:

discover nvidia

discover google

@LeoBorcherding

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T14:38:16.348048Z 4b0af2c 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Something went wrong. Try again later by commenting “@codex review”.

Setup repeatedly failed. Update the setup script or commit, then try again later.
ℹ️ 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".

@LeoBorcherding

Copy link
Copy Markdown
Collaborator Author

Merged #18108's 9f346ff (org row scrolling) into this branch at 4b0af2c. The previous Codex run failed in setup.

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4b0af2cea6

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

update();
strip.addEventListener("scroll", update, { passive: true });
const observer = new ResizeObserver(update);
observer.observe(strip);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3 Badge Recompute org-strip fades when its tabs change

When inventory adds org tabs while the strip is already mounted, its viewport can stay the same size while only scrollWidth changes. The observer watches the strip's size, and the effect does not depend on the tab list, so update() may not add the fade for the newly overflowing row. Since the scrollbar is hidden, users may not realize more filters are available; rerun the measurement when the org tabs change.

Useful? React with 👍 / 👎.

@LeoBorcherding

Copy link
Copy Markdown
Collaborator Author

Folded into #18108.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant