Commit c80fe336
Changed files (1)
src
openai
resources
beta
threads
src/openai/resources/beta/threads/threads.py
@@ -1062,7 +1062,7 @@ class Threads(SyncAPIResource):
"stream": True,
"thread": thread,
"tools": tools,
- "tool": tool_resources,
+ "tool_resources": tool_resources,
"truncation_strategy": truncation_strategy,
"top_p": top_p,
},
@@ -2082,7 +2082,7 @@ class AsyncThreads(AsyncAPIResource):
"stream": True,
"thread": thread,
"tools": tools,
- "tool": tool_resources,
+ "tool_resources": tool_resources,
"truncation_strategy": truncation_strategy,
"top_p": top_p,
},