Tool with API call not returning results but sync tool calls work. #3350
Unanswered
daynewright
asked this question in
Help
Replies: 3 comments 2 replies
-
Any update? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same here! Any update on this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any update on this? the same thing happened to me, it seems like the fetch request just stops when called inside the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I attempt to use a tool that creates an api call, I am not getting the
results
passed back to theuseChat
hook in themessages
but I can log that the tool runs and receives the data. It seems like it is returning too soon or I am missing an implementation detail.I have an API call happening in the tool and it works, but the
result
is never resolved and is missing. It is like theexecute
is ignoring the async? All the other tools I have that just restructure the data work fine.When I log the
formattedData
I see it but it never makes it to the messages. 🤔Beta Was this translation helpful? Give feedback.
All reactions