claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Default model reverts to Haiku after removing config files

Open kohowski opened this issue 5 months ago • 2 comments

Bug Description I removed (ok renamed) all claude config and dot-files. Wanted to start afresh for whatever reason. After that I noticed Haiku is now called the default model? Setting sonnet does no longer say "default", and "model" : "sonnet" gets explicitly added to ~/.claude/settings.json

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.36
  • Feedback ID: 4cb7b719-57d5-4492-b6a8-f5b4dcbbd8aa

Errors

[{"error":"Error\n    at <anonymous> (B:/~BUN/root/claude.exe:41:20125)\n    at <anonymous> (B:/~BUN/root/claude.exe:59:10240)\n    at emitError (node:events:43:23)\n    at <anonymous> (B:/~BUN/root/claude.exe:58:1146)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:249:22)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/claude.exe:61:2146)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-09T03:22:09.821Z"},{"error":"Error\n    at <anonymous> (B:/~BUN/root/claude.exe:41:20125)\n    at <anonymous> (B:/~BUN/root/claude.exe:59:10240)\n    at emitError (node:events:43:23)\n    at <anonymous> (B:/~BUN/root/claude.exe:58:1146)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:249:22)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/claude.exe:61:2146)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-09T03:22:12.136Z"},{"error":"AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:947:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:4038:10596)","timestamp":"2025-11-09T03:22:12.792Z"}]

kohowski avatar Nov 09 '25 03:11 kohowski

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/1523
  2. https://github.com/anthropics/claude-code/issues/3538

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Nov 09 '25 03:11 github-actions[bot]

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 09 '25 10:12 github-actions[bot]