@@ -31,8 +31,8 @@ def test_method_create_with_all_params(self, client: OpenAI) -> None:
3131 thread = client .beta .threads .create (
3232 messages = [
3333 {
34- "role" : "user" ,
3534 "content" : "string" ,
35+ "role" : "user" ,
3636 "attachments" : [
3737 {
3838 "file_id" : "string" ,
@@ -62,8 +62,8 @@ def test_method_create_with_all_params(self, client: OpenAI) -> None:
6262 "metadata" : {},
6363 },
6464 {
65- "role" : "user" ,
6665 "content" : "string" ,
66+ "role" : "user" ,
6767 "attachments" : [
6868 {
6969 "file_id" : "string" ,
@@ -93,8 +93,8 @@ def test_method_create_with_all_params(self, client: OpenAI) -> None:
9393 "metadata" : {},
9494 },
9595 {
96- "role" : "user" ,
9796 "content" : "string" ,
97+ "role" : "user" ,
9898 "attachments" : [
9999 {
100100 "file_id" : "string" ,
@@ -131,8 +131,8 @@ def test_method_create_with_all_params(self, client: OpenAI) -> None:
131131 "vector_store_ids" : ["string" ],
132132 "vector_stores" : [
133133 {
134- "file_ids" : ["string" , "string" , "string" ],
135134 "chunking_strategy" : {"type" : "auto" },
135+ "file_ids" : ["string" , "string" , "string" ],
136136 "metadata" : {},
137137 }
138138 ],
@@ -310,8 +310,8 @@ def test_method_create_and_run_with_all_params_overload_1(self, client: OpenAI)
310310 thread = {
311311 "messages" : [
312312 {
313- "role" : "user" ,
314313 "content" : "string" ,
314+ "role" : "user" ,
315315 "attachments" : [
316316 {
317317 "file_id" : "string" ,
@@ -341,8 +341,8 @@ def test_method_create_and_run_with_all_params_overload_1(self, client: OpenAI)
341341 "metadata" : {},
342342 },
343343 {
344- "role" : "user" ,
345344 "content" : "string" ,
345+ "role" : "user" ,
346346 "attachments" : [
347347 {
348348 "file_id" : "string" ,
@@ -372,8 +372,8 @@ def test_method_create_and_run_with_all_params_overload_1(self, client: OpenAI)
372372 "metadata" : {},
373373 },
374374 {
375- "role" : "user" ,
376375 "content" : "string" ,
376+ "role" : "user" ,
377377 "attachments" : [
378378 {
379379 "file_id" : "string" ,
@@ -403,20 +403,20 @@ def test_method_create_and_run_with_all_params_overload_1(self, client: OpenAI)
403403 "metadata" : {},
404404 },
405405 ],
406+ "metadata" : {},
406407 "tool_resources" : {
407408 "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
408409 "file_search" : {
409410 "vector_store_ids" : ["string" ],
410411 "vector_stores" : [
411412 {
412- "file_ids" : ["string" , "string" , "string" ],
413413 "chunking_strategy" : {"type" : "auto" },
414+ "file_ids" : ["string" , "string" , "string" ],
414415 "metadata" : {},
415416 }
416417 ],
417418 },
418419 },
419- "metadata" : {},
420420 },
421421 tool_choice = "none" ,
422422 tool_resources = {
@@ -480,8 +480,8 @@ def test_method_create_and_run_with_all_params_overload_2(self, client: OpenAI)
480480 thread = {
481481 "messages" : [
482482 {
483- "role" : "user" ,
484483 "content" : "string" ,
484+ "role" : "user" ,
485485 "attachments" : [
486486 {
487487 "file_id" : "string" ,
@@ -511,8 +511,8 @@ def test_method_create_and_run_with_all_params_overload_2(self, client: OpenAI)
511511 "metadata" : {},
512512 },
513513 {
514- "role" : "user" ,
515514 "content" : "string" ,
515+ "role" : "user" ,
516516 "attachments" : [
517517 {
518518 "file_id" : "string" ,
@@ -542,8 +542,8 @@ def test_method_create_and_run_with_all_params_overload_2(self, client: OpenAI)
542542 "metadata" : {},
543543 },
544544 {
545- "role" : "user" ,
546545 "content" : "string" ,
546+ "role" : "user" ,
547547 "attachments" : [
548548 {
549549 "file_id" : "string" ,
@@ -573,20 +573,20 @@ def test_method_create_and_run_with_all_params_overload_2(self, client: OpenAI)
573573 "metadata" : {},
574574 },
575575 ],
576+ "metadata" : {},
576577 "tool_resources" : {
577578 "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
578579 "file_search" : {
579580 "vector_store_ids" : ["string" ],
580581 "vector_stores" : [
581582 {
582- "file_ids" : ["string" , "string" , "string" ],
583583 "chunking_strategy" : {"type" : "auto" },
584+ "file_ids" : ["string" , "string" , "string" ],
584585 "metadata" : {},
585586 }
586587 ],
587588 },
588589 },
589- "metadata" : {},
590590 },
591591 tool_choice = "none" ,
592592 tool_resources = {
@@ -641,8 +641,8 @@ async def test_method_create_with_all_params(self, async_client: AsyncOpenAI) ->
641641 thread = await async_client .beta .threads .create (
642642 messages = [
643643 {
644- "role" : "user" ,
645644 "content" : "string" ,
645+ "role" : "user" ,
646646 "attachments" : [
647647 {
648648 "file_id" : "string" ,
@@ -672,8 +672,8 @@ async def test_method_create_with_all_params(self, async_client: AsyncOpenAI) ->
672672 "metadata" : {},
673673 },
674674 {
675- "role" : "user" ,
676675 "content" : "string" ,
676+ "role" : "user" ,
677677 "attachments" : [
678678 {
679679 "file_id" : "string" ,
@@ -703,8 +703,8 @@ async def test_method_create_with_all_params(self, async_client: AsyncOpenAI) ->
703703 "metadata" : {},
704704 },
705705 {
706- "role" : "user" ,
707706 "content" : "string" ,
707+ "role" : "user" ,
708708 "attachments" : [
709709 {
710710 "file_id" : "string" ,
@@ -741,8 +741,8 @@ async def test_method_create_with_all_params(self, async_client: AsyncOpenAI) ->
741741 "vector_store_ids" : ["string" ],
742742 "vector_stores" : [
743743 {
744- "file_ids" : ["string" , "string" , "string" ],
745744 "chunking_strategy" : {"type" : "auto" },
745+ "file_ids" : ["string" , "string" , "string" ],
746746 "metadata" : {},
747747 }
748748 ],
@@ -920,8 +920,8 @@ async def test_method_create_and_run_with_all_params_overload_1(self, async_clie
920920 thread = {
921921 "messages" : [
922922 {
923- "role" : "user" ,
924923 "content" : "string" ,
924+ "role" : "user" ,
925925 "attachments" : [
926926 {
927927 "file_id" : "string" ,
@@ -951,8 +951,8 @@ async def test_method_create_and_run_with_all_params_overload_1(self, async_clie
951951 "metadata" : {},
952952 },
953953 {
954- "role" : "user" ,
955954 "content" : "string" ,
955+ "role" : "user" ,
956956 "attachments" : [
957957 {
958958 "file_id" : "string" ,
@@ -982,8 +982,8 @@ async def test_method_create_and_run_with_all_params_overload_1(self, async_clie
982982 "metadata" : {},
983983 },
984984 {
985- "role" : "user" ,
986985 "content" : "string" ,
986+ "role" : "user" ,
987987 "attachments" : [
988988 {
989989 "file_id" : "string" ,
@@ -1013,20 +1013,20 @@ async def test_method_create_and_run_with_all_params_overload_1(self, async_clie
10131013 "metadata" : {},
10141014 },
10151015 ],
1016+ "metadata" : {},
10161017 "tool_resources" : {
10171018 "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
10181019 "file_search" : {
10191020 "vector_store_ids" : ["string" ],
10201021 "vector_stores" : [
10211022 {
1022- "file_ids" : ["string" , "string" , "string" ],
10231023 "chunking_strategy" : {"type" : "auto" },
1024+ "file_ids" : ["string" , "string" , "string" ],
10241025 "metadata" : {},
10251026 }
10261027 ],
10271028 },
10281029 },
1029- "metadata" : {},
10301030 },
10311031 tool_choice = "none" ,
10321032 tool_resources = {
@@ -1090,8 +1090,8 @@ async def test_method_create_and_run_with_all_params_overload_2(self, async_clie
10901090 thread = {
10911091 "messages" : [
10921092 {
1093- "role" : "user" ,
10941093 "content" : "string" ,
1094+ "role" : "user" ,
10951095 "attachments" : [
10961096 {
10971097 "file_id" : "string" ,
@@ -1121,8 +1121,8 @@ async def test_method_create_and_run_with_all_params_overload_2(self, async_clie
11211121 "metadata" : {},
11221122 },
11231123 {
1124- "role" : "user" ,
11251124 "content" : "string" ,
1125+ "role" : "user" ,
11261126 "attachments" : [
11271127 {
11281128 "file_id" : "string" ,
@@ -1152,8 +1152,8 @@ async def test_method_create_and_run_with_all_params_overload_2(self, async_clie
11521152 "metadata" : {},
11531153 },
11541154 {
1155- "role" : "user" ,
11561155 "content" : "string" ,
1156+ "role" : "user" ,
11571157 "attachments" : [
11581158 {
11591159 "file_id" : "string" ,
@@ -1183,20 +1183,20 @@ async def test_method_create_and_run_with_all_params_overload_2(self, async_clie
11831183 "metadata" : {},
11841184 },
11851185 ],
1186+ "metadata" : {},
11861187 "tool_resources" : {
11871188 "code_interpreter" : {"file_ids" : ["string" , "string" , "string" ]},
11881189 "file_search" : {
11891190 "vector_store_ids" : ["string" ],
11901191 "vector_stores" : [
11911192 {
1192- "file_ids" : ["string" , "string" , "string" ],
11931193 "chunking_strategy" : {"type" : "auto" },
1194+ "file_ids" : ["string" , "string" , "string" ],
11941195 "metadata" : {},
11951196 }
11961197 ],
11971198 },
11981199 },
1199- "metadata" : {},
12001200 },
12011201 tool_choice = "none" ,
12021202 tool_resources = {
0 commit comments