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
As far as I understand, we know that a stream has finished when .output() resolves. However when you don't provide an output parameter (as i just want to use .text() in the streaming callback) it seems like .output() will reject:
> [ERROR] bolt-app UnknownError: No JSON object or array found in model output: (....the llm text response here, which is what i wanted)```
The text was updated successfully, but these errors were encountered:
I was using the generate method.
As far as I understand, we know that a stream has finished when
.output()
resolves. However when you don't provide anoutput
parameter (as i just want to use.text()
in the streaming callback) it seems like.output()
will reject:The text was updated successfully, but these errors were encountered: