claude-code - 💡(How to fix) Fix [Feature Request] Add /advisor command support for Claude Haiku 3.5 [1 comments, 2 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
anthropics/claude-code#52402Fetched 2026-04-24 06:08:08
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/sidhartha/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n at ii$ (/$bunfs/root/src/entrypoints/cli.js:2758:2177)\n at R46 (/$bunfs/root/src/entrypoints/cli.js:2758:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:50:14.197Z"},{"error":"AxiosError: Request failed with status code 401\n at _Q (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12696)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at async zq1 (/$bunfs/root/src/entrypoints/cli.js:3095:14575)\n at async f17 (/$bunfs/root/src/entrypoints/cli.js:3095:15114)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:50:15.919Z"},{"error":"AxiosError: Request failed with status code 401\n at _Q (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12696)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at async zq1 (/$bunfs/root/src/entrypoints/cli.js:3095:14575)\n at async f17 (/$bunfs/root/src/entrypoints/cli.js:3095:15114)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:50:15.986Z"},{"error":"FileTooLargeError: File content (512KB) exceeds maximum allowed size (256KB). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at $09 (/$bunfs/root/src/entrypoints/cli.js:1707:462)\n at emit (node:events:95:22)\n at addChunk (internal:streams/readable:264:47)\n at readableAddChunkPushByteMode (internal:streams/readable:242:18)\n at <anonymous> (internal:fs/streams:147:16)\n at <anonymous> (node:fs:194:82)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:56:56.063Z"},{"error":"MaxFileReadTokenExceededError: File content (1982520 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:57:29.972Z"},{"error":"MaxFileReadTokenExceededError: File content (153176 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T06:09:45.930Z"},{"error":"MaxFileReadTokenExceededError: File content (153176 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T06:09:52.280Z"},{"error":"MaxFileReadTokenExceededError: File content (39661 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T06:10:16.197Z"},{"error":"McpToolCallError: Error: Spider API error 400: {"error":"The 'search' parameter is required."}\n at VT7 (/$bunfs/root/src/entrypoints/cli.js:4738:63)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T13:47:21.914Z"},{"error":"Error: Tool mcp__spider_cloud__spider_scrape not found\n at N17 (/$bunfs/root/src/entrypoints/cli.js:3095:31285)\n at $J (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n at zY (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n at Xd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n at WGH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n at oUH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n at rUH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n at Jp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n at rH (/$bunfs/root/src/entrypoints/cli.js:478:6371)\n at…

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/sidhartha/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n    at ii$ (/$bunfs/root/src/entrypoints/cli.js:2758:2177)\n    at R46 (/$bunfs/root/src/entrypoints/cli.js:2758:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:50:14.197Z"},{"error":"AxiosError: Request failed with status code 401\n    at _Q (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async zq1 (/$bunfs/root/src/entrypoints/cli.js:3095:14575)\n    at async f17 (/$bunfs/root/src/entrypoints/cli.js:3095:15114)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:50:15.919Z"},{"error":"AxiosError: Request failed with status code 401\n    at _Q (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async zq1 (/$bunfs/root/src/entrypoints/cli.js:3095:14575)\n    at async f17 (/$bunfs/root/src/entrypoints/cli.js:3095:15114)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:50:15.986Z"},{"error":"FileTooLargeError: File content (512KB) exceeds maximum allowed size (256KB). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at $09 (/$bunfs/root/src/entrypoints/cli.js:1707:462)\n    at emit (node:events:95:22)\n    at addChunk (internal:streams/readable:264:47)\n    at readableAddChunkPushByteMode (internal:streams/readable:242:18)\n    at <anonymous> (internal:fs/streams:147:16)\n    at <anonymous> (node:fs:194:82)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:56:56.063Z"},{"error":"MaxFileReadTokenExceededError: File content (1982520 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:57:29.972Z"},{"error":"MaxFileReadTokenExceededError: File content (153176 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T06:09:45.930Z"},{"error":"MaxFileReadTokenExceededError: File content (153176 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T06:09:52.280Z"},{"error":"MaxFileReadTokenExceededError: File content (39661 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T06:10:16.197Z"},{"error":"McpToolCallError: Error: Spider API error 400: {\"error\":\"The 'search' parameter is required.\"}\n    at VT7 (/$bunfs/root/src/entrypoints/cli.js:4738:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T13:47:21.914Z"},{"error":"Error: Tool mcp__spider_cloud__spider_scrape not found\n    at N17 (/$bunfs/root/src/entrypoints/cli.js:3095:31285)\n    at $J (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at zY (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Xd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WGH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at oUH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at rUH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Jp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at rH (/$bunfs/root/src/entrypoints/cli.js:478:6371)\n    at…
RAW_BUFFERClick to expand / collapse

Bug Description Haiku 4.5 doesnt support /advisor. can we do this please?

Environment Info

  • Platform: linux
  • Terminal: ghostty
  • Version: 2.1.118
  • Feedback ID: 2054b9a3-7ea2-47a3-8176-84e3e6f2de24

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/sidhartha/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n    at ii$ (/$bunfs/root/src/entrypoints/cli.js:2758:2177)\n    at R46 (/$bunfs/root/src/entrypoints/cli.js:2758:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:50:14.197Z"},{"error":"AxiosError: Request failed with status code 401\n    at _Q (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async zq1 (/$bunfs/root/src/entrypoints/cli.js:3095:14575)\n    at async f17 (/$bunfs/root/src/entrypoints/cli.js:3095:15114)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:50:15.919Z"},{"error":"AxiosError: Request failed with status code 401\n    at _Q (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async zq1 (/$bunfs/root/src/entrypoints/cli.js:3095:14575)\n    at async f17 (/$bunfs/root/src/entrypoints/cli.js:3095:15114)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:50:15.986Z"},{"error":"FileTooLargeError: File content (512KB) exceeds maximum allowed size (256KB). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at $09 (/$bunfs/root/src/entrypoints/cli.js:1707:462)\n    at emit (node:events:95:22)\n    at addChunk (internal:streams/readable:264:47)\n    at readableAddChunkPushByteMode (internal:streams/readable:242:18)\n    at <anonymous> (internal:fs/streams:147:16)\n    at <anonymous> (node:fs:194:82)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:56:56.063Z"},{"error":"MaxFileReadTokenExceededError: File content (1982520 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T05:57:29.972Z"},{"error":"MaxFileReadTokenExceededError: File content (153176 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T06:09:45.930Z"},{"error":"MaxFileReadTokenExceededError: File content (153176 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T06:09:52.280Z"},{"error":"MaxFileReadTokenExceededError: File content (39661 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at mZ7 (/$bunfs/root/src/entrypoints/cli.js:4698:12702)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T06:10:16.197Z"},{"error":"McpToolCallError: Error: Spider API error 400: {\"error\":\"The 'search' parameter is required.\"}\n    at VT7 (/$bunfs/root/src/entrypoints/cli.js:4738:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T13:47:21.914Z"},{"error":"Error: Tool mcp__spider_cloud__spider_scrape not found\n    at N17 (/$bunfs/root/src/entrypoints/cli.js:3095:31285)\n    at $J (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at zY (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Xd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WGH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at oUH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at rUH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Jp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at rH (/$bunfs/root/src/entrypoints/cli.js:478:6371)\n    at…

Note: Content was truncated.

extent analysis

TL;DR

The issue seems to be related to Haiku 4.5 not supporting the /advisor feature, and there are multiple errors occurring, including lock acquisition failures, Axios errors, and file size exceeded errors.

Guidance

  • The errors suggest that there are issues with file sizes exceeding maximum allowed limits, so consider using offset and limit parameters to read specific portions of the file.
  • The MaxFileReadTokenExceededError and FileTooLargeError errors indicate that the file content is too large, so searching for specific content instead of reading the whole file might be a workaround.
  • The McpToolCallError and Tool mcp__spider_cloud__spider_scrape not found errors suggest that there might be issues with the tool or API being used, so verifying the tool's availability and configuration might be necessary.
  • The AxiosError: Request failed with status code 401 errors indicate authentication issues, so checking the authentication credentials and configuration might be required.

Example

No specific code snippet can be provided without more context, but using offset and limit parameters to read files might look something like this:

// Example of using offset and limit parameters to read a file
const fileContent = await readFile('path/to/file', { offset: 0, limit: 25000 });

Note that this is a hypothetical example and might not be applicable to the actual code.

Notes

The issue description is truncated, so it's difficult to provide a more specific solution. Additionally, the errors seem to be related to different issues, so a more detailed analysis of the code and environment might be necessary to identify the root cause.

Recommendation

Apply workaround: Use offset and limit parameters to read specific portions of the file, and verify the tool's availability and configuration to address the McpToolCallError and `Tool mcp__spider_cloud__spider_scrape not found

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