Agent Builder Agent Process Silently Dies

We see occasional cases where our Agent Builder workflow stops responding to user messages, with no error shown in the thread’s logs.

It might be related to client tool calls, but I’m not positive about that.

  • User sends messages
  • Agent responds
  • Client tool calls are used successfully, user continues to go back and forth with agent.
  • Then at some point, another client tool is called successfully, but that is the last response the agent ever gives. In the logs we see:
    • CLIENT TOOL CALL
      • Status: completed
      • Output: { “success”: true, … }
    • TASK GROUP
      • Created is after the client tool call
      • Type: Thought
    • USER: User message
      • User says something normal, should get a response from agent
      • Instead, agent never responds
    • USER: User message
    • USER: User message
    • …. etc, user never gets another response from Agent
  • The Status of the thread is still shown as “Active”

Similar issues:

Example threads:

Unfortunately, I don’t have a way to deterministically repro.

2 Likes

Actually, I might have been mistaken about there not being any errors logged. In the chatkit logs, nothing shows up. But if I go through the traces for that thread, I do see:

{
  "exception": "Error code: 400 - {'error': {'message': 'No tool output found for function call {call_id}.', 'type': 'invalid_request_error', 'param': 'input', 'code': None}}"
}

So maybe this is actually the same underlying issue as: Users stop receiving agent responses after refreshing the page during a client tool call · Issue #107 · openai/chatkit-js · GitHub

(however, I still don’t think refresh mid-call is the cause in my case)

1 Like