Replies: 1 comment 3 replies
-
@nchammas the model stream interface is kind of a leftover from another time -- it's semantics need a full review and possible rewrite, and we need to document this all. Current behavior (afaik):
We don't really have a concept of a "chunk" or "delta" at the moment, and maybe that needs to change. Open to suggestions if you have an idea of what streams should actually do :) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't understand how to use
model.stream()
, and the behavior I'm seeing for it is just weird.Here's the test script I'm running using guidance b278873:
This is the output I get:
This leads me to the following questions:
response
is not available in either theModelStream
object or in the underlyingModel
object.Additionally, if I make the following change to my test script and rerun it:
I get completely different output:
What's going on? Am I completely misusing this API, or is there a bug somewhere?
Beta Was this translation helpful? Give feedback.
All reactions