@@ -771,7 +771,7 @@ def create_and_poll(
771771 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
772772 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
773773 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
774- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
774+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
775775 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
776776 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
777777 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -840,7 +840,7 @@ def create_and_stream(
840840 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
841841 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
842842 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
843- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
843+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
844844 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
845845 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
846846 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -871,7 +871,7 @@ def create_and_stream(
871871 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
872872 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
873873 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
874- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
874+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
875875 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
876876 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
877877 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -902,7 +902,7 @@ def create_and_stream(
902902 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
903903 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
904904 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
905- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
905+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
906906 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
907907 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
908908 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -1019,7 +1019,7 @@ def stream(
10191019 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
10201020 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
10211021 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
1022- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
1022+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
10231023 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
10241024 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
10251025 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -1050,7 +1050,7 @@ def stream(
10501050 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
10511051 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
10521052 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
1053- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
1053+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
10541054 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
10551055 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
10561056 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -1081,7 +1081,7 @@ def stream(
10811081 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
10821082 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
10831083 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
1084- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
1084+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
10851085 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
10861086 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
10871087 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2144,7 +2144,7 @@ async def create_and_poll(
21442144 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
21452145 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
21462146 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2147- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2147+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
21482148 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
21492149 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
21502150 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2213,7 +2213,7 @@ def create_and_stream(
22132213 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
22142214 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
22152215 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2216- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2216+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
22172217 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
22182218 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
22192219 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2244,7 +2244,7 @@ def create_and_stream(
22442244 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
22452245 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
22462246 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2247- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2247+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
22482248 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
22492249 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
22502250 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2275,7 +2275,7 @@ def create_and_stream(
22752275 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
22762276 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
22772277 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2278- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2278+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
22792279 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
22802280 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
22812281 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2393,7 +2393,7 @@ def stream(
23932393 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
23942394 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
23952395 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2396- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2396+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
23972397 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
23982398 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
23992399 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2424,7 +2424,7 @@ def stream(
24242424 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
24252425 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
24262426 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2427- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2427+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
24282428 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
24292429 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
24302430 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2455,7 +2455,7 @@ def stream(
24552455 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
24562456 max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
24572457 max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2458- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2458+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
24592459 model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
24602460 parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
24612461 response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
0 commit comments