Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a990968

Browse filesBrowse files
RobertCraigiestainless-app[bot]
authored andcommitted
Revert "fix(parsing): don't validate input tools in the asynchronous .parse() method"
This reverts commit 257d79e.
1 parent d779e40 commit a990968
Copy full SHA for a990968

File tree

Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/openai/resources/beta/chat/completions.py
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ 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-
273271
extra_headers = {
274272
"X-Stainless-Helper-Method": "beta.chat.completions.stream",
275273
**(extra_headers or {}),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.