fix: reorder setup wizard providers — OpenRouter first

Move OpenRouter to position 1 in the setup wizard's provider list
to match hermes model ordering. Update default selection index and
fix test expectations for the new ordering.

Setup order: OpenRouter → Nous Portal → Codex → Custom → ...
This commit is contained in:
Teknium 2026-03-24 12:50:24 -07:00
parent 481915587e
commit 618f15dda9
No known key found for this signature in database
7 changed files with 129 additions and 158 deletions

View file

@ -401,7 +401,7 @@ def test_setup_switch_custom_to_codex_clears_custom_endpoint_and_updates_config(
def fake_prompt_choice(question, choices, default=0):
if question == "Select your inference provider:":
return 1
return 2 # OpenAI Codex
if question == "Select default model:":
return 0
tts_idx = _maybe_keep_current_tts(question, choices)