background-agents icon indicating copy to clipboard operation
background-agents copied to clipboard

Missing agent response

Open Bnowako opened this issue 7 months ago • 5 comments

I didn't have time to debug it much more, but it seems like sometimes there are only tools on the output.

In opencode I always see assistant message as the last message.

Could it be a bug in open-inspect?

Especially problematic for non-coding use-cases as you ask a question, and there is no answer.

Image

Bnowako avatar Apr 27 '26 13:04 Bnowako

I've been running OpenInspect from end of April and it was working fine. I've been re-deploying it few times as well, without problems. When I recently updated, however, I do not see any output from AI, not sure how to troubleshoot this. It just finishes instantly.

Image

Logs seem to mention some '204 No Content' response from some local machinery:

Image

@ColeMurray if that is not related issue, LMK so I'll open a separate report.

Nopik avatar May 12 '26 07:05 Nopik

@Nopik check opencode server session after you ssh to the sandbox with

curl -s http://127.0.0.1:4096/session | jq
curl -s "http://127.0.0.1:4096/session/$SESSION_ID/message" | jq

For me there were messages in the session, but they were not correctly passed to the control plane

Bnowako avatar May 12 '26 07:05 Bnowako

Thanks! Indeed, I also do see AI response, but it was not delivered to the control plane.

Nopik avatar May 12 '26 12:05 Nopik

This was caused by recent changes to opnecode-ai. We were able to work around this by pinning that to 1.14.41 and bumping the cache buster. See: https://github.com/ColeMurray/background-agents/pull/630

flostadler avatar May 12 '26 20:05 flostadler

thanks for the fix and tracking this down @flostadler!

ColeMurray avatar May 13 '26 05:05 ColeMurray