Repository navigation
fix(openclaw): hide built-in picker providers - #11830
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
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. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the change restricting the model catalog to the configured OpenCode provider.
No open issues 🎉
What changed in this PR
This PR limits OpenClaw’s model catalog to the configured OpenCode route provider, removing built-in provider groups from the picker.
Changes:
- Switches catalog mode from
mergetoreplace. - Adds comments explaining how to restore Claude CLI and Copilot support.
Android picker appearance remains unverified; deployment requires the coordinated switch described in the PR.
| File | Description |
|---|---|
home/openclaw/default.nix |
Restricts the catalog to configured providers and documents restoration steps. |
Review effort: Balanced
Summary
mergetoreplaceso only the configured OpenCode route provider is exposed.mergefor Claude CLI; Copilot additionally needs its runtime plugin restored andplugins.entries.copilot.enabledturned on.Evaluated evidence
Pinned gateway schema:
mergekeeps built-ins and overlays configured providers;replaceuses only configured providers. Effective provider list:acp-copilot,claude-cli,opencode-route→opencode-route. Nix evaluation of the resulting config returns modereplace, provideropencode-route, and six models: workhorse, speed, specialist, summit, scout, small (all with plain pool names); Copilot is disabled.This removes the built-in provider groups. It leaves one configured provider, so whether the Android picker visually renders a remaining provider header is not established by Nix evaluation; no Android UI verification or deployment is claimed. Deploy only with the coordinated switch. Part B remains sequenced with #9399.
Test
nix eval --json .#nixosConfigurations.nixos.config.home-manager.users.user.programs.openclaw.config | jq -c '{mode:.models.mode,providers:(.models.providers|keys),models:(.models.providers["opencode-route"].models|map(.id)),copilot:.plugins.entries.copilot.enabled}'Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.