@@ -39,19 +39,19 @@ def test_method_create_with_all_params(self, client: OpenAI) -> None:
3939 response_format = "auto" ,
4040 temperature = 1 ,
4141 tool_resources = {
42- "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
42+ "code_interpreter" : {"file_ids" : ["string" ]},
4343 "file_search" : {
4444 "vector_store_ids" : ["string" ],
4545 "vector_stores" : [
4646 {
4747 "chunking_strategy" : {"type" : "auto" },
48- "file_ids" : ["string" , "string" , "string" ],
48+ "file_ids" : ["string" ],
4949 "metadata" : {},
5050 }
5151 ],
5252 },
5353 },
54- tools = [{"type" : "code_interpreter" }, { "type" : "code_interpreter" }, { "type" : "code_interpreter" } ],
54+ tools = [{"type" : "code_interpreter" }],
5555 top_p = 1 ,
5656 )
5757 assert_matches_type (Assistant , assistant , path = ["response" ])
@@ -137,10 +137,10 @@ def test_method_update_with_all_params(self, client: OpenAI) -> None:
137137 response_format = "auto" ,
138138 temperature = 1 ,
139139 tool_resources = {
140- "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
140+ "code_interpreter" : {"file_ids" : ["string" ]},
141141 "file_search" : {"vector_store_ids" : ["string" ]},
142142 },
143- tools = [{"type" : "code_interpreter" }, { "type" : "code_interpreter" }, { "type" : "code_interpreter" } ],
143+ tools = [{"type" : "code_interpreter" }],
144144 top_p = 1 ,
145145 )
146146 assert_matches_type (Assistant , assistant , path = ["response" ])
@@ -271,19 +271,19 @@ async def test_method_create_with_all_params(self, async_client: AsyncOpenAI) ->
271271 response_format = "auto" ,
272272 temperature = 1 ,
273273 tool_resources = {
274- "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
274+ "code_interpreter" : {"file_ids" : ["string" ]},
275275 "file_search" : {
276276 "vector_store_ids" : ["string" ],
277277 "vector_stores" : [
278278 {
279279 "chunking_strategy" : {"type" : "auto" },
280- "file_ids" : ["string" , "string" , "string" ],
280+ "file_ids" : ["string" ],
281281 "metadata" : {},
282282 }
283283 ],
284284 },
285285 },
286- tools = [{"type" : "code_interpreter" }, { "type" : "code_interpreter" }, { "type" : "code_interpreter" } ],
286+ tools = [{"type" : "code_interpreter" }],
287287 top_p = 1 ,
288288 )
289289 assert_matches_type (Assistant , assistant , path = ["response" ])
@@ -369,10 +369,10 @@ async def test_method_update_with_all_params(self, async_client: AsyncOpenAI) ->
369369 response_format = "auto" ,
370370 temperature = 1 ,
371371 tool_resources = {
372- "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
372+ "code_interpreter" : {"file_ids" : ["string" ]},
373373 "file_search" : {"vector_store_ids" : ["string" ]},
374374 },
375- tools = [{"type" : "code_interpreter" }, { "type" : "code_interpreter" }, { "type" : "code_interpreter" } ],
375+ tools = [{"type" : "code_interpreter" }],
376376 top_p = 1 ,
377377 )
378378 assert_matches_type (Assistant , assistant , path = ["response" ])
0 commit comments