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
Hi there, is there any way to stream tool outputs to the messages array so we can render them? If we call setMessages or addToolResult it will just ask the model again.
Similarly, but separately, is there a way to add a tool result without triggering an API call? If a user says no to running a tool, we don't want the model to keep trying, or provide any response to it, for that matter
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there, is there any way to stream tool outputs to the messages array so we can render them? If we call setMessages or addToolResult it will just ask the model again.
Similarly, but separately, is there a way to add a tool result without triggering an API call? If a user says no to running a tool, we don't want the model to keep trying, or provide any response to it, for that matter
Beta Was this translation helpful? Give feedback.
All reactions