openrouter 0.1.2__py3-none-any.whl → 0.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openrouter/_version.py +2 -2
- openrouter/analytics.py +28 -2
- openrouter/api_keys.py +210 -14
- openrouter/chat.py +192 -200
- openrouter/components/__init__.py +229 -285
- openrouter/components/_schema10.py +39 -0
- openrouter/components/_schema14.py +11 -0
- openrouter/components/_schema17.py +154 -0
- openrouter/components/{_schema3.py → _schema19.py} +28 -22
- openrouter/components/{_schema0.py → _schema5.py} +7 -5
- openrouter/components/assistantmessage.py +32 -1
- openrouter/components/chatgenerationparams.py +57 -343
- openrouter/components/chatmessagecontentitemimage.py +4 -4
- openrouter/components/chatresponsechoice.py +1 -6
- openrouter/components/chatstreamingmessagechunk.py +3 -3
- openrouter/components/developermessage.py +41 -0
- openrouter/components/message.py +6 -39
- openrouter/components/model.py +7 -1
- openrouter/components/openresponsesrequest.py +31 -39
- openrouter/components/outputmodality.py +1 -0
- openrouter/components/providername.py +2 -0
- openrouter/components/providerpreferences.py +2 -10
- openrouter/components/publicendpoint.py +8 -24
- openrouter/components/publicpricing.py +3 -24
- openrouter/credits.py +86 -14
- openrouter/embeddings.py +92 -20
- openrouter/endpoints.py +62 -2
- openrouter/generations.py +26 -0
- openrouter/guardrails.py +3367 -0
- openrouter/models_.py +120 -12
- openrouter/oauth.py +90 -22
- openrouter/operations/__init__.py +601 -30
- openrouter/operations/bulkassignkeystoguardrail.py +116 -0
- openrouter/operations/bulkassignmemberstoguardrail.py +116 -0
- openrouter/operations/bulkunassignkeysfromguardrail.py +116 -0
- openrouter/operations/bulkunassignmembersfromguardrail.py +116 -0
- openrouter/operations/createauthkeyscode.py +81 -3
- openrouter/operations/createcoinbasecharge.py +82 -2
- openrouter/operations/createembeddings.py +82 -3
- openrouter/operations/createguardrail.py +325 -0
- openrouter/operations/createkeys.py +81 -3
- openrouter/operations/createresponses.py +84 -3
- openrouter/operations/deleteguardrail.py +104 -0
- openrouter/operations/deletekeys.py +69 -3
- openrouter/operations/exchangeauthcodeforapikey.py +81 -3
- openrouter/operations/getcredits.py +70 -1
- openrouter/operations/getcurrentkey.py +81 -3
- openrouter/operations/getgeneration.py +248 -3
- openrouter/operations/getguardrail.py +228 -0
- openrouter/operations/getkey.py +64 -1
- openrouter/operations/getmodels.py +95 -5
- openrouter/operations/getuseractivity.py +62 -1
- openrouter/operations/list.py +63 -1
- openrouter/operations/listembeddingsmodels.py +74 -0
- openrouter/operations/listendpoints.py +65 -2
- openrouter/operations/listendpointszdr.py +70 -2
- openrouter/operations/listguardrailkeyassignments.py +192 -0
- openrouter/operations/listguardrailmemberassignments.py +187 -0
- openrouter/operations/listguardrails.py +238 -0
- openrouter/operations/listkeyassignments.py +180 -0
- openrouter/operations/listmemberassignments.py +175 -0
- openrouter/operations/listmodelscount.py +74 -0
- openrouter/operations/listmodelsuser.py +70 -2
- openrouter/operations/listproviders.py +70 -2
- openrouter/operations/sendchatcompletionrequest.py +87 -3
- openrouter/operations/updateguardrail.py +334 -0
- openrouter/operations/updatekeys.py +63 -0
- openrouter/providers.py +36 -2
- openrouter/responses.py +178 -148
- openrouter/sdk.py +5 -8
- openrouter/types/models.py +378 -0
- {openrouter-0.1.2.dist-info → openrouter-0.6.0.dist-info}/METADATA +5 -1
- {openrouter-0.1.2.dist-info → openrouter-0.6.0.dist-info}/RECORD +76 -63
- {openrouter-0.1.2.dist-info → openrouter-0.6.0.dist-info}/WHEEL +1 -1
- openrouter/completions.py +0 -361
- openrouter/components/completionchoice.py +0 -82
- openrouter/components/completioncreateparams.py +0 -277
- openrouter/components/completionlogprobs.py +0 -54
- openrouter/components/completionresponse.py +0 -46
- openrouter/components/completionusage.py +0 -19
- openrouter/operations/getparameters.py +0 -123
- openrouter/parameters.py +0 -237
- {openrouter-0.1.2.dist-info → openrouter-0.6.0.dist-info}/licenses/LICENSE +0 -0
- {openrouter-0.1.2.dist-info → openrouter-0.6.0.dist-info}/top_level.txt +0 -0
|
@@ -6,24 +6,55 @@ import builtins
|
|
|
6
6
|
import sys
|
|
7
7
|
|
|
8
8
|
if TYPE_CHECKING:
|
|
9
|
-
from .
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Schema3ReasoningText,
|
|
17
|
-
Schema3ReasoningTextTypedDict,
|
|
18
|
-
Schema3TypedDict,
|
|
19
|
-
Schema5,
|
|
9
|
+
from ._schema10 import (
|
|
10
|
+
Completion,
|
|
11
|
+
CompletionTypedDict,
|
|
12
|
+
Prompt,
|
|
13
|
+
PromptTypedDict,
|
|
14
|
+
Schema10,
|
|
15
|
+
Schema10TypedDict,
|
|
20
16
|
)
|
|
17
|
+
from ._schema14 import Schema14, Schema14TypedDict
|
|
18
|
+
from ._schema17 import (
|
|
19
|
+
Engine,
|
|
20
|
+
Pdf,
|
|
21
|
+
PdfEngine,
|
|
22
|
+
PdfTypedDict,
|
|
23
|
+
Schema17,
|
|
24
|
+
Schema17AutoRouter,
|
|
25
|
+
Schema17AutoRouterTypedDict,
|
|
26
|
+
Schema17FileParser,
|
|
27
|
+
Schema17FileParserTypedDict,
|
|
28
|
+
Schema17Moderation,
|
|
29
|
+
Schema17ModerationTypedDict,
|
|
30
|
+
Schema17ResponseHealing,
|
|
31
|
+
Schema17ResponseHealingTypedDict,
|
|
32
|
+
Schema17TypedDict,
|
|
33
|
+
Schema17Web,
|
|
34
|
+
Schema17WebTypedDict,
|
|
35
|
+
)
|
|
36
|
+
from ._schema19 import (
|
|
37
|
+
Schema19,
|
|
38
|
+
Schema19ReasoningEncrypted,
|
|
39
|
+
Schema19ReasoningEncryptedTypedDict,
|
|
40
|
+
Schema19ReasoningSummary,
|
|
41
|
+
Schema19ReasoningSummaryTypedDict,
|
|
42
|
+
Schema19ReasoningText,
|
|
43
|
+
Schema19ReasoningTextTypedDict,
|
|
44
|
+
Schema19TypedDict,
|
|
45
|
+
Schema21,
|
|
46
|
+
)
|
|
47
|
+
from ._schema5 import Schema5, Schema5Enum, Schema5TypedDict
|
|
21
48
|
from .activityitem import ActivityItem, ActivityItemTypedDict
|
|
22
49
|
from .assistantmessage import (
|
|
23
50
|
AssistantMessage,
|
|
24
51
|
AssistantMessageContent,
|
|
25
52
|
AssistantMessageContentTypedDict,
|
|
53
|
+
AssistantMessageImageURL,
|
|
54
|
+
AssistantMessageImageURLTypedDict,
|
|
26
55
|
AssistantMessageTypedDict,
|
|
56
|
+
Image,
|
|
57
|
+
ImageTypedDict,
|
|
27
58
|
)
|
|
28
59
|
from .badgatewayresponseerrordata import (
|
|
29
60
|
BadGatewayResponseErrorData,
|
|
@@ -37,56 +68,34 @@ if TYPE_CHECKING:
|
|
|
37
68
|
from .chaterror import ChatErrorError, ChatErrorErrorTypedDict, Code, CodeTypedDict
|
|
38
69
|
from .chatgenerationparams import (
|
|
39
70
|
ChatGenerationParams,
|
|
40
|
-
ChatGenerationParamsDataCollection,
|
|
41
71
|
ChatGenerationParamsImageConfig,
|
|
42
72
|
ChatGenerationParamsImageConfigTypedDict,
|
|
43
|
-
ChatGenerationParamsMaxPrice,
|
|
44
|
-
ChatGenerationParamsMaxPriceTypedDict,
|
|
45
|
-
ChatGenerationParamsPluginAutoRouter,
|
|
46
|
-
ChatGenerationParamsPluginAutoRouterTypedDict,
|
|
47
|
-
ChatGenerationParamsPluginFileParser,
|
|
48
|
-
ChatGenerationParamsPluginFileParserTypedDict,
|
|
49
|
-
ChatGenerationParamsPluginModeration,
|
|
50
|
-
ChatGenerationParamsPluginModerationTypedDict,
|
|
51
|
-
ChatGenerationParamsPluginResponseHealing,
|
|
52
|
-
ChatGenerationParamsPluginResponseHealingTypedDict,
|
|
53
|
-
ChatGenerationParamsPluginUnion,
|
|
54
|
-
ChatGenerationParamsPluginUnionTypedDict,
|
|
55
|
-
ChatGenerationParamsPluginWeb,
|
|
56
|
-
ChatGenerationParamsPluginWebTypedDict,
|
|
57
|
-
ChatGenerationParamsPreferredMaxLatency,
|
|
58
|
-
ChatGenerationParamsPreferredMaxLatencyTypedDict,
|
|
59
|
-
ChatGenerationParamsPreferredMaxLatencyUnion,
|
|
60
|
-
ChatGenerationParamsPreferredMaxLatencyUnionTypedDict,
|
|
61
|
-
ChatGenerationParamsPreferredMinThroughput,
|
|
62
|
-
ChatGenerationParamsPreferredMinThroughputTypedDict,
|
|
63
|
-
ChatGenerationParamsPreferredMinThroughputUnion,
|
|
64
|
-
ChatGenerationParamsPreferredMinThroughputUnionTypedDict,
|
|
65
|
-
ChatGenerationParamsProvider,
|
|
66
|
-
ChatGenerationParamsProviderTypedDict,
|
|
67
|
-
ChatGenerationParamsResponseFormatJSONObject,
|
|
68
|
-
ChatGenerationParamsResponseFormatJSONObjectTypedDict,
|
|
69
|
-
ChatGenerationParamsResponseFormatPython,
|
|
70
|
-
ChatGenerationParamsResponseFormatPythonTypedDict,
|
|
71
|
-
ChatGenerationParamsResponseFormatText,
|
|
72
|
-
ChatGenerationParamsResponseFormatTextTypedDict,
|
|
73
|
-
ChatGenerationParamsResponseFormatUnion,
|
|
74
|
-
ChatGenerationParamsResponseFormatUnionTypedDict,
|
|
75
|
-
ChatGenerationParamsStop,
|
|
76
|
-
ChatGenerationParamsStopTypedDict,
|
|
77
73
|
ChatGenerationParamsTypedDict,
|
|
78
74
|
Debug,
|
|
79
75
|
DebugTypedDict,
|
|
80
76
|
Effort,
|
|
81
|
-
Engine,
|
|
82
77
|
Modality,
|
|
83
|
-
Pdf,
|
|
84
|
-
PdfEngine,
|
|
85
|
-
PdfTypedDict,
|
|
86
|
-
Quantizations,
|
|
87
78
|
Reasoning,
|
|
88
79
|
ReasoningTypedDict,
|
|
80
|
+
ResponseFormat,
|
|
81
|
+
ResponseFormatJSONObject,
|
|
82
|
+
ResponseFormatJSONObjectTypedDict,
|
|
83
|
+
ResponseFormatPython,
|
|
84
|
+
ResponseFormatPythonTypedDict,
|
|
85
|
+
ResponseFormatText,
|
|
86
|
+
ResponseFormatTextTypedDict,
|
|
87
|
+
ResponseFormatTypedDict,
|
|
89
88
|
Route,
|
|
89
|
+
Schema0,
|
|
90
|
+
Schema0TypedDict,
|
|
91
|
+
Schema15,
|
|
92
|
+
Schema15TypedDict,
|
|
93
|
+
Schema15Union,
|
|
94
|
+
Schema15UnionTypedDict,
|
|
95
|
+
Schema3,
|
|
96
|
+
Schema8,
|
|
97
|
+
Stop,
|
|
98
|
+
StopTypedDict,
|
|
90
99
|
)
|
|
91
100
|
from .chatgenerationtokenusage import (
|
|
92
101
|
ChatGenerationTokenUsage,
|
|
@@ -114,9 +123,9 @@ if TYPE_CHECKING:
|
|
|
114
123
|
from .chatmessagecontentitemimage import (
|
|
115
124
|
ChatMessageContentItemImage,
|
|
116
125
|
ChatMessageContentItemImageDetail,
|
|
126
|
+
ChatMessageContentItemImageImageURL,
|
|
127
|
+
ChatMessageContentItemImageImageURLTypedDict,
|
|
117
128
|
ChatMessageContentItemImageTypedDict,
|
|
118
|
-
ImageURL,
|
|
119
|
-
ImageURLTypedDict,
|
|
120
129
|
)
|
|
121
130
|
from .chatmessagecontentitemtext import (
|
|
122
131
|
ChatMessageContentItemText,
|
|
@@ -173,32 +182,6 @@ if TYPE_CHECKING:
|
|
|
173
182
|
ChatStreamingResponseChunkTypedDict,
|
|
174
183
|
)
|
|
175
184
|
from .chatstreamoptions import ChatStreamOptions, ChatStreamOptionsTypedDict
|
|
176
|
-
from .completionchoice import (
|
|
177
|
-
CompletionChoice,
|
|
178
|
-
CompletionChoiceTypedDict,
|
|
179
|
-
CompletionFinishReason,
|
|
180
|
-
)
|
|
181
|
-
from .completioncreateparams import (
|
|
182
|
-
CompletionCreateParams,
|
|
183
|
-
CompletionCreateParamsResponseFormatJSONObject,
|
|
184
|
-
CompletionCreateParamsResponseFormatJSONObjectTypedDict,
|
|
185
|
-
CompletionCreateParamsResponseFormatPython,
|
|
186
|
-
CompletionCreateParamsResponseFormatPythonTypedDict,
|
|
187
|
-
CompletionCreateParamsResponseFormatText,
|
|
188
|
-
CompletionCreateParamsResponseFormatTextTypedDict,
|
|
189
|
-
CompletionCreateParamsResponseFormatUnion,
|
|
190
|
-
CompletionCreateParamsResponseFormatUnionTypedDict,
|
|
191
|
-
CompletionCreateParamsStop,
|
|
192
|
-
CompletionCreateParamsStopTypedDict,
|
|
193
|
-
CompletionCreateParamsTypedDict,
|
|
194
|
-
Prompt,
|
|
195
|
-
PromptTypedDict,
|
|
196
|
-
StreamOptions,
|
|
197
|
-
StreamOptionsTypedDict,
|
|
198
|
-
)
|
|
199
|
-
from .completionlogprobs import CompletionLogprobs, CompletionLogprobsTypedDict
|
|
200
|
-
from .completionresponse import CompletionResponse, CompletionResponseTypedDict
|
|
201
|
-
from .completionusage import CompletionUsage, CompletionUsageTypedDict
|
|
202
185
|
from .createchargerequest import (
|
|
203
186
|
ChainID,
|
|
204
187
|
CreateChargeRequest,
|
|
@@ -206,6 +189,12 @@ if TYPE_CHECKING:
|
|
|
206
189
|
)
|
|
207
190
|
from .datacollection import DataCollection
|
|
208
191
|
from .defaultparameters import DefaultParameters, DefaultParametersTypedDict
|
|
192
|
+
from .developermessage import (
|
|
193
|
+
DeveloperMessage,
|
|
194
|
+
DeveloperMessageContent,
|
|
195
|
+
DeveloperMessageContentTypedDict,
|
|
196
|
+
DeveloperMessageTypedDict,
|
|
197
|
+
)
|
|
209
198
|
from .edgenetworktimeoutresponseerrordata import (
|
|
210
199
|
EdgeNetworkTimeoutResponseErrorData,
|
|
211
200
|
EdgeNetworkTimeoutResponseErrorDataTypedDict,
|
|
@@ -232,14 +221,7 @@ if TYPE_CHECKING:
|
|
|
232
221
|
ListEndpointsResponseTypedDict,
|
|
233
222
|
Tokenizer,
|
|
234
223
|
)
|
|
235
|
-
from .message import
|
|
236
|
-
Message,
|
|
237
|
-
MessageContent,
|
|
238
|
-
MessageContentTypedDict,
|
|
239
|
-
MessageDeveloper,
|
|
240
|
-
MessageDeveloperTypedDict,
|
|
241
|
-
MessageTypedDict,
|
|
242
|
-
)
|
|
224
|
+
from .message import Message, MessageTypedDict
|
|
243
225
|
from .model import Model, ModelTypedDict
|
|
244
226
|
from .modelarchitecture import (
|
|
245
227
|
ModelArchitecture,
|
|
@@ -491,20 +473,6 @@ if TYPE_CHECKING:
|
|
|
491
473
|
OpenResponsesRequestOnlyTypedDict,
|
|
492
474
|
OpenResponsesRequestOrder,
|
|
493
475
|
OpenResponsesRequestOrderTypedDict,
|
|
494
|
-
OpenResponsesRequestPluginAutoRouter,
|
|
495
|
-
OpenResponsesRequestPluginAutoRouterTypedDict,
|
|
496
|
-
OpenResponsesRequestPluginFileParser,
|
|
497
|
-
OpenResponsesRequestPluginFileParserTypedDict,
|
|
498
|
-
OpenResponsesRequestPluginModeration,
|
|
499
|
-
OpenResponsesRequestPluginModerationTypedDict,
|
|
500
|
-
OpenResponsesRequestPluginResponseHealing,
|
|
501
|
-
OpenResponsesRequestPluginResponseHealingTypedDict,
|
|
502
|
-
OpenResponsesRequestPluginUnion,
|
|
503
|
-
OpenResponsesRequestPluginUnionTypedDict,
|
|
504
|
-
OpenResponsesRequestPluginWeb,
|
|
505
|
-
OpenResponsesRequestPluginWebTypedDict,
|
|
506
|
-
OpenResponsesRequestProvider,
|
|
507
|
-
OpenResponsesRequestProviderTypedDict,
|
|
508
476
|
OpenResponsesRequestSort,
|
|
509
477
|
OpenResponsesRequestSortTypedDict,
|
|
510
478
|
OpenResponsesRequestToolFunction,
|
|
@@ -513,6 +481,20 @@ if TYPE_CHECKING:
|
|
|
513
481
|
OpenResponsesRequestToolUnionTypedDict,
|
|
514
482
|
OpenResponsesRequestType,
|
|
515
483
|
OpenResponsesRequestTypedDict,
|
|
484
|
+
Plugin,
|
|
485
|
+
PluginAutoRouter,
|
|
486
|
+
PluginAutoRouterTypedDict,
|
|
487
|
+
PluginFileParser,
|
|
488
|
+
PluginFileParserTypedDict,
|
|
489
|
+
PluginModeration,
|
|
490
|
+
PluginModerationTypedDict,
|
|
491
|
+
PluginResponseHealing,
|
|
492
|
+
PluginResponseHealingTypedDict,
|
|
493
|
+
PluginTypedDict,
|
|
494
|
+
PluginWeb,
|
|
495
|
+
PluginWebTypedDict,
|
|
496
|
+
Provider,
|
|
497
|
+
ProviderTypedDict,
|
|
516
498
|
ServiceTier,
|
|
517
499
|
Truncation,
|
|
518
500
|
)
|
|
@@ -913,6 +895,8 @@ __all__ = [
|
|
|
913
895
|
"AssistantMessage",
|
|
914
896
|
"AssistantMessageContent",
|
|
915
897
|
"AssistantMessageContentTypedDict",
|
|
898
|
+
"AssistantMessageImageURL",
|
|
899
|
+
"AssistantMessageImageURLTypedDict",
|
|
916
900
|
"AssistantMessageTypedDict",
|
|
917
901
|
"BadGatewayResponseErrorData",
|
|
918
902
|
"BadGatewayResponseErrorDataTypedDict",
|
|
@@ -923,43 +907,8 @@ __all__ = [
|
|
|
923
907
|
"ChatErrorError",
|
|
924
908
|
"ChatErrorErrorTypedDict",
|
|
925
909
|
"ChatGenerationParams",
|
|
926
|
-
"ChatGenerationParamsDataCollection",
|
|
927
910
|
"ChatGenerationParamsImageConfig",
|
|
928
911
|
"ChatGenerationParamsImageConfigTypedDict",
|
|
929
|
-
"ChatGenerationParamsMaxPrice",
|
|
930
|
-
"ChatGenerationParamsMaxPriceTypedDict",
|
|
931
|
-
"ChatGenerationParamsPluginAutoRouter",
|
|
932
|
-
"ChatGenerationParamsPluginAutoRouterTypedDict",
|
|
933
|
-
"ChatGenerationParamsPluginFileParser",
|
|
934
|
-
"ChatGenerationParamsPluginFileParserTypedDict",
|
|
935
|
-
"ChatGenerationParamsPluginModeration",
|
|
936
|
-
"ChatGenerationParamsPluginModerationTypedDict",
|
|
937
|
-
"ChatGenerationParamsPluginResponseHealing",
|
|
938
|
-
"ChatGenerationParamsPluginResponseHealingTypedDict",
|
|
939
|
-
"ChatGenerationParamsPluginUnion",
|
|
940
|
-
"ChatGenerationParamsPluginUnionTypedDict",
|
|
941
|
-
"ChatGenerationParamsPluginWeb",
|
|
942
|
-
"ChatGenerationParamsPluginWebTypedDict",
|
|
943
|
-
"ChatGenerationParamsPreferredMaxLatency",
|
|
944
|
-
"ChatGenerationParamsPreferredMaxLatencyTypedDict",
|
|
945
|
-
"ChatGenerationParamsPreferredMaxLatencyUnion",
|
|
946
|
-
"ChatGenerationParamsPreferredMaxLatencyUnionTypedDict",
|
|
947
|
-
"ChatGenerationParamsPreferredMinThroughput",
|
|
948
|
-
"ChatGenerationParamsPreferredMinThroughputTypedDict",
|
|
949
|
-
"ChatGenerationParamsPreferredMinThroughputUnion",
|
|
950
|
-
"ChatGenerationParamsPreferredMinThroughputUnionTypedDict",
|
|
951
|
-
"ChatGenerationParamsProvider",
|
|
952
|
-
"ChatGenerationParamsProviderTypedDict",
|
|
953
|
-
"ChatGenerationParamsResponseFormatJSONObject",
|
|
954
|
-
"ChatGenerationParamsResponseFormatJSONObjectTypedDict",
|
|
955
|
-
"ChatGenerationParamsResponseFormatPython",
|
|
956
|
-
"ChatGenerationParamsResponseFormatPythonTypedDict",
|
|
957
|
-
"ChatGenerationParamsResponseFormatText",
|
|
958
|
-
"ChatGenerationParamsResponseFormatTextTypedDict",
|
|
959
|
-
"ChatGenerationParamsResponseFormatUnion",
|
|
960
|
-
"ChatGenerationParamsResponseFormatUnionTypedDict",
|
|
961
|
-
"ChatGenerationParamsStop",
|
|
962
|
-
"ChatGenerationParamsStopTypedDict",
|
|
963
912
|
"ChatGenerationParamsTypedDict",
|
|
964
913
|
"ChatGenerationTokenUsage",
|
|
965
914
|
"ChatGenerationTokenUsageTypedDict",
|
|
@@ -972,6 +921,8 @@ __all__ = [
|
|
|
972
921
|
"ChatMessageContentItemCacheControlTypedDict",
|
|
973
922
|
"ChatMessageContentItemImage",
|
|
974
923
|
"ChatMessageContentItemImageDetail",
|
|
924
|
+
"ChatMessageContentItemImageImageURL",
|
|
925
|
+
"ChatMessageContentItemImageImageURLTypedDict",
|
|
975
926
|
"ChatMessageContentItemImageTypedDict",
|
|
976
927
|
"ChatMessageContentItemText",
|
|
977
928
|
"ChatMessageContentItemTextTypedDict",
|
|
@@ -1016,29 +967,10 @@ __all__ = [
|
|
|
1016
967
|
"Code",
|
|
1017
968
|
"CodeEnum",
|
|
1018
969
|
"CodeTypedDict",
|
|
1019
|
-
"
|
|
1020
|
-
"CompletionChoiceTypedDict",
|
|
1021
|
-
"CompletionCreateParams",
|
|
1022
|
-
"CompletionCreateParamsResponseFormatJSONObject",
|
|
1023
|
-
"CompletionCreateParamsResponseFormatJSONObjectTypedDict",
|
|
1024
|
-
"CompletionCreateParamsResponseFormatPython",
|
|
1025
|
-
"CompletionCreateParamsResponseFormatPythonTypedDict",
|
|
1026
|
-
"CompletionCreateParamsResponseFormatText",
|
|
1027
|
-
"CompletionCreateParamsResponseFormatTextTypedDict",
|
|
1028
|
-
"CompletionCreateParamsResponseFormatUnion",
|
|
1029
|
-
"CompletionCreateParamsResponseFormatUnionTypedDict",
|
|
1030
|
-
"CompletionCreateParamsStop",
|
|
1031
|
-
"CompletionCreateParamsStopTypedDict",
|
|
1032
|
-
"CompletionCreateParamsTypedDict",
|
|
1033
|
-
"CompletionFinishReason",
|
|
1034
|
-
"CompletionLogprobs",
|
|
1035
|
-
"CompletionLogprobsTypedDict",
|
|
1036
|
-
"CompletionResponse",
|
|
1037
|
-
"CompletionResponseTypedDict",
|
|
970
|
+
"Completion",
|
|
1038
971
|
"CompletionTokensDetails",
|
|
1039
972
|
"CompletionTokensDetailsTypedDict",
|
|
1040
|
-
"
|
|
1041
|
-
"CompletionUsageTypedDict",
|
|
973
|
+
"CompletionTypedDict",
|
|
1042
974
|
"CostDetails",
|
|
1043
975
|
"CostDetailsTypedDict",
|
|
1044
976
|
"CreateChargeRequest",
|
|
@@ -1048,6 +980,10 @@ __all__ = [
|
|
|
1048
980
|
"DebugTypedDict",
|
|
1049
981
|
"DefaultParameters",
|
|
1050
982
|
"DefaultParametersTypedDict",
|
|
983
|
+
"DeveloperMessage",
|
|
984
|
+
"DeveloperMessageContent",
|
|
985
|
+
"DeveloperMessageContentTypedDict",
|
|
986
|
+
"DeveloperMessageTypedDict",
|
|
1051
987
|
"EdgeNetworkTimeoutResponseErrorData",
|
|
1052
988
|
"EdgeNetworkTimeoutResponseErrorDataTypedDict",
|
|
1053
989
|
"Effort",
|
|
@@ -1066,9 +1002,9 @@ __all__ = [
|
|
|
1066
1002
|
"IDModeration",
|
|
1067
1003
|
"IDResponseHealing",
|
|
1068
1004
|
"IDWeb",
|
|
1005
|
+
"Image",
|
|
1069
1006
|
"ImageGenerationStatus",
|
|
1070
|
-
"
|
|
1071
|
-
"ImageURLTypedDict",
|
|
1007
|
+
"ImageTypedDict",
|
|
1072
1008
|
"InputModality",
|
|
1073
1009
|
"InputTokensDetails",
|
|
1074
1010
|
"InputTokensDetailsTypedDict",
|
|
@@ -1082,10 +1018,6 @@ __all__ = [
|
|
|
1082
1018
|
"Logprob",
|
|
1083
1019
|
"LogprobTypedDict",
|
|
1084
1020
|
"Message",
|
|
1085
|
-
"MessageContent",
|
|
1086
|
-
"MessageContentTypedDict",
|
|
1087
|
-
"MessageDeveloper",
|
|
1088
|
-
"MessageDeveloperTypedDict",
|
|
1089
1021
|
"MessageTypedDict",
|
|
1090
1022
|
"Modality",
|
|
1091
1023
|
"Model",
|
|
@@ -1270,20 +1202,6 @@ __all__ = [
|
|
|
1270
1202
|
"OpenResponsesRequestOnlyTypedDict",
|
|
1271
1203
|
"OpenResponsesRequestOrder",
|
|
1272
1204
|
"OpenResponsesRequestOrderTypedDict",
|
|
1273
|
-
"OpenResponsesRequestPluginAutoRouter",
|
|
1274
|
-
"OpenResponsesRequestPluginAutoRouterTypedDict",
|
|
1275
|
-
"OpenResponsesRequestPluginFileParser",
|
|
1276
|
-
"OpenResponsesRequestPluginFileParserTypedDict",
|
|
1277
|
-
"OpenResponsesRequestPluginModeration",
|
|
1278
|
-
"OpenResponsesRequestPluginModerationTypedDict",
|
|
1279
|
-
"OpenResponsesRequestPluginResponseHealing",
|
|
1280
|
-
"OpenResponsesRequestPluginResponseHealingTypedDict",
|
|
1281
|
-
"OpenResponsesRequestPluginUnion",
|
|
1282
|
-
"OpenResponsesRequestPluginUnionTypedDict",
|
|
1283
|
-
"OpenResponsesRequestPluginWeb",
|
|
1284
|
-
"OpenResponsesRequestPluginWebTypedDict",
|
|
1285
|
-
"OpenResponsesRequestProvider",
|
|
1286
|
-
"OpenResponsesRequestProviderTypedDict",
|
|
1287
1205
|
"OpenResponsesRequestSort",
|
|
1288
1206
|
"OpenResponsesRequestSortTypedDict",
|
|
1289
1207
|
"OpenResponsesRequestToolFunction",
|
|
@@ -1392,6 +1310,18 @@ __all__ = [
|
|
|
1392
1310
|
"PercentileStatsTypedDict",
|
|
1393
1311
|
"PercentileThroughputCutoffs",
|
|
1394
1312
|
"PercentileThroughputCutoffsTypedDict",
|
|
1313
|
+
"Plugin",
|
|
1314
|
+
"PluginAutoRouter",
|
|
1315
|
+
"PluginAutoRouterTypedDict",
|
|
1316
|
+
"PluginFileParser",
|
|
1317
|
+
"PluginFileParserTypedDict",
|
|
1318
|
+
"PluginModeration",
|
|
1319
|
+
"PluginModerationTypedDict",
|
|
1320
|
+
"PluginResponseHealing",
|
|
1321
|
+
"PluginResponseHealingTypedDict",
|
|
1322
|
+
"PluginTypedDict",
|
|
1323
|
+
"PluginWeb",
|
|
1324
|
+
"PluginWebTypedDict",
|
|
1395
1325
|
"PreferredMaxLatency",
|
|
1396
1326
|
"PreferredMaxLatencyTypedDict",
|
|
1397
1327
|
"PreferredMinThroughput",
|
|
@@ -1402,6 +1332,7 @@ __all__ = [
|
|
|
1402
1332
|
"PromptTokensDetails",
|
|
1403
1333
|
"PromptTokensDetailsTypedDict",
|
|
1404
1334
|
"PromptTypedDict",
|
|
1335
|
+
"Provider",
|
|
1405
1336
|
"ProviderName",
|
|
1406
1337
|
"ProviderOverloadedResponseErrorData",
|
|
1407
1338
|
"ProviderOverloadedResponseErrorDataTypedDict",
|
|
@@ -1429,13 +1360,13 @@ __all__ = [
|
|
|
1429
1360
|
"ProviderSortConfigUnionTypedDict",
|
|
1430
1361
|
"ProviderSortUnion",
|
|
1431
1362
|
"ProviderSortUnionTypedDict",
|
|
1363
|
+
"ProviderTypedDict",
|
|
1432
1364
|
"PublicEndpoint",
|
|
1433
1365
|
"PublicEndpointQuantization",
|
|
1434
1366
|
"PublicEndpointTypedDict",
|
|
1435
1367
|
"PublicPricing",
|
|
1436
1368
|
"PublicPricingTypedDict",
|
|
1437
1369
|
"Quantization",
|
|
1438
|
-
"Quantizations",
|
|
1439
1370
|
"Reason",
|
|
1440
1371
|
"Reasoning",
|
|
1441
1372
|
"ReasoningSummaryText",
|
|
@@ -1448,12 +1379,20 @@ __all__ = [
|
|
|
1448
1379
|
"ReasoningTypedDict",
|
|
1449
1380
|
"RequestTimeoutResponseErrorData",
|
|
1450
1381
|
"RequestTimeoutResponseErrorDataTypedDict",
|
|
1382
|
+
"ResponseFormat",
|
|
1383
|
+
"ResponseFormatJSONObject",
|
|
1384
|
+
"ResponseFormatJSONObjectTypedDict",
|
|
1451
1385
|
"ResponseFormatJSONSchema",
|
|
1452
1386
|
"ResponseFormatJSONSchemaTypedDict",
|
|
1387
|
+
"ResponseFormatPython",
|
|
1388
|
+
"ResponseFormatPythonTypedDict",
|
|
1389
|
+
"ResponseFormatText",
|
|
1453
1390
|
"ResponseFormatTextConfig",
|
|
1454
1391
|
"ResponseFormatTextConfigTypedDict",
|
|
1455
1392
|
"ResponseFormatTextGrammar",
|
|
1456
1393
|
"ResponseFormatTextGrammarTypedDict",
|
|
1394
|
+
"ResponseFormatTextTypedDict",
|
|
1395
|
+
"ResponseFormatTypedDict",
|
|
1457
1396
|
"ResponseInputAudio",
|
|
1458
1397
|
"ResponseInputAudioFormat",
|
|
1459
1398
|
"ResponseInputAudioInputAudio",
|
|
@@ -1538,25 +1477,49 @@ __all__ = [
|
|
|
1538
1477
|
"ResponsesWebSearchUserLocationTypedDict",
|
|
1539
1478
|
"Route",
|
|
1540
1479
|
"Schema0",
|
|
1541
|
-
"Schema0Enum",
|
|
1542
1480
|
"Schema0TypedDict",
|
|
1481
|
+
"Schema10",
|
|
1482
|
+
"Schema10TypedDict",
|
|
1483
|
+
"Schema14",
|
|
1484
|
+
"Schema14TypedDict",
|
|
1485
|
+
"Schema15",
|
|
1486
|
+
"Schema15TypedDict",
|
|
1487
|
+
"Schema15Union",
|
|
1488
|
+
"Schema15UnionTypedDict",
|
|
1489
|
+
"Schema17",
|
|
1490
|
+
"Schema17AutoRouter",
|
|
1491
|
+
"Schema17AutoRouterTypedDict",
|
|
1492
|
+
"Schema17FileParser",
|
|
1493
|
+
"Schema17FileParserTypedDict",
|
|
1494
|
+
"Schema17Moderation",
|
|
1495
|
+
"Schema17ModerationTypedDict",
|
|
1496
|
+
"Schema17ResponseHealing",
|
|
1497
|
+
"Schema17ResponseHealingTypedDict",
|
|
1498
|
+
"Schema17TypedDict",
|
|
1499
|
+
"Schema17Web",
|
|
1500
|
+
"Schema17WebTypedDict",
|
|
1501
|
+
"Schema19",
|
|
1502
|
+
"Schema19ReasoningEncrypted",
|
|
1503
|
+
"Schema19ReasoningEncryptedTypedDict",
|
|
1504
|
+
"Schema19ReasoningSummary",
|
|
1505
|
+
"Schema19ReasoningSummaryTypedDict",
|
|
1506
|
+
"Schema19ReasoningText",
|
|
1507
|
+
"Schema19ReasoningTextTypedDict",
|
|
1508
|
+
"Schema19TypedDict",
|
|
1509
|
+
"Schema21",
|
|
1543
1510
|
"Schema3",
|
|
1544
|
-
"Schema3ReasoningEncrypted",
|
|
1545
|
-
"Schema3ReasoningEncryptedTypedDict",
|
|
1546
|
-
"Schema3ReasoningSummary",
|
|
1547
|
-
"Schema3ReasoningSummaryTypedDict",
|
|
1548
|
-
"Schema3ReasoningText",
|
|
1549
|
-
"Schema3ReasoningTextTypedDict",
|
|
1550
|
-
"Schema3TypedDict",
|
|
1551
1511
|
"Schema5",
|
|
1512
|
+
"Schema5Enum",
|
|
1513
|
+
"Schema5TypedDict",
|
|
1514
|
+
"Schema8",
|
|
1552
1515
|
"Security",
|
|
1553
1516
|
"SecurityTypedDict",
|
|
1554
1517
|
"ServiceTier",
|
|
1555
1518
|
"ServiceUnavailableResponseErrorData",
|
|
1556
1519
|
"ServiceUnavailableResponseErrorDataTypedDict",
|
|
1557
1520
|
"SortEnum",
|
|
1558
|
-
"
|
|
1559
|
-
"
|
|
1521
|
+
"Stop",
|
|
1522
|
+
"StopTypedDict",
|
|
1560
1523
|
"SystemMessage",
|
|
1561
1524
|
"SystemMessageContent",
|
|
1562
1525
|
"SystemMessageContentTypedDict",
|
|
@@ -1621,24 +1584,52 @@ __all__ = [
|
|
|
1621
1584
|
]
|
|
1622
1585
|
|
|
1623
1586
|
_dynamic_imports: dict[str, str] = {
|
|
1624
|
-
"
|
|
1625
|
-
"
|
|
1626
|
-
"
|
|
1627
|
-
"
|
|
1628
|
-
"
|
|
1629
|
-
"
|
|
1630
|
-
"
|
|
1631
|
-
"
|
|
1632
|
-
"
|
|
1633
|
-
"
|
|
1634
|
-
"
|
|
1635
|
-
"
|
|
1587
|
+
"Completion": "._schema10",
|
|
1588
|
+
"CompletionTypedDict": "._schema10",
|
|
1589
|
+
"Prompt": "._schema10",
|
|
1590
|
+
"PromptTypedDict": "._schema10",
|
|
1591
|
+
"Schema10": "._schema10",
|
|
1592
|
+
"Schema10TypedDict": "._schema10",
|
|
1593
|
+
"Schema14": "._schema14",
|
|
1594
|
+
"Schema14TypedDict": "._schema14",
|
|
1595
|
+
"Engine": "._schema17",
|
|
1596
|
+
"Pdf": "._schema17",
|
|
1597
|
+
"PdfEngine": "._schema17",
|
|
1598
|
+
"PdfTypedDict": "._schema17",
|
|
1599
|
+
"Schema17": "._schema17",
|
|
1600
|
+
"Schema17AutoRouter": "._schema17",
|
|
1601
|
+
"Schema17AutoRouterTypedDict": "._schema17",
|
|
1602
|
+
"Schema17FileParser": "._schema17",
|
|
1603
|
+
"Schema17FileParserTypedDict": "._schema17",
|
|
1604
|
+
"Schema17Moderation": "._schema17",
|
|
1605
|
+
"Schema17ModerationTypedDict": "._schema17",
|
|
1606
|
+
"Schema17ResponseHealing": "._schema17",
|
|
1607
|
+
"Schema17ResponseHealingTypedDict": "._schema17",
|
|
1608
|
+
"Schema17TypedDict": "._schema17",
|
|
1609
|
+
"Schema17Web": "._schema17",
|
|
1610
|
+
"Schema17WebTypedDict": "._schema17",
|
|
1611
|
+
"Schema19": "._schema19",
|
|
1612
|
+
"Schema19ReasoningEncrypted": "._schema19",
|
|
1613
|
+
"Schema19ReasoningEncryptedTypedDict": "._schema19",
|
|
1614
|
+
"Schema19ReasoningSummary": "._schema19",
|
|
1615
|
+
"Schema19ReasoningSummaryTypedDict": "._schema19",
|
|
1616
|
+
"Schema19ReasoningText": "._schema19",
|
|
1617
|
+
"Schema19ReasoningTextTypedDict": "._schema19",
|
|
1618
|
+
"Schema19TypedDict": "._schema19",
|
|
1619
|
+
"Schema21": "._schema19",
|
|
1620
|
+
"Schema5": "._schema5",
|
|
1621
|
+
"Schema5Enum": "._schema5",
|
|
1622
|
+
"Schema5TypedDict": "._schema5",
|
|
1636
1623
|
"ActivityItem": ".activityitem",
|
|
1637
1624
|
"ActivityItemTypedDict": ".activityitem",
|
|
1638
1625
|
"AssistantMessage": ".assistantmessage",
|
|
1639
1626
|
"AssistantMessageContent": ".assistantmessage",
|
|
1640
1627
|
"AssistantMessageContentTypedDict": ".assistantmessage",
|
|
1628
|
+
"AssistantMessageImageURL": ".assistantmessage",
|
|
1629
|
+
"AssistantMessageImageURLTypedDict": ".assistantmessage",
|
|
1641
1630
|
"AssistantMessageTypedDict": ".assistantmessage",
|
|
1631
|
+
"Image": ".assistantmessage",
|
|
1632
|
+
"ImageTypedDict": ".assistantmessage",
|
|
1642
1633
|
"BadGatewayResponseErrorData": ".badgatewayresponseerrordata",
|
|
1643
1634
|
"BadGatewayResponseErrorDataTypedDict": ".badgatewayresponseerrordata",
|
|
1644
1635
|
"BadRequestResponseErrorData": ".badrequestresponseerrordata",
|
|
@@ -1649,56 +1640,34 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1649
1640
|
"Code": ".chaterror",
|
|
1650
1641
|
"CodeTypedDict": ".chaterror",
|
|
1651
1642
|
"ChatGenerationParams": ".chatgenerationparams",
|
|
1652
|
-
"ChatGenerationParamsDataCollection": ".chatgenerationparams",
|
|
1653
1643
|
"ChatGenerationParamsImageConfig": ".chatgenerationparams",
|
|
1654
1644
|
"ChatGenerationParamsImageConfigTypedDict": ".chatgenerationparams",
|
|
1655
|
-
"ChatGenerationParamsMaxPrice": ".chatgenerationparams",
|
|
1656
|
-
"ChatGenerationParamsMaxPriceTypedDict": ".chatgenerationparams",
|
|
1657
|
-
"ChatGenerationParamsPluginAutoRouter": ".chatgenerationparams",
|
|
1658
|
-
"ChatGenerationParamsPluginAutoRouterTypedDict": ".chatgenerationparams",
|
|
1659
|
-
"ChatGenerationParamsPluginFileParser": ".chatgenerationparams",
|
|
1660
|
-
"ChatGenerationParamsPluginFileParserTypedDict": ".chatgenerationparams",
|
|
1661
|
-
"ChatGenerationParamsPluginModeration": ".chatgenerationparams",
|
|
1662
|
-
"ChatGenerationParamsPluginModerationTypedDict": ".chatgenerationparams",
|
|
1663
|
-
"ChatGenerationParamsPluginResponseHealing": ".chatgenerationparams",
|
|
1664
|
-
"ChatGenerationParamsPluginResponseHealingTypedDict": ".chatgenerationparams",
|
|
1665
|
-
"ChatGenerationParamsPluginUnion": ".chatgenerationparams",
|
|
1666
|
-
"ChatGenerationParamsPluginUnionTypedDict": ".chatgenerationparams",
|
|
1667
|
-
"ChatGenerationParamsPluginWeb": ".chatgenerationparams",
|
|
1668
|
-
"ChatGenerationParamsPluginWebTypedDict": ".chatgenerationparams",
|
|
1669
|
-
"ChatGenerationParamsPreferredMaxLatency": ".chatgenerationparams",
|
|
1670
|
-
"ChatGenerationParamsPreferredMaxLatencyTypedDict": ".chatgenerationparams",
|
|
1671
|
-
"ChatGenerationParamsPreferredMaxLatencyUnion": ".chatgenerationparams",
|
|
1672
|
-
"ChatGenerationParamsPreferredMaxLatencyUnionTypedDict": ".chatgenerationparams",
|
|
1673
|
-
"ChatGenerationParamsPreferredMinThroughput": ".chatgenerationparams",
|
|
1674
|
-
"ChatGenerationParamsPreferredMinThroughputTypedDict": ".chatgenerationparams",
|
|
1675
|
-
"ChatGenerationParamsPreferredMinThroughputUnion": ".chatgenerationparams",
|
|
1676
|
-
"ChatGenerationParamsPreferredMinThroughputUnionTypedDict": ".chatgenerationparams",
|
|
1677
|
-
"ChatGenerationParamsProvider": ".chatgenerationparams",
|
|
1678
|
-
"ChatGenerationParamsProviderTypedDict": ".chatgenerationparams",
|
|
1679
|
-
"ChatGenerationParamsResponseFormatJSONObject": ".chatgenerationparams",
|
|
1680
|
-
"ChatGenerationParamsResponseFormatJSONObjectTypedDict": ".chatgenerationparams",
|
|
1681
|
-
"ChatGenerationParamsResponseFormatPython": ".chatgenerationparams",
|
|
1682
|
-
"ChatGenerationParamsResponseFormatPythonTypedDict": ".chatgenerationparams",
|
|
1683
|
-
"ChatGenerationParamsResponseFormatText": ".chatgenerationparams",
|
|
1684
|
-
"ChatGenerationParamsResponseFormatTextTypedDict": ".chatgenerationparams",
|
|
1685
|
-
"ChatGenerationParamsResponseFormatUnion": ".chatgenerationparams",
|
|
1686
|
-
"ChatGenerationParamsResponseFormatUnionTypedDict": ".chatgenerationparams",
|
|
1687
|
-
"ChatGenerationParamsStop": ".chatgenerationparams",
|
|
1688
|
-
"ChatGenerationParamsStopTypedDict": ".chatgenerationparams",
|
|
1689
1645
|
"ChatGenerationParamsTypedDict": ".chatgenerationparams",
|
|
1690
1646
|
"Debug": ".chatgenerationparams",
|
|
1691
1647
|
"DebugTypedDict": ".chatgenerationparams",
|
|
1692
1648
|
"Effort": ".chatgenerationparams",
|
|
1693
|
-
"Engine": ".chatgenerationparams",
|
|
1694
1649
|
"Modality": ".chatgenerationparams",
|
|
1695
|
-
"Pdf": ".chatgenerationparams",
|
|
1696
|
-
"PdfEngine": ".chatgenerationparams",
|
|
1697
|
-
"PdfTypedDict": ".chatgenerationparams",
|
|
1698
|
-
"Quantizations": ".chatgenerationparams",
|
|
1699
1650
|
"Reasoning": ".chatgenerationparams",
|
|
1700
1651
|
"ReasoningTypedDict": ".chatgenerationparams",
|
|
1652
|
+
"ResponseFormat": ".chatgenerationparams",
|
|
1653
|
+
"ResponseFormatJSONObject": ".chatgenerationparams",
|
|
1654
|
+
"ResponseFormatJSONObjectTypedDict": ".chatgenerationparams",
|
|
1655
|
+
"ResponseFormatPython": ".chatgenerationparams",
|
|
1656
|
+
"ResponseFormatPythonTypedDict": ".chatgenerationparams",
|
|
1657
|
+
"ResponseFormatText": ".chatgenerationparams",
|
|
1658
|
+
"ResponseFormatTextTypedDict": ".chatgenerationparams",
|
|
1659
|
+
"ResponseFormatTypedDict": ".chatgenerationparams",
|
|
1701
1660
|
"Route": ".chatgenerationparams",
|
|
1661
|
+
"Schema0": ".chatgenerationparams",
|
|
1662
|
+
"Schema0TypedDict": ".chatgenerationparams",
|
|
1663
|
+
"Schema15": ".chatgenerationparams",
|
|
1664
|
+
"Schema15TypedDict": ".chatgenerationparams",
|
|
1665
|
+
"Schema15Union": ".chatgenerationparams",
|
|
1666
|
+
"Schema15UnionTypedDict": ".chatgenerationparams",
|
|
1667
|
+
"Schema3": ".chatgenerationparams",
|
|
1668
|
+
"Schema8": ".chatgenerationparams",
|
|
1669
|
+
"Stop": ".chatgenerationparams",
|
|
1670
|
+
"StopTypedDict": ".chatgenerationparams",
|
|
1702
1671
|
"ChatGenerationTokenUsage": ".chatgenerationtokenusage",
|
|
1703
1672
|
"ChatGenerationTokenUsageTypedDict": ".chatgenerationtokenusage",
|
|
1704
1673
|
"CompletionTokensDetails": ".chatgenerationtokenusage",
|
|
@@ -1716,9 +1685,9 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1716
1685
|
"TTL": ".chatmessagecontentitemcachecontrol",
|
|
1717
1686
|
"ChatMessageContentItemImage": ".chatmessagecontentitemimage",
|
|
1718
1687
|
"ChatMessageContentItemImageDetail": ".chatmessagecontentitemimage",
|
|
1688
|
+
"ChatMessageContentItemImageImageURL": ".chatmessagecontentitemimage",
|
|
1689
|
+
"ChatMessageContentItemImageImageURLTypedDict": ".chatmessagecontentitemimage",
|
|
1719
1690
|
"ChatMessageContentItemImageTypedDict": ".chatmessagecontentitemimage",
|
|
1720
|
-
"ImageURL": ".chatmessagecontentitemimage",
|
|
1721
|
-
"ImageURLTypedDict": ".chatmessagecontentitemimage",
|
|
1722
1691
|
"ChatMessageContentItemText": ".chatmessagecontentitemtext",
|
|
1723
1692
|
"ChatMessageContentItemTextTypedDict": ".chatmessagecontentitemtext",
|
|
1724
1693
|
"ChatMessageContentItemVideo": ".chatmessagecontentitemvideo",
|
|
@@ -1762,37 +1731,16 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1762
1731
|
"ChatStreamingResponseChunkTypedDict": ".chatstreamingresponsechunk",
|
|
1763
1732
|
"ChatStreamOptions": ".chatstreamoptions",
|
|
1764
1733
|
"ChatStreamOptionsTypedDict": ".chatstreamoptions",
|
|
1765
|
-
"CompletionChoice": ".completionchoice",
|
|
1766
|
-
"CompletionChoiceTypedDict": ".completionchoice",
|
|
1767
|
-
"CompletionFinishReason": ".completionchoice",
|
|
1768
|
-
"CompletionCreateParams": ".completioncreateparams",
|
|
1769
|
-
"CompletionCreateParamsResponseFormatJSONObject": ".completioncreateparams",
|
|
1770
|
-
"CompletionCreateParamsResponseFormatJSONObjectTypedDict": ".completioncreateparams",
|
|
1771
|
-
"CompletionCreateParamsResponseFormatPython": ".completioncreateparams",
|
|
1772
|
-
"CompletionCreateParamsResponseFormatPythonTypedDict": ".completioncreateparams",
|
|
1773
|
-
"CompletionCreateParamsResponseFormatText": ".completioncreateparams",
|
|
1774
|
-
"CompletionCreateParamsResponseFormatTextTypedDict": ".completioncreateparams",
|
|
1775
|
-
"CompletionCreateParamsResponseFormatUnion": ".completioncreateparams",
|
|
1776
|
-
"CompletionCreateParamsResponseFormatUnionTypedDict": ".completioncreateparams",
|
|
1777
|
-
"CompletionCreateParamsStop": ".completioncreateparams",
|
|
1778
|
-
"CompletionCreateParamsStopTypedDict": ".completioncreateparams",
|
|
1779
|
-
"CompletionCreateParamsTypedDict": ".completioncreateparams",
|
|
1780
|
-
"Prompt": ".completioncreateparams",
|
|
1781
|
-
"PromptTypedDict": ".completioncreateparams",
|
|
1782
|
-
"StreamOptions": ".completioncreateparams",
|
|
1783
|
-
"StreamOptionsTypedDict": ".completioncreateparams",
|
|
1784
|
-
"CompletionLogprobs": ".completionlogprobs",
|
|
1785
|
-
"CompletionLogprobsTypedDict": ".completionlogprobs",
|
|
1786
|
-
"CompletionResponse": ".completionresponse",
|
|
1787
|
-
"CompletionResponseTypedDict": ".completionresponse",
|
|
1788
|
-
"CompletionUsage": ".completionusage",
|
|
1789
|
-
"CompletionUsageTypedDict": ".completionusage",
|
|
1790
1734
|
"ChainID": ".createchargerequest",
|
|
1791
1735
|
"CreateChargeRequest": ".createchargerequest",
|
|
1792
1736
|
"CreateChargeRequestTypedDict": ".createchargerequest",
|
|
1793
1737
|
"DataCollection": ".datacollection",
|
|
1794
1738
|
"DefaultParameters": ".defaultparameters",
|
|
1795
1739
|
"DefaultParametersTypedDict": ".defaultparameters",
|
|
1740
|
+
"DeveloperMessage": ".developermessage",
|
|
1741
|
+
"DeveloperMessageContent": ".developermessage",
|
|
1742
|
+
"DeveloperMessageContentTypedDict": ".developermessage",
|
|
1743
|
+
"DeveloperMessageTypedDict": ".developermessage",
|
|
1796
1744
|
"EdgeNetworkTimeoutResponseErrorData": ".edgenetworktimeoutresponseerrordata",
|
|
1797
1745
|
"EdgeNetworkTimeoutResponseErrorDataTypedDict": ".edgenetworktimeoutresponseerrordata",
|
|
1798
1746
|
"EndpointStatus": ".endpointstatus",
|
|
@@ -1817,10 +1765,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1817
1765
|
"ListEndpointsResponseTypedDict": ".listendpointsresponse",
|
|
1818
1766
|
"Tokenizer": ".listendpointsresponse",
|
|
1819
1767
|
"Message": ".message",
|
|
1820
|
-
"MessageContent": ".message",
|
|
1821
|
-
"MessageContentTypedDict": ".message",
|
|
1822
|
-
"MessageDeveloper": ".message",
|
|
1823
|
-
"MessageDeveloperTypedDict": ".message",
|
|
1824
1768
|
"MessageTypedDict": ".message",
|
|
1825
1769
|
"Model": ".model",
|
|
1826
1770
|
"ModelTypedDict": ".model",
|
|
@@ -2014,20 +1958,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2014
1958
|
"OpenResponsesRequestOnlyTypedDict": ".openresponsesrequest",
|
|
2015
1959
|
"OpenResponsesRequestOrder": ".openresponsesrequest",
|
|
2016
1960
|
"OpenResponsesRequestOrderTypedDict": ".openresponsesrequest",
|
|
2017
|
-
"OpenResponsesRequestPluginAutoRouter": ".openresponsesrequest",
|
|
2018
|
-
"OpenResponsesRequestPluginAutoRouterTypedDict": ".openresponsesrequest",
|
|
2019
|
-
"OpenResponsesRequestPluginFileParser": ".openresponsesrequest",
|
|
2020
|
-
"OpenResponsesRequestPluginFileParserTypedDict": ".openresponsesrequest",
|
|
2021
|
-
"OpenResponsesRequestPluginModeration": ".openresponsesrequest",
|
|
2022
|
-
"OpenResponsesRequestPluginModerationTypedDict": ".openresponsesrequest",
|
|
2023
|
-
"OpenResponsesRequestPluginResponseHealing": ".openresponsesrequest",
|
|
2024
|
-
"OpenResponsesRequestPluginResponseHealingTypedDict": ".openresponsesrequest",
|
|
2025
|
-
"OpenResponsesRequestPluginUnion": ".openresponsesrequest",
|
|
2026
|
-
"OpenResponsesRequestPluginUnionTypedDict": ".openresponsesrequest",
|
|
2027
|
-
"OpenResponsesRequestPluginWeb": ".openresponsesrequest",
|
|
2028
|
-
"OpenResponsesRequestPluginWebTypedDict": ".openresponsesrequest",
|
|
2029
|
-
"OpenResponsesRequestProvider": ".openresponsesrequest",
|
|
2030
|
-
"OpenResponsesRequestProviderTypedDict": ".openresponsesrequest",
|
|
2031
1961
|
"OpenResponsesRequestSort": ".openresponsesrequest",
|
|
2032
1962
|
"OpenResponsesRequestSortTypedDict": ".openresponsesrequest",
|
|
2033
1963
|
"OpenResponsesRequestToolFunction": ".openresponsesrequest",
|
|
@@ -2036,6 +1966,20 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2036
1966
|
"OpenResponsesRequestToolUnionTypedDict": ".openresponsesrequest",
|
|
2037
1967
|
"OpenResponsesRequestType": ".openresponsesrequest",
|
|
2038
1968
|
"OpenResponsesRequestTypedDict": ".openresponsesrequest",
|
|
1969
|
+
"Plugin": ".openresponsesrequest",
|
|
1970
|
+
"PluginAutoRouter": ".openresponsesrequest",
|
|
1971
|
+
"PluginAutoRouterTypedDict": ".openresponsesrequest",
|
|
1972
|
+
"PluginFileParser": ".openresponsesrequest",
|
|
1973
|
+
"PluginFileParserTypedDict": ".openresponsesrequest",
|
|
1974
|
+
"PluginModeration": ".openresponsesrequest",
|
|
1975
|
+
"PluginModerationTypedDict": ".openresponsesrequest",
|
|
1976
|
+
"PluginResponseHealing": ".openresponsesrequest",
|
|
1977
|
+
"PluginResponseHealingTypedDict": ".openresponsesrequest",
|
|
1978
|
+
"PluginTypedDict": ".openresponsesrequest",
|
|
1979
|
+
"PluginWeb": ".openresponsesrequest",
|
|
1980
|
+
"PluginWebTypedDict": ".openresponsesrequest",
|
|
1981
|
+
"Provider": ".openresponsesrequest",
|
|
1982
|
+
"ProviderTypedDict": ".openresponsesrequest",
|
|
2039
1983
|
"ServiceTier": ".openresponsesrequest",
|
|
2040
1984
|
"Truncation": ".openresponsesrequest",
|
|
2041
1985
|
"OpenResponsesResponseText": ".openresponsesresponsetext",
|