@@ -771,7 +771,7 @@ def create_and_poll(
771
771
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
772
772
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
773
773
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
774
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
774
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
775
775
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
776
776
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
777
777
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -840,7 +840,7 @@ def create_and_stream(
840
840
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
841
841
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
842
842
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
843
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
843
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
844
844
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
845
845
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
846
846
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -871,7 +871,7 @@ def create_and_stream(
871
871
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
872
872
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
873
873
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
874
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
874
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
875
875
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
876
876
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
877
877
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -902,7 +902,7 @@ def create_and_stream(
902
902
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
903
903
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
904
904
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
905
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
905
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
906
906
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
907
907
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
908
908
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -1019,7 +1019,7 @@ def stream(
1019
1019
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
1020
1020
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
1021
1021
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
1022
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
1022
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
1023
1023
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
1024
1024
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
1025
1025
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -1050,7 +1050,7 @@ def stream(
1050
1050
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
1051
1051
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
1052
1052
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
1053
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
1053
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
1054
1054
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
1055
1055
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
1056
1056
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -1081,7 +1081,7 @@ def stream(
1081
1081
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
1082
1082
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
1083
1083
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
1084
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
1084
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
1085
1085
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
1086
1086
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
1087
1087
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2144,7 +2144,7 @@ async def create_and_poll(
2144
2144
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
2145
2145
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2146
2146
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2147
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2147
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
2148
2148
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
2149
2149
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
2150
2150
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2213,7 +2213,7 @@ def create_and_stream(
2213
2213
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
2214
2214
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2215
2215
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2216
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2216
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
2217
2217
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
2218
2218
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
2219
2219
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2244,7 +2244,7 @@ def create_and_stream(
2244
2244
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
2245
2245
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2246
2246
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2247
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2247
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
2248
2248
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
2249
2249
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
2250
2250
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2275,7 +2275,7 @@ def create_and_stream(
2275
2275
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
2276
2276
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2277
2277
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2278
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2278
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
2279
2279
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
2280
2280
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
2281
2281
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2393,7 +2393,7 @@ def stream(
2393
2393
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
2394
2394
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2395
2395
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2396
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2396
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
2397
2397
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
2398
2398
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
2399
2399
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2424,7 +2424,7 @@ def stream(
2424
2424
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
2425
2425
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2426
2426
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2427
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2427
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
2428
2428
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
2429
2429
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
2430
2430
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
@@ -2455,7 +2455,7 @@ def stream(
2455
2455
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
2456
2456
max_completion_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2457
2457
max_prompt_tokens : Optional [int ] | NotGiven = NOT_GIVEN ,
2458
- metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
2458
+ metadata : Optional [Metadata ] | NotGiven = NOT_GIVEN ,
2459
2459
model : Union [str , ChatModel , None ] | NotGiven = NOT_GIVEN ,
2460
2460
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
2461
2461
response_format : Optional [AssistantResponseFormatOptionParam ] | NotGiven = NOT_GIVEN ,
0 commit comments