IDEA:
We always need the AgentResponse at the end of the chat. As such, it shoud
always return the AgentResponse. Additionally, developers can pass in a
function for on push, which will be called whenever a new message is streamed
For example, express can pass in a function to write to the response stream
IDEA: We always need the AgentResponse at the end of the chat. As such, it shoud always return the AgentResponse. Additionally, developers can pass in a function for on push, which will be called whenever a new message is streamed For example, express can pass in a function to write to the response stream