Repository navigation
feat(models): match provider ids in the model and Add provider searches - #1308
Merged
Merged
Conversation
The model selector's filter matched only a model's name and id, so a provider id such as `relay-a` or a qualified `anthropic/claude` found nothing when several providers offer the same model. It now also matches the provider id and `provider/modelId`, case-insensitive and trimmed; order and grouping are unchanged. Settings › Models › Add provider matched API-key providers by name or id but OAuth providers by name only. Both now go through providerMatchesSearch() in models-config-helpers.ts. The demo copies get the same matching. Closes #1272 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 18, 2026
…der-search # Conflicts: # components/ChatInput.test.mjs
agegr
pushed a commit
that referenced
this pull request
Oct 20, 2026
Returning from the mobile breakpoint restores the desktop sidebar preference in an
effect, so the toggle can swap from "Show sidebar" to "Hide sidebar" between the
`isVisible()` check and the click. The click then waits its full 30s for a button
that will not come back, and the suite dies with
locator.click: Timeout 30000ms exceeded. waiting for
getByRole('button', { name: 'Show sidebar', exact: true }) at e2e/run.mjs:496:60
Seen on several unrelated PRs (#1322, #1324 ourselves, #1308 from another
contributor).
The click now retries against a short deadline and only its own timeout is
ignored; the wait for "Hide sidebar" that follows still fails if the sidebar never
opens, so a real regression is not hidden. The fork's earlier 947c7fe reload
fallback does not cover this signature: it fires only when neither toggle appears
within its 10s bound.
This was referenced Oct 21, 2026
windli2018
pushed a commit
to aiti-ai/aiti-ai
that referenced
this pull request
Nov 6, 2026
…es (agegr#1308) The model selector's filter matched only a model's name and id, so a provider id such as `relay-a` or a qualified `anthropic/claude` found nothing when several providers offer the same model. It now also matches the provider id and `provider/modelId`, case-insensitive and trimmed; order and grouping are unchanged. Settings › Models › Add provider matched API-key providers by name or id but OAuth providers by name only. Both now go through providerMatchesSearch() in models-config-helpers.ts. The demo copies get the same matching. Closes agegr#1272 Co-authored-by: Claude Opus 5.5 <[email protected]>
windli2018
pushed a commit
to aiti-ai/aiti-ai
that referenced
this pull request
Nov 6, 2026
…gr#1326) Returning from the mobile breakpoint restores the desktop sidebar preference in an effect, so the toggle can swap from "Show sidebar" to "Hide sidebar" between the `isVisible()` check and the click. The click then waits its full 30s for a button that will not come back, and the suite dies with locator.click: Timeout 30000ms exceeded. waiting for getByRole('button', { name: 'Show sidebar', exact: true }) at e2e/run.mjs:496:60 Seen on several unrelated PRs (agegr#1322, agegr#1324 ourselves, agegr#1308 from another contributor). The click now retries against a short deadline and only its own timeout is ignored; the wait for "Hide sidebar" that follows still fails if the sidebar never opens, so a real regression is not hidden. The fork's earlier 947c7fe reload fallback does not cover this signature: it fires only when neither toggle appears within its 10s bound.
windli2018
pushed a commit
to aiti-ai/aiti-ai
that referenced
this pull request
Nov 8, 2026
…es (agegr#1308) The model selector's filter matched only a model's name and id, so a provider id such as `relay-a` or a qualified `anthropic/claude` found nothing when several providers offer the same model. It now also matches the provider id and `provider/modelId`, case-insensitive and trimmed; order and grouping are unchanged. Settings › Models › Add provider matched API-key providers by name or id but OAuth providers by name only. Both now go through providerMatchesSearch() in models-config-helpers.ts. The demo copies get the same matching. Closes agegr#1272 Co-authored-by: Claude Opus 5.5 <[email protected]>
windli2018
pushed a commit
to aiti-ai/aiti-ai
that referenced
this pull request
Nov 8, 2026
…gr#1326) Returning from the mobile breakpoint restores the desktop sidebar preference in an effect, so the toggle can swap from "Show sidebar" to "Hide sidebar" between the `isVisible()` check and the click. The click then waits its full 30s for a button that will not come back, and the suite dies with locator.click: Timeout 30000ms exceeded. waiting for getByRole('button', { name: 'Show sidebar', exact: true }) at e2e/run.mjs:496:60 Seen on several unrelated PRs (agegr#1322, agegr#1324 ourselves, agegr#1308 from another contributor). The click now retries against a short deadline and only its own timeout is ignored; the wait for "Hide sidebar" that follows still fails if the sidebar never opens, so a real regression is not hidden. The fork's earlier 947c7fe reload fallback does not cover this signature: it fires only when neither toggle appears within its 10s bound.
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.
The model selector's filter matched only a model's name and id, so a
provider id such as
relay-aor a qualifiedanthropic/claudefoundnothing when several providers offer the same model. It now also matches
the provider id and
provider/modelId, case-insensitive and trimmed;order and grouping are unchanged.
Settings › Models › Add provider matched API-key providers by name or id
but OAuth providers by name only. Both now go through
providerMatchesSearch() in models-config-helpers.ts. The demo copies get
the same matching.
Closes #1272
Testing
node --experimental-strip-types --test components/ChatInput.test.mjs components/ModelsConfig.test.mjstsc --noEmitclean,npm test2787 pass / 0 fail / 1 skipped.🤖 Generated with Claude Code