claude-code - 💡(How to fix) Fix Desktop app ignores `model` field in ~/.claude/settings.json

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…

Setting "model": "claude-opus-4-7" in ~/.claude/settings.json is honoured by the claude CLI but ignored by the Claude Code desktop app.

Root Cause

Setting "model": "claude-opus-4-7" in ~/.claude/settings.json is honoured by the claude CLI but ignored by the Claude Code desktop app.

Fix Action

Fix / Workaround

  • Checked ~/Library/Application Support/Claude/window-state.json and Preferences — neither contains a model entry, so no obvious stale per-window state to clear.
  • Use case: scheduled tasks were inheriting Opus 4.7 1M as the default and hitting context/rate issues. Setting a global default in settings.json was meant to fix that; the desktop-side gap means scheduled tasks dispatched from the desktop app still pick up 1M.
RAW_BUFFERClick to expand / collapse

Summary

Setting "model": "claude-opus-4-7" in ~/.claude/settings.json is honoured by the claude CLI but ignored by the Claude Code desktop app.

Steps to reproduce

  1. Add "model": "claude-opus-4-7" to ~/.claude/settings.json.
  2. Start a new session via the claude CLI — status line shows Opus 4.7 (no 1M). ✅
  3. Start a new session in the Claude Code desktop app — status line still shows Opus 4.7 1M. ❌
  4. Full quit (⌘Q) and relaunch the desktop app — same behaviour.

Expected

Both CLI and desktop respect the model field in ~/.claude/settings.json as the default for new sessions.

Actual

CLI respects it; desktop app does not.

Notes

  • Checked ~/Library/Application Support/Claude/window-state.json and Preferences — neither contains a model entry, so no obvious stale per-window state to clear.
  • Use case: scheduled tasks were inheriting Opus 4.7 1M as the default and hitting context/rate issues. Setting a global default in settings.json was meant to fix that; the desktop-side gap means scheduled tasks dispatched from the desktop app still pick up 1M.

Environment

  • macOS
  • Claude Pro plan

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

claude-code - 💡(How to fix) Fix Desktop app ignores `model` field in ~/.claude/settings.json