Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6fcfe73

Browse files
committedJan 27, 2025
fix(parsing): don't validate input tools in the asynchronous .parse() method
1 parent b95be16 commit 6fcfe73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/openai/resources/beta/chat/completions.py

+2
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ def stream(
268268
When the context manager exits, the response will be closed, however the `stream` instance is still available outside
269269
the context manager.
270270
"""
271+
_validate_input_tools(tools)
272+
271273
extra_headers = {
272274
"X-Stainless-Helper-Method": "beta.chat.completions.stream",
273275
**(extra_headers or {}),

0 commit comments

Comments
 (0)
Please sign in to comment.