[Bug] Agent stuck in operation loop unable to proceed or route around task
Resolved 💬 3 comments Opened Apr 20, 2026 by gworley3 Closed Apr 24, 2026
Bug Description
agent is stuck trying to perform an operation and i can't seem to get it to route around it or move on. was trying to have it work on generating some placeholder images, and got stuck here.
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.114
- Feedback ID: b5623735-8306-4bfb-b99d-421ee00e1243
Errors
[{"error":"AxiosError: Request failed with status code 401\n at CU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\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 kn1 (/$bunfs/root/src/entrypoints/cli.js:3089:14374)\n at async z_7 (/$bunfs/root/src/entrypoints/cli.js:3089:14913)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:49:45.941Z"},{"error":"AxiosError: Request failed with status code 401\n at CU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\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 kn1 (/$bunfs/root/src/entrypoints/cli.js:3089:14374)\n at async z_7 (/$bunfs/root/src/entrypoints/cli.js:3089:14913)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:49:45.986Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/gworley/worktrees/permit_tools/placeholder-files.\n at call (/$bunfs/root/src/entrypoints/cli.js:4732:7630)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T19:20:39.527Z"},{"error":"Failed to decode image: The image format Gif is not supported","timestamp":"2026-04-20T19:37:03.269Z"},{"error":"Failed to decode image: The image format Gif is not supported","timestamp":"2026-04-20T19:37:03.269Z"},{"error":"ImageResizeError: Unable to compress image (392.2KB) to fit within 146.5KB. Please use a smaller image.\n at IK9 (/$bunfs/root/src/entrypoints/cli.js:567:7138)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T19:37:03.269Z"},{"error":"Error: Could not load the \"sharp\" module using the darwin-arm64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n npm install --os=darwin --cpu=arm64 sharp\n- Consult the installation documentation:\n See https://sharp.pixelplumbing.com/install\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:536:2606)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:11:1047)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:540:61)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:11:1047)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:567:13)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:11:1047)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:4727:3761)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T19:37:03.274Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Could not process image\"},\"request_id\":\"req_011CaFaz3cGTZ4JD24v39ksz\"}\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-20T19:37:05.429Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Could not process image\"},\"request_id\":\"req_011CaFbx2z8K43qdqutin5FZ\"}\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-20T19:49:45.005Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Could not process image\"},\"request_id\":\"req_011CaFcgYzLPVpKE5J1fsTw4\"}\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-20T19:59:21.725Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Could not process image\"},\"request_id\":\"req_011CaFchc5eRxPnm2sX2FSB6\"}\n at…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗