Tool use not returning an reply (no text deltas) #8738
-
|
I've recently updated the package to v5 and have unfortunately encountered some issues. My setup consists of an LLM call using the With the v5 version, I mostly get 1-2 tool calls and then it finishes (successfully) with no response. In the logs I don't see any I've re-read the docs and scoured the discussions multiple times now and can't seem to find any information. If I give it a user message where I know it won't call any tools (generic "hi there"), it responds nicely and I can see the Any help or guidance would be really appreciated 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
As I submitted this it occurred to me that I may have an overwrite issue with my config. And indeed it was. My So to anyone facing a similar issue - make sure you Apologies for the support spam 🙏 |
Beta Was this translation helpful? Give feedback.
-
|
This discussion was automatically locked because it has not been updated in over 30 days. If you still have questions about this topic, please ask us at community.vercel.com/ai-sdk |
Beta Was this translation helpful? Give feedback.
As I submitted this it occurred to me that I may have an overwrite issue with my config. And indeed it was. My
stopWhenparam was being overwritten and because the default is set to[stepCountIs(1)]it was behaving exactly as it should.So to anyone facing a similar issue - make sure you
stopWhenis set correctly!Apologies for the support spam 🙏