openclaw - 💡(How to fix) Fix [Feature]: anthropic should not be default model [1 comments, 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#62524Fetched 2026-04-08 03:03:03
View on GitHub
Comments
1
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
closed ×1commented ×1labeled ×1

src/config/defaults.ts:22-23 defines opus → anthropic/claude-opus-4-6 and sonnet → anthropic/claude-sonnet-4-6 as the default shorthand aliases. This shouldn't be the case anymore since the readme now doens't reccomend a model and Openclaw is model-agnostic.

Root Cause

src/config/defaults.ts:22-23 defines opus → anthropic/claude-opus-4-6 and sonnet → anthropic/claude-sonnet-4-6 as the default shorthand aliases. This shouldn't be the case anymore since the readme now doens't reccomend a model and Openclaw is model-agnostic.

RAW_BUFFERClick to expand / collapse

Summary

src/config/defaults.ts:22-23 defines opus → anthropic/claude-opus-4-6 and sonnet → anthropic/claude-sonnet-4-6 as the default shorthand aliases. This shouldn't be the case anymore since the readme now doens't reccomend a model and Openclaw is model-agnostic.

Problem to solve

Either remove these aliases (require explicit provider/model format), or re-point them to a welcoming provider, or make aliases configurable and stop shipping Anthropic as the built-in default.

I would follow the de-facto policy guideline and put a model agnostic "point"

Proposed solution

Either remove these aliases (require explicit provider/model format), or re-point them to a welcoming provider, or make aliases configurable and stop shipping Anthropic as the built-in default.

I would follow the de-facto policy guideline and put a model agnostic "point"

Alternatives considered

No response

Impact

Severity: Low - but possibly high if someone mistakenly puts a anthorpic model.

Evidence/examples

No response

Additional information

No response

extent analysis

TL;DR

Remove or re-point the default shorthand aliases for opus and sonnet in src/config/defaults.ts to make the model agnostic.

Guidance

  • Review the src/config/defaults.ts file and consider removing the lines that define the default aliases for opus and sonnet.
  • Alternatively, update the aliases to point to a more welcoming provider, if one is available.
  • Consider making the aliases configurable to allow users to specify their own preferred models.
  • Evaluate the impact of changing the default aliases on existing users and applications.

Example

No specific code example is provided, as the issue does not include enough technical details to generate a accurate code snippet.

Notes

The solution should follow the de-facto policy guideline and prioritize model agnosticism. The severity of the issue is considered low, but it may have a high impact if someone mistakenly uses an Anthropic model.

Recommendation

Apply workaround: Remove or re-point the default shorthand aliases to make the model agnostic, as this approach aligns with the de-facto policy guideline and prioritizes model agnosticism.

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