You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
vijaythecoder
changed the title
[Bug] generateChat Does Not Process Tools Like generateText Does
[Bug] generateChat does not process tools like generateText does
Apr 5, 2024
Hey @vijaythecoder ,
do you prefer the behavior of generateText or the behavior of generateTextOrReturnFunctionCalled that gives you more control over the way the function is called?
I've come across a bug in our code where the
generateChat
function isn't dealing with tools the same waygenerateText
does. Here's the situation:For
generateChat
, the function looks like this:and for
generateText
, it looks like belowExpected:
generateChat
needs to handle the tools.The text was updated successfully, but these errors were encountered: