Skip to content

fix(model-picker): list each provider/model combo separately#970

Merged
steipete merged 2 commits intoopenclaw:mainfrom
mcinteerj:fix/model-picker-no-grouping
Jan 15, 2026
Merged

fix(model-picker): list each provider/model combo separately#970
steipete merged 2 commits intoopenclaw:mainfrom
mcinteerj:fix/model-picker-no-grouping

Conversation

@mcinteerj
Copy link
Copy Markdown
Contributor

Problem

The /model command grouped models by name and showed all providers that offer the same model:

3) claude-sonnet-4-5 — anthropic, google-antigravity

This was confusing because:

  1. Users couldn't tell which provider would be used when selecting by number
  2. The display implied a choice between providers, but selection was automatic based on provider preference

Solution

Now each provider/model combination is listed separately:

1) anthropic/claude-opus-4-5
2) openai/gpt-4.1-mini
3) openai/gpt-5.2
4) openai-codex/gpt-5.2
5) minimax/MiniMax-M2.1
6) openrouter/anthropic/claude-opus-4-5

Users can now explicitly select the exact provider they want.

Changes

  • Remove model grouping in buildModelPickerItems
  • Display format changed from model — providers to provider/model
  • pickProviderForModel now returns the single provider directly
  • Updated tests to reflect new behavior

@steipete steipete self-assigned this Jan 15, 2026
@steipete
Copy link
Copy Markdown
Contributor

That'a a great cleanup, thanks!

Keith the Silly Goose and others added 2 commits January 15, 2026 22:14
Previously, /model grouped models by name and showed all providers
that offer the same model (e.g. 'claude-sonnet-4-5 — anthropic, google-antigravity').
This was confusing because:
1. Users couldn't tell which provider would be used when selecting by number
2. The display implied choice between providers but selection was automatic

Now each provider/model combination is listed separately so users
can explicitly select the exact provider they want.

- Remove model grouping in buildModelPickerItems
- Display format changed from 'model — providers' to 'provider/model'
- pickProviderForModel now returns the single provider directly
- Updated tests to reflect new behavior
@steipete steipete force-pushed the fix/model-picker-no-grouping branch from 4c4b840 to 0a2d36e Compare January 15, 2026 22:20
@steipete steipete merged commit 634a429 into openclaw:main Jan 15, 2026
@steipete
Copy link
Copy Markdown
Contributor

Landed via temp rebase onto main.

  • Gate: pnpm lint && pnpm build && pnpm test
  • Land commit: 0a2d36e
  • Merge commit: 634a429

Thanks @mcinteerj!

zooqueen pushed a commit to hanzoai/bot that referenced this pull request Mar 6, 2026
…w#970)

* fix(model-picker): list each provider/model combo separately

Previously, /model grouped models by name and showed all providers
that offer the same model (e.g. 'claude-sonnet-4-5 — anthropic, google-antigravity').
This was confusing because:
1. Users couldn't tell which provider would be used when selecting by number
2. The display implied choice between providers but selection was automatic

Now each provider/model combination is listed separately so users
can explicitly select the exact provider they want.

- Remove model grouping in buildModelPickerItems
- Display format changed from 'model — providers' to 'provider/model'
- pickProviderForModel now returns the single provider directly
- Updated tests to reflect new behavior

* fix: simplify model picker entries (openclaw#970) (thanks @mcinteerj)

---------

Co-authored-by: Keith the Silly Goose <keith@42bolton.macnet.nz>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
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.

2 participants