tool responsenot working
# support
o
I created an agent and connected a tool to it. The tool responses correctly but the assistant says that he found something but stops then to continue to talk... Is there something I have to setup? It worked for other agents. The payload is also correct from the webhook logs so vapi gets the response corectly. Also added the necessary client/server messages. https://cdn.discordapp.com/attachments/1315727339069509683/1315727339300061295/Screenshot_2024-12-09_at_18.09.44.png?ex=67587612&is=67572492&hm=5e740d98b586cf8fad781ca436f1a34359b02ead8e0330a958d0818152df50de& https://cdn.discordapp.com/attachments/1315727339069509683/1315727339572695050/Screenshot_2024-12-09_at_18.10.13.png?ex=67587612&is=67572492&hm=a8fc56b05df46b7cfe9b3e8d36eba8c60c6be6270cc2ea7ae69d65bb2054b4a9&
@Shubham Bajaj
v
message has been deleted
@Onur It sounds like you've done a great job setting up your agent and connecting the tool. If the tool is responding correctly and the payload from the webhook logs looks good, it seems like the issue might be with the assistant's configuration or a possible bug in the system. Here are a few things you can check to ensure everything is set up correctly: 1. **Assistant Configuration**: Make sure that the assistant is configured to handle the response from the tool correctly. This includes parsing the payload and continuing the conversation based on the received data. 2. **Response Handling**: Verify that the assistant's script or logic is set up to handle the tool's response and continue the dialogue. There might be a missing link in the conversation flow after the tool's response is received. 3. **Error Logs**: Check for any error messages or logs that might indicate where the process is breaking down. This can provide clues as to what might be going wrong. 4. **Version Compatibility**: Ensure that the versions of the assistant and the tool are compatible. If you've recently updated one, the other might also need an update. 5. **Testing**: If possible, test the assistant with a simplified version of the tool's response to see if it can handle basic responses correctly. If you've checked all of these and the issue persists, it might be a more technical problem that requires support's attention. In that case, please reach out to the support team with detailed information about the issue, including any relevant logs or error messages, for further assistance.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
Hey @Onur To help track down this issue, could you share: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help me figure out what went wrong!
o
- Call Id: 285adb45-cbc9-4e84-bbe7-6417c6d614d5 - 18:24:49:382 - The response from my make flow which is sended correctly check the images - I got "I dont' have this information" but the make flow sucessfully return a response which also is seen in the webhooks tab
@Shubham Bajaj any update here 👀
s
cuurent
Copy code
json
🔵 17:26:18:231 Server Message Successful. (https://hook.eu2.make.com/x5v6uw8mglwmfi4qqu9n51h7trkhfm1x). Response: {"results": [{"toolCallId": "call_hql6Ozq4S7klTvWpKxYbbIck","result": "Natürlich! Hier sind unsere Standorte: 

1. Gebrauchtwagen Center, Feldstraße 6, 16356 Ahrensfelde, Tel.: +49 30 9400980
2. Alt-Biesdorf, Alt-Biesdorf 36, 12683 Berlin, Tel: +49 30 293592170
3. Finowfurter Ring, Finowfurter Ring 48 A, 16244 Finowfurt, Tel: +49 3335 44440
4. Hansastraße, Hansastraße 212, 13051 Berlin, Tel: +49 30 983089222
5. Weinbergsweg, Weinbergsweg 23, 14974 Ludwigsfelde, Tel: +49 3378 86440
6. Paderborner Ring, Paderborner Ring 1, 14974 Ludwigsfelde, Tel: +49 3378 857700
7. Marzahner Chaussee, Marzahner Chaussee 219, 12681 Berlin, Tel: +49 30 5499880
8. Alexanderstraße, Alexanderstraße 1, 10178 Berlin, Tel: +49 30 509314630
9. Valentin-Rose-Straße, Valentin-Rose-Straße 2a, 16816 Neuruppin, Tel.: +49 3391 35280
10. Huttenstraße, Huttenstraße 50, 10553 Berlin, Tel: +49 30 34092590
11. Karl-Liebknecht-Str., Karl-Liebknecht-Str. 64-65, 15711 Königs Wusterhausen, Tel: +49 3375 904010

Wenn Sie weitere Informationen benötigen, lassen Sie es mich wissen!"}]}
expected
Copy code
json
🔵 17:26:18:231 Server Message Successful. (https://hook.eu2.make.com/x5v6uw8mglwmfi4qqu9n51h7trkhfm1x). Response: {"results":[{"toolCallId":"call_hql6Ozq4S7klTvWpKxYbbIck","result":"Natürlich! Hier sind unsere Standorte: 1. Gebrauchtwagen Center, Feldstraße 6, 16356 Ahrensfelde, Tel.: +49 30 9400980 2. Alt-Biesdorf, Alt-Biesdorf 36, 12683 Berlin, Tel: +49 30 293592170 3. Finowfurter Ring, Finowfurter Ring 48 A, 16244 Finowfurt, Tel: +49 3335 44440 4. Hansastraße, Hansastraße 212, 13051 Berlin, Tel: +49 30 983089222 5. Weinbergsweg, Weinbergsweg 23, 14974 Ludwigsfelde, Tel: +49 3378 86440 6. Paderborner Ring, Paderborner Ring 1, 14974 Ludwigsfelde, Tel: +49 3378 857700 7. Marzahner Chaussee, Marzahner Chaussee 219, 12681 Berlin, Tel: +49 30 5499880 8. Alexanderstraße, Alexanderstraße 1, 10178 Berlin, Tel: +49 30 509314630 9. Valentin-Rose-Straße, Valentin-Rose-Straße 2a, 16816 Neuruppin, Tel.: +49 3391 35280 10. Huttenstraße, Huttenstraße 50, 10553 Berlin, Tel: +49 30 34092590 11. Karl-Liebknecht-Str., Karl-Liebknecht-Str. 64-65, 15711 Königs Wusterhausen, Tel: +49 3375 904010 Wenn Sie weitere Informationen benötigen, lassen Sie es mich wissen!"}]}
@Onur your expected to return response as string without any line breaks!!
o
whats the reason that an agent can read that out off curiosity?
And I tried it without linebreals and hat the same issues
s
call id please.
6 Views