Replies: 1 comment 2 replies
-
Because type inference breaks when you remove them. Please let me know if you figure out how to have type inference working for both tools without arguments and regular tools in both generateText and streamText. |
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
-
I have the following.
The function does not need any parameters - But I am not able to remove the argument. And currently it doesn't work with just
z.object({})
Beta Was this translation helpful? Give feedback.
All reactions