Skip to content

Keep custom providers last#5795

Merged
ComputelessComputer merged 1 commit into
mainfrom
fix/custom-provider-order
Jun 27, 2026
Merged

Keep custom providers last#5795
ComputelessComputer merged 1 commit into
mainfrom
fix/custom-provider-order

Conversation

@ComputelessComputer

@ComputelessComputer ComputelessComputer commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Move Custom provider ordering ahead of disabled-provider sorting and cover the shared sorter with a focused test.


Note

Low Risk
UI-only ordering in shared AI settings lists; behavior change is intentional and covered by a unit test.

Overview
Custom stays pinned to the end of AI provider pickers even when other entries are disabled.

sortProviders now applies the hyprnote-first and custom-last rules before pushing disabled providers down, so a disabled provider no longer sorts above Custom. A Vitest case locks in order: Anarlog first, enabled providers by name, disabled in the middle, Custom last.

Reviewed by Cursor Bugbot for commit fb6aa3e. Bugbot is set up for automated code reviews on this repo. Configure here.

Move Custom provider ordering ahead of disabled-provider sorting and cover the shared sorter with a focused test.
@netlify

netlify Bot commented Jun 27, 2026

Copy link
Copy Markdown

Deploy Preview for old-char canceled.

Name Link
🔨 Latest commit fb6aa3e
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a3fa9ffa67ffc0008ce2335

@ComputelessComputer ComputelessComputer merged commit ed9f2c5 into main Jun 27, 2026
10 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/custom-provider-order branch June 27, 2026 11:15
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