[BUG] web search is failing because adaptive thinking is not supported on opus 4.7

Resolved 💬 3 comments Opened Apr 20, 2026 by fabiogaliano Closed Apr 24, 2026

Bug Description
web search is failing because adaptive thinking is not supported on opus 4.7

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.114
  • Feedback ID: 7ba11d49-4c9e-477b-a1d6-2d1c2858c7ee

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/f/.local/share/claude/versions/2.1.114 (expected in multi-process scenarios)\n    at sd_ (/$bunfs/root/src/entrypoints/cli.js:2751:2177)\n    at WH8 (/$bunfs/root/src/entrypoints/cli.js:2751:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T15:34:49.601Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"adaptive thinking is not supported on this model\"},\"request_id\":\"req_011CaFGXsNoDZYCLtoB6sgYw\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T15:35:07.835Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n    at <parse> (:0)\n    at parse (unknown)\n    at um8 (/$bunfs/root/src/entrypoints/cli.js:168:10030)\n    at O (/$bunfs/root/src/entrypoints/cli.js:130:19438)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:170:1186)\n    at KHH (/$bunfs/root/src/entrypoints/cli.js:6240:476)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T15:35:07.837Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"adaptive thinking is not supported on this model\"},\"request_id\":\"req_011CaFKn7mTvAoDkA9YMUcs1\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T16:17:41.168Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n    at <parse> (:0)\n    at parse (unknown)\n    at um8 (/$bunfs/root/src/entrypoints/cli.js:168:10030)\n    at O (/$bunfs/root/src/entrypoints/cli.js:130:19438)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:170:1186)\n    at KHH (/$bunfs/root/src/entrypoints/cli.js:6240:476)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T16:17:41.169Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"adaptive thinking is not supported on this model\"},\"request_id\":\"req_011CaFL5cBEn42g2sbnwRYJF\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T16:21:38.416Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n    at <parse> (:0)\n    at parse (unknown)\n    at um8 (/$bunfs/root/src/entrypoints/cli.js:168:10030)\n    at O (/$bunfs/root/src/entrypoints/cli.js:130:19438)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:170:1186)\n    at KHH (/$bunfs/root/src/entrypoints/cli.js:6240:476)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T16:21:38.417Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Thinking may not be enabled when tool_choice forces tool use.\"},\"request_id\":\"req_011CaFL6KjJgDWV9axTfC4WT\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T16:21:48.172Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Thinking may not be enabled when tool_choice forces tool use.\"},\"request_id\":\"req_011CaFL6MMXsQotk3g5mMUxA\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T16:21:48.492Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Thinking may not be enabled when tool_choice forces tool use.\"},\"request_id\":\"req_011CaFL6R4HPeQBBKoJuEP7w\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T16:21:49.430Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\…

Note: Content was truncated.

View original on GitHub ↗

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