Skip to content

fix(providers): hide exhausted providers and unavailable models in pickers - #160

Merged
ScriptedAlchemy merged 3 commits into
mainfrom
codex/hide-unavailable-picker-options
Nov 18, 2026
Merged

ScriptedAlchemy merged 3 commits into
mainfrom
codex/hide-unavailable-picker-options

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

When the last route for a provider entered cooldown, the server reported a warning and the picker could still show a provider with no usable models. Mobile could also reuse a cooled model as the default for a new task.

This change marks an exhausted routed provider unavailable and filters its model choices on web, desktop and mobile. A provider with a working model stays visible. A thread keeps its saved selection and shows its unavailable status. Model selection recovers when a route becomes healthy again.

The linked-host browser scenario failed on base 7ef0e6d44b and passed on head 2997b4917c. It verified that Sol remained selectable during Astra’s cooldown and that Astra returned after recovery. The server regression failed on the base for Codex and Claude and passed after the change. All changed-file checks passed, including 145 tests. Mobile picker logic was tested. This test run did not exercise the native iOS screen.

Before After
The cooled Astra model is still in the picker Only Sol remains selectable while the thread retains Astra

Implemented with GPT-6 in Codex.

@changeset-bot

changeset-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2997b49

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy ScriptedAlchemy left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Independent audit of 2997b49 found no actionable source defect. I traced exhausted versus partially available providers, cooldown recovery, retained thread selections, picker navigation/favorites, continuation restrictions, and mobile defaults plus scheduled-task/group-invite callers. The merge preview against 68193a2 preserves #159 and contains the same ten PR files.

174 tests passed independently: ProviderRegistry 98, mobile modelOptions 37, and four web provider/model/selection/navigation files 39. ProviderModelPicker.browser.test.tsx could not launch its five cases because Chromium headless-shell is absent in this environment. The integrated T3 Browser tools are also unavailable, so the PR author's linked-host browser proof was not independently rerun; no native iOS verification is claimed.

Agent Context Budget is green. Fork CI is still running/queued, including final Fork Check; no failed applicable check was observed. Next action: require those checks to finish successfully on this exact head before merging. No source change or CI configuration change is requested from this review.

Reviewed with GPT-6 Astra Pro / ChatGPT.

@ScriptedAlchemy
ScriptedAlchemy merged commit 09efb42 into main Nov 18, 2026
20 checks passed
ScriptedAlchemy added a commit that referenced this pull request Nov 19, 2026
Stop delayed remote follow-ups whose local task is rejected after Parent Stop. Include remote-only tasks in the normal thread Stop walk. Scope native-load cache completion to its owning raw runtime.

Integrate reviewed main #160. Validated with 309 focused tests, changed-file static gates, and direct server/evals/scripts typechecks.
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