[Bug] Sub-agents ignore parent model selection and default to Sonnet

Resolved 💬 3 comments Opened Mar 13, 2026 by eskrishnaram-ai Closed Mar 16, 2026

Bug Description
used opus4.6 with high effort from model selector, but when sub-agents were spun off, it used sonnet

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.1.74
  • Feedback ID: 8269da90-baff-4634-8548-68f34c7a26b4

Errors

[{"error":"Error: Bad substitution: \"__DOUBLE_QUOTE_5b11aad402c90a3b__\n    at P (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:5842)\n    at file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:6286\n    at Array.map (<anonymous>)\n    at Lw5 (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:5584)\n    at A57.exports (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:6649)\n    at uz (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:7097)\n    at _G6 (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:6340:2341)\n    at yKz (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:6493:1076)\n    at Object.isSearchOrReadCommand (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:6505:2904)\n    at V96 (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2653:24862)","timestamp":"2026-03-13T06:34:49.506Z"},{"error":"Error: Bad substitution: \"__DOUBLE_QUOTE_c498d4a3affc571c__\n    at P (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:5842)\n    at file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:6286\n    at Array.map (<anonymous>)\n    at Lw5 (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:5584)\n    at A57.exports (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:6649)\n    at uz (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:7097)\n    at _G6 (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:6340:2341)\n    at yKz (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:6493:1076)\n    at Object.isSearchOrReadCommand (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:6505:2904)\n    at V96 (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2653:24862)","timestamp":"2026-03-13T06:34:49.506Z"},{"error":"Error: Bad substitution: \"__DOUBLE_QUOTE_9f0a935b64e2eaa4__\n    at P (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:5842)\n    at file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:6286\n    at Array.map (<anonymous>)\n    at Lw5 (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:5584)\n    at A57.exports (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:6649)\n    at uz (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:7097)\n    at _G6 (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:6340:2341)\n    at yKz (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:6493:1076)\n    at Object.isSearchOrReadCommand (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:6505:2904)\n    at V96 (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2653:24862)","timestamp":"2026-03-13T06:34:52.160Z"},{"error":"Error: Bad substitution: \"__DOUBLE_QUOTE_85505fa5d28d2151__\n    at P (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:5842)\n    at file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:6286\n    at Array.map (<anonymous>)\n    at Lw5 (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:5584)\n    at A57.exports (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:6649)\n    at uz (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:277:7097)\n    at _G6 (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:6340:2341)\n    at yKz (file:///home/krishna/.nvm/versions/node/v22.22.0/lib/node_modules/@anthr…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗