-
-
Notifications
You must be signed in to change notification settings - Fork 659
Response Retrieve streamed #713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Response Retrieve streamed #713
Conversation
|
With a new method like this - I don't exactly remember it all by heart but you'll need to touch the interface, the mock and a simple test to keep the coverage. |
|
Yes this is more of a working draft now. To have discussion over I guess. |
|
@iBotPeaches improved code, added interface methods, docs and tests. |
|
Do you have any further context on the string |
When we use the boolean it is being used as |
|
We could also adjust the Payload::toRequest method to handle this, but I'm not sure if it applies to every endpoint. |
|
Ahh interesting. Thanks for all the info. Let me mess with this a bit (see impact on other endpoints, etc) and see. |
|
thanks! |
What:
Description:
Adds ability to resume a background stream from a response id and cursor:
Related:
https://platform.openai.com/docs/guides/background#streaming-a-background-response