We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.parse()
1 parent b95be16 commit 257d79eCopy full SHA for 257d79e
src/openai/resources/beta/chat/completions.py
@@ -268,6 +268,8 @@ def stream(
268
When the context manager exits, the response will be closed, however the `stream` instance is still available outside
269
the context manager.
270
"""
271
+ _validate_input_tools(tools)
272
+
273
extra_headers = {
274
"X-Stainless-Helper-Method": "beta.chat.completions.stream",
275
**(extra_headers or {}),
0 commit comments