[Bug] Anthropic API Error: No assistant message found

Resolved 💬 7 comments Opened Oct 22, 2025 by RatanSaiCT Closed Jan 13, 2026

Bug Description
I think this is a bug, Got this error, while using please check the input and output

> Also check @../folder1 and @../folder2 for the same mistakes
  ⎿  Listed directory ../folder1/

✻ Razzmatazzing… (esc to interrupt)
  ⎿  Tip: Want Claude to remember something? Hit # to add preferences, tools, and instructions to Claude's memory

This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: No assistant message found

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.25
  • Feedback ID: b6d7c11e-4195-41e6-8933-6c8a4bf3713a

Errors

[{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n    at new NodeError (node:internal/errors:405:5)\n    at Socket.onChildStdout (node:child_process:490:14)\n    at Socket.emit (node:events:517:28)\n    at Socket.emit (node:domain:489:12)\n    at addChunk (node:internal/streams/readable:368:12)\n    at readableAddChunk (node:internal/streams/readable:337:11)\n    at Readable.push (node:internal/streams/readable:278:10)\n    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)","timestamp":"2025-10-22T10:56:55.232Z"}]

View original on GitHub ↗

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