Replies: 5 comments 6 replies
-
why are the docs so weird? Some parts are good, some are just flat out wrong |
Beta Was this translation helpful? Give feedback.
-
ok i solved it by add thing code
still though, this is a criticism of some part of the documentation. The docs should be updated, it's frustrating when they give flat-out wrong code. |
Beta Was this translation helpful? Give feedback.
-
how to edit the ai response when the ai calling the tools? so it doesnt just empty ai response |
Beta Was this translation helpful? Give feedback.
-
Which guide are you looking at? What you need should be documented here: https://sdk.vercel.ai/docs/ai-sdk-ui/chatbot-with-tool-calling If there are specific mistakes/omissions in this guide, please let me know. |
Beta Was this translation helpful? Give feedback.
-
@myudak had the same issue (empty message response). When I log the tool invocation, it is stuck in "state" = "call". How did you manage to get this working? |
Beta Was this translation helpful? Give feedback.
-
i literally use the same thing as the docs https://sdk.vercel.ai/examples/next-pages/tools/call-tool
but its just resulting im ai message empty
how do i get the tool response to the ai message
code :
Beta Was this translation helpful? Give feedback.
All reactions