I made the tool while working in an
# office-hours
n
I made the tool while working in an assistant. But after making the squad including that assistant, I found that squad didn't handle the tool's response correctly. Of course, the tool worked and returned success response. But while handling this response in the squad, unexpected error occurred. So the squad says curious sentences that can't come from the prompt or tool response.
s
@NS.inc can I get the call ID and the expected vs actual response? this will help me understand what could have gone wrong...
n
I fixed the error.
It is related to handling response in vapi and my fastapi response mismatching, I think.
And I found some wrong parts in your api doc.
https://docs.vapi.ai/api-reference/squads/create For example, the doc related to squad, add "type" field to "assistantDestinations".
2 Views