Open markwallace-microsoft opened 1 week ago
Thank you for reaching out, @markwallace-microsoft ! Could you please provide more context about why making stream_options
optional to match the REST API is important to you?
The reason why we always set it to true in the library on behalf of the user is because:
We would love to hear your thoughts!
Confirm this is not an issue with the OpenAI Python Library
Confirm this is not an issue with the underlying OpenAI API
Confirm this is not an issue with Azure OpenAI
Describe the bug
In the OpenAI document
stream_options
is optional and defaults to null. In the library it has a default value and is always sent when streaming is enabled.The ask here is to update the implementation to match the API specification so that unnecessary properties are not being sent by default.
To Reproduce
stream_options
is included.Code snippets
No response
OS
winOS
.NET version
8.0
Library version
2.0.0-beta.10