openclaw - 💡(How to fix) Fix [Feature] Add option to configure wizard to add provider models without changing primary model [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#62531Fetched 2026-04-08 03:02:56
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Participants

When using openclaw configure or openclaw config (the interactive wizard) to add a new provider and select models, the wizard automatically pre-selects a model from the new provider as the default primary model. This causes users' primary model to be overwritten even when they only want to add a new provider's models to the list.

Root Cause

When using openclaw configure or openclaw config (the interactive wizard) to add a new provider and select models, the wizard automatically pre-selects a model from the new provider as the default primary model. This causes users' primary model to be overwritten even when they only want to add a new provider's models to the list.

Fix Action

Workaround

Currently users must:

  1. Add the provider via wizard
  2. After confirmation, manually run: openclaw config set agents.defaults.model.primary <previous-model>

This is inconvenient and not intuitive.

RAW_BUFFERClick to expand / collapse

Description

When using openclaw configure or openclaw config (the interactive wizard) to add a new provider and select models, the wizard automatically pre-selects a model from the new provider as the default primary model. This causes users' primary model to be overwritten even when they only want to add a new provider's models to the list.

Current Behavior

  1. User runs openclaw configure or openclaw config
  2. User chooses to add/modify a provider
  3. The wizard shows model list from that provider with a model pre-selected as default
  4. If the user just confirms, their primary model gets changed to that new provider's model
  5. User has to manually reset the primary model back

Expected Behavior

Add an option (e.g., --no-default-model or a "Skip" option in the wizard) that allows users to:

  • Add a new provider with its model list
  • Without changing the existing primary model

Or alternatively, the wizard could detect when a primary model is already configured and not auto-select a new provider's model as default.

Workaround

Currently users must:

  1. Add the provider via wizard
  2. After confirmation, manually run: openclaw config set agents.defaults.model.primary <previous-model>

This is inconvenient and not intuitive.

Environment

  • OpenClaw version: 2026.4.5
  • Channel: Feishu

extent analysis

TL;DR

Add an option to the openclaw configure or openclaw config wizard to prevent automatic selection of a new primary model when adding a provider.

Guidance

  • Modify the wizard to include a --no-default-model flag or a "Skip" option to allow users to add new providers without changing the primary model.
  • Alternatively, update the wizard to detect existing primary models and avoid auto-selecting new models as default.
  • Consider adding a confirmation step before changing the primary model to ensure user intent.
  • Review the current workaround and assess whether it can be improved or simplified.

Example

No explicit code example is provided due to the lack of specific implementation details in the issue.

Notes

The solution may require changes to the openclaw command-line tool and its underlying configuration logic. The exact implementation will depend on the tool's internal architecture and configuration management.

Recommendation

Apply a workaround, such as manually running openclaw config set agents.defaults.model.primary <previous-model> after adding a new provider, until a permanent fix is implemented. This is because the current behavior is inconvenient and not intuitive, and a workaround can mitigate the issue until a more robust solution is available.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Feature] Add option to configure wizard to add provider models without changing primary model [1 participants]