Ravi Kumar

Results 4 comments of Ravi Kumar

Hi @ayepRahman , you can use "sendMessage" function present on assistantresponsecallback to save the current response to your external database https://sdk.vercel.ai/docs/api-reference/providers/assistant-response#process-assistantresponsecallback ![image](https://github.com/vercel/ai/assets/53389976/36c481d4-9697-4698-9808-b5c11fc38e4f) as of now, the documentation on "sendMessage" is...

opps my bad, sendMessage is something else. you can use finalMessages() method returned from stream to get the response result. ![image](https://github.com/vercel/ai/assets/53389976/630637d8-4816-4d49-9c5e-d2f8098025d6) ```ts runStream.finalMessages().then((finalMessages) => { console.log("finalMessages", finalMessages); }); ``` hope...

Hi @fabian-hiller, i checked the changes in the PR that you mentioned, but i couldn't find the solution i was looking for. can you help me out if i am...