@@ -39,19 +39,19 @@ def test_method_create_with_all_params(self, client: OpenAI) -> None:
39
39
response_format = "auto" ,
40
40
temperature = 1 ,
41
41
tool_resources = {
42
- "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
42
+ "code_interpreter" : {"file_ids" : ["string" ]},
43
43
"file_search" : {
44
44
"vector_store_ids" : ["string" ],
45
45
"vector_stores" : [
46
46
{
47
47
"chunking_strategy" : {"type" : "auto" },
48
- "file_ids" : ["string" , "string" , "string" ],
48
+ "file_ids" : ["string" ],
49
49
"metadata" : {},
50
50
}
51
51
],
52
52
},
53
53
},
54
- tools = [{"type" : "code_interpreter" }, { "type" : "code_interpreter" }, { "type" : "code_interpreter" } ],
54
+ tools = [{"type" : "code_interpreter" }],
55
55
top_p = 1 ,
56
56
)
57
57
assert_matches_type (Assistant , assistant , path = ["response" ])
@@ -137,10 +137,10 @@ def test_method_update_with_all_params(self, client: OpenAI) -> None:
137
137
response_format = "auto" ,
138
138
temperature = 1 ,
139
139
tool_resources = {
140
- "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
140
+ "code_interpreter" : {"file_ids" : ["string" ]},
141
141
"file_search" : {"vector_store_ids" : ["string" ]},
142
142
},
143
- tools = [{"type" : "code_interpreter" }, { "type" : "code_interpreter" }, { "type" : "code_interpreter" } ],
143
+ tools = [{"type" : "code_interpreter" }],
144
144
top_p = 1 ,
145
145
)
146
146
assert_matches_type (Assistant , assistant , path = ["response" ])
@@ -271,19 +271,19 @@ async def test_method_create_with_all_params(self, async_client: AsyncOpenAI) ->
271
271
response_format = "auto" ,
272
272
temperature = 1 ,
273
273
tool_resources = {
274
- "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
274
+ "code_interpreter" : {"file_ids" : ["string" ]},
275
275
"file_search" : {
276
276
"vector_store_ids" : ["string" ],
277
277
"vector_stores" : [
278
278
{
279
279
"chunking_strategy" : {"type" : "auto" },
280
- "file_ids" : ["string" , "string" , "string" ],
280
+ "file_ids" : ["string" ],
281
281
"metadata" : {},
282
282
}
283
283
],
284
284
},
285
285
},
286
- tools = [{"type" : "code_interpreter" }, { "type" : "code_interpreter" }, { "type" : "code_interpreter" } ],
286
+ tools = [{"type" : "code_interpreter" }],
287
287
top_p = 1 ,
288
288
)
289
289
assert_matches_type (Assistant , assistant , path = ["response" ])
@@ -369,10 +369,10 @@ async def test_method_update_with_all_params(self, async_client: AsyncOpenAI) ->
369
369
response_format = "auto" ,
370
370
temperature = 1 ,
371
371
tool_resources = {
372
- "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
372
+ "code_interpreter" : {"file_ids" : ["string" ]},
373
373
"file_search" : {"vector_store_ids" : ["string" ]},
374
374
},
375
- tools = [{"type" : "code_interpreter" }, { "type" : "code_interpreter" }, { "type" : "code_interpreter" } ],
375
+ tools = [{"type" : "code_interpreter" }],
376
376
top_p = 1 ,
377
377
)
378
378
assert_matches_type (Assistant , assistant , path = ["response" ])
0 commit comments