[Bug] CLI hangs indefinitely when reading small files
Resolved 💬 1 comment Opened May 18, 2026 by NSDavidObject Closed Jun 17, 2026
Bug Description
stuck reading a single small file for 4+minutes, pretty ridiculous
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.141
- Feedback ID: e354a629-1a6b-426b-bd20-0eab66582811
Errors
[{"error":"The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()","timestamp":"2026-05-14T18:06:12.850Z"},{"error":"Error: Request timed out.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6784)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-14T19:28:50.759Z"},{"error":"AxiosError: Request failed with status code 400\n at Io (/$bunfs/root/src/entrypoints/cli.js:116:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12702)\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:123:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T05:32:32.242Z"},{"error":"Error: Error normalizing tool input: ZodError: [\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"old_string\",\n \"new_string\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"old_string\\\", \\\"new_string\\\"\"\n }\n]\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:5238:1034)\n at map (native:1:11)\n at j2_ (/$bunfs/root/src/entrypoints/cli.js:5238:559)\n at fhK (/$bunfs/root/src/entrypoints/cli.js:9064:11025)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T15:28:52.778Z"},{"error":"Error: Error normalizing tool input: ZodError: [\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"old_string\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"old_string\\\"\"\n }\n]\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:5238:1034)\n at map (native:1:11)\n at j2_ (/$bunfs/root/src/entrypoints/cli.js:5238:559)\n at fhK (/$bunfs/root/src/entrypoints/cli.js:9064:11025)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T22:27:23.453Z"},{"error":"Error: 413 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Request size exceeds model context window\"},\"request_id\":\"req_011CbANCQinxDBgJeB7hRUen\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:60240)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T16:40:57.258Z"}]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗