-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onFinish strange error with Drizzle/BASE_URL: "values() must be called with at least one value" #619
Comments
I have the same problem, and I don't know how to debug it, the document didn't clarify anything, not even returning a message like greeting in the tool call. |
If you add new tool calls, ensure that you include them in both the AllowedTools type and the allTools array in /api/chat/route.ts. Failing to do so will result in incomplete messages being passed to onFinish when the tool is invoked, causing the aforementioned error. |
That's the correct answer, the document missing this step. |
Hi thanks, I also get it on image uploading. |
How do you upload image? |
Using the repo's onFinished I am getting an error, but only when tool calling. Is there a way to get better tracing or debugging for resolving this? All this abstraction seems to be confusing, what is the actual error?
The text was updated successfully, but these errors were encountered: