Skip to content

Commit

Permalink
fix(threads/runs/create_and_run_stream): correct tool_resources param
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie committed Jul 10, 2024
1 parent e0ed37c commit 8effd08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/openai/resources/beta/threads/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ def create_and_run_stream(
"stream": True,
"thread": thread,
"tools": tools,
"tool": tool_resources,
"tool_resources": tool_resources,
"truncation_strategy": truncation_strategy,
"top_p": top_p,
},
Expand Down Expand Up @@ -2082,7 +2082,7 @@ def create_and_run_stream(
"stream": True,
"thread": thread,
"tools": tools,
"tool": tool_resources,
"tool_resources": tool_resources,
"truncation_strategy": truncation_strategy,
"top_p": top_p,
},
Expand Down

0 comments on commit 8effd08

Please sign in to comment.