Skip to content

refactor(model): unify selection resolver - #1576

Merged
zerob13 merged 1 commit into
codex/p1-selectable-model-sourcefrom
codex/p2-unify-model-selection
Apr 30, 2026
Merged

refactor(model): unify selection resolver#1576
zerob13 merged 1 commit into
codex/p1-selectable-model-sourcefrom
codex/p2-unify-model-selection

Conversation

@zhangmo8

Copy link
Copy Markdown
Collaborator

Summary\n- extract shared chat model selection helpers for exact candidate resolution, sampling fallback, and deeplink matching\n- switch NewThreadPage and ChatStatusBar to the shared preferred-model resolver\n- reuse the same sampling resolver in the MCP sampling store and add focused utility tests\n\n## Testing\n- commit hook ran oxfmt and typecheck automatically during git commit\n

@coderabbitai

coderabbitai Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f4d17270-817a-4cd5-accc-ec5a48c10ce4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/p2-unify-model-selection

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@zerob13
zerob13 merged commit a858dac into codex/p1-selectable-model-source Apr 30, 2026
1 check passed
zerob13 added a commit that referenced this pull request Apr 30, 2026
* refactor(model): derive selectable model source

* refactor(model): unify selection resolver (#1576)

* refactor(chat): split acp status bar state (#1578)

* refactor(model): unify selection resolver

* refactor(chat): extract acp status bar state

* perf(agent): refresh acp agents incrementally (#1579)

* fix(provider): gc removed model state (#1577)

* fix: address pr review feedback

---------

Co-authored-by: zerob13 <zerob13@gmail.com>
@zhangmo8
zhangmo8 deleted the codex/p2-unify-model-selection branch May 12, 2026 07:51
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