Repository navigation
Expand file tree
/
Copy path__init__.py
More file actions
6696 lines (6687 loc) · 275 KB
/
Copy path__init__.py
File metadata and controls
6696 lines (6687 loc) · 275 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from typing import Any, TYPE_CHECKING
from openrouter.utils.dynamic_imports import lazy_getattr, lazy_dir
if TYPE_CHECKING:
from .aabenchmarkentry import AABenchmarkEntry, AABenchmarkEntryTypedDict
from .activityitem import ActivityItem, ActivityItemTypedDict
from .activityresponse import ActivityResponse, ActivityResponseTypedDict
from .advisornestedtool import AdvisorNestedTool, AdvisorNestedToolTypedDict
from .advisorreasoning import (
AdvisorReasoning,
AdvisorReasoningEffort,
AdvisorReasoningTypedDict,
)
from .advisorservertool_openrouter import (
AdvisorServerToolOpenRouter,
AdvisorServerToolOpenRouterType,
AdvisorServerToolOpenRouterTypedDict,
)
from .advisorservertoolconfig import (
AdvisorServerToolConfig,
AdvisorServerToolConfigTypedDict,
)
from .annotationaddedevent import (
AnnotationAddedEvent,
AnnotationAddedEventType,
AnnotationAddedEventTypedDict,
)
from .anthropicadvisormessageusageiteration import (
AnthropicAdvisorMessageUsageIteration,
AnthropicAdvisorMessageUsageIterationType,
AnthropicAdvisorMessageUsageIterationTypedDict,
)
from .anthropicallowedcallers import AnthropicAllowedCallers
from .anthropicbase64imagesource import (
AnthropicBase64ImageSource,
AnthropicBase64ImageSourceType,
AnthropicBase64ImageSourceTypedDict,
)
from .anthropicbase64pdfsource import (
AnthropicBase64PdfSource,
AnthropicBase64PdfSourceMediaType,
AnthropicBase64PdfSourceType,
AnthropicBase64PdfSourceTypedDict,
)
from .anthropiccachecontroldirective import (
AnthropicCacheControlDirective,
AnthropicCacheControlDirectiveType,
AnthropicCacheControlDirectiveTypedDict,
)
from .anthropiccachecontrolttl import AnthropicCacheControlTTL
from .anthropiccitationcharlocationparam import (
AnthropicCitationCharLocationParam,
AnthropicCitationCharLocationParamType,
AnthropicCitationCharLocationParamTypedDict,
)
from .anthropiccitationcontentblocklocationparam import (
AnthropicCitationContentBlockLocationParam,
AnthropicCitationContentBlockLocationParamType,
AnthropicCitationContentBlockLocationParamTypedDict,
)
from .anthropiccitationpagelocationparam import (
AnthropicCitationPageLocationParam,
AnthropicCitationPageLocationParamType,
AnthropicCitationPageLocationParamTypedDict,
)
from .anthropiccitationsearchresultlocation import (
AnthropicCitationSearchResultLocation,
AnthropicCitationSearchResultLocationType,
AnthropicCitationSearchResultLocationTypedDict,
)
from .anthropiccitationwebsearchresultlocation import (
AnthropicCitationWebSearchResultLocation,
AnthropicCitationWebSearchResultLocationType,
AnthropicCitationWebSearchResultLocationTypedDict,
)
from .anthropiccompactionusageiteration import (
AnthropicCompactionUsageIteration,
AnthropicCompactionUsageIterationType,
AnthropicCompactionUsageIterationTypedDict,
)
from .anthropicdocumentblockparam import (
AnthropicDocumentBlockParam,
AnthropicDocumentBlockParamCitations,
AnthropicDocumentBlockParamCitationsTypedDict,
AnthropicDocumentBlockParamContent1,
AnthropicDocumentBlockParamContent1TypedDict,
AnthropicDocumentBlockParamContent2,
AnthropicDocumentBlockParamContent2TypedDict,
AnthropicDocumentBlockParamSourceUnion,
AnthropicDocumentBlockParamSourceUnionTypedDict,
AnthropicDocumentBlockParamTypedDict,
SourceContent,
SourceContentTypedDict,
SourceType,
TypeDocument,
)
from .anthropicfiledocumentsource import (
AnthropicFileDocumentSource,
AnthropicFileDocumentSourceType,
AnthropicFileDocumentSourceTypedDict,
)
from .anthropicimageblockparam import (
AnthropicImageBlockParam,
AnthropicImageBlockParamSource,
AnthropicImageBlockParamSourceTypedDict,
AnthropicImageBlockParamType,
AnthropicImageBlockParamTypedDict,
)
from .anthropicimagemimetype import AnthropicImageMimeType
from .anthropicinputtokensclearatleast import (
AnthropicInputTokensClearAtLeast,
AnthropicInputTokensClearAtLeastType,
AnthropicInputTokensClearAtLeastTypedDict,
)
from .anthropicinputtokenstrigger import (
AnthropicInputTokensTrigger,
AnthropicInputTokensTriggerType,
AnthropicInputTokensTriggerTypedDict,
)
from .anthropiciterationcachecreation import (
AnthropicIterationCacheCreation,
AnthropicIterationCacheCreationTypedDict,
)
from .anthropicmessageusageiteration import (
AnthropicMessageUsageIteration,
AnthropicMessageUsageIterationType,
AnthropicMessageUsageIterationTypedDict,
)
from .anthropicplaintextsource import (
AnthropicPlainTextSource,
AnthropicPlainTextSourceMediaType,
AnthropicPlainTextSourceType,
AnthropicPlainTextSourceTypedDict,
)
from .anthropicsearchresultblockparam import (
AnthropicSearchResultBlockParam,
AnthropicSearchResultBlockParamCitations,
AnthropicSearchResultBlockParamCitationsTypedDict,
AnthropicSearchResultBlockParamType,
AnthropicSearchResultBlockParamTypedDict,
)
from .anthropicspeed import AnthropicSpeed
from .anthropictextblockparam import (
AnthropicTextBlockParam,
AnthropicTextBlockParamType,
AnthropicTextBlockParamTypedDict,
Citation,
CitationTypedDict,
)
from .anthropicthinkingdisplay import AnthropicThinkingDisplay
from .anthropicthinkingturns import (
AnthropicThinkingTurns,
AnthropicThinkingTurnsType,
AnthropicThinkingTurnsTypedDict,
)
from .anthropictooluseskeep import (
AnthropicToolUsesKeep,
AnthropicToolUsesKeepType,
AnthropicToolUsesKeepTypedDict,
)
from .anthropictoolusestrigger import (
AnthropicToolUsesTrigger,
AnthropicToolUsesTriggerType,
AnthropicToolUsesTriggerTypedDict,
)
from .anthropicunknownusageiteration import (
AnthropicUnknownUsageIteration,
AnthropicUnknownUsageIterationTypedDict,
)
from .anthropicurlimagesource import (
AnthropicURLImageSource,
AnthropicURLImageSourceType,
AnthropicURLImageSourceTypedDict,
)
from .anthropicurlpdfsource import (
AnthropicURLPdfSource,
AnthropicURLPdfSourceType,
AnthropicURLPdfSourceTypedDict,
)
from .anthropicusageiteration import (
AnthropicUsageIteration,
AnthropicUsageIterationTypedDict,
)
from .anthropicwebsearchresultblockparam import (
AnthropicWebSearchResultBlockParam,
AnthropicWebSearchResultBlockParamType,
AnthropicWebSearchResultBlockParamTypedDict,
)
from .anthropicwebsearchtooluserlocation import (
AnthropicWebSearchToolUserLocation,
AnthropicWebSearchToolUserLocationType,
AnthropicWebSearchToolUserLocationTypedDict,
)
from .apierrortype import APIErrorType
from .applypatchcallitem import (
ApplyPatchCallItem,
ApplyPatchCallItemType,
ApplyPatchCallItemTypedDict,
)
from .applypatchcalloperation import (
ApplyPatchCallOperation,
ApplyPatchCallOperationTypedDict,
UnknownApplyPatchCallOperation,
)
from .applypatchcalloperationdiffdeltaevent import (
ApplyPatchCallOperationDiffDeltaEvent,
ApplyPatchCallOperationDiffDeltaEventType,
ApplyPatchCallOperationDiffDeltaEventTypedDict,
)
from .applypatchcalloperationdiffdoneevent import (
ApplyPatchCallOperationDiffDoneEvent,
ApplyPatchCallOperationDiffDoneEventType,
ApplyPatchCallOperationDiffDoneEventTypedDict,
)
from .applypatchcalloutputitem import (
ApplyPatchCallOutputItem,
ApplyPatchCallOutputItemStatus,
ApplyPatchCallOutputItemType,
ApplyPatchCallOutputItemTypedDict,
)
from .applypatchcallstatus import ApplyPatchCallStatus
from .applypatchcreatefileoperation import (
ApplyPatchCreateFileOperation,
ApplyPatchCreateFileOperationType,
ApplyPatchCreateFileOperationTypedDict,
)
from .applypatchdeletefileoperation import (
ApplyPatchDeleteFileOperation,
ApplyPatchDeleteFileOperationType,
ApplyPatchDeleteFileOperationTypedDict,
)
from .applypatchengineenum import ApplyPatchEngineEnum
from .applypatchservertool import (
ApplyPatchServerTool,
ApplyPatchServerToolType,
ApplyPatchServerToolTypedDict,
)
from .applypatchservertool_openrouter import (
ApplyPatchServerToolOpenRouter,
ApplyPatchServerToolOpenRouterType,
ApplyPatchServerToolOpenRouterTypedDict,
)
from .applypatchservertoolconfig import (
ApplyPatchServerToolConfig,
ApplyPatchServerToolConfigTypedDict,
)
from .applypatchupdatefileoperation import (
ApplyPatchUpdateFileOperation,
ApplyPatchUpdateFileOperationType,
ApplyPatchUpdateFileOperationTypedDict,
)
from .apprankingsitem import AppRankingsItem, AppRankingsItemTypedDict
from .apprankingsresponse import AppRankingsResponse, AppRankingsResponseTypedDict
from .autorouterplugin import (
AutoRouterPlugin,
AutoRouterPluginID,
AutoRouterPluginTypedDict,
)
from .badgatewayresponseerrordata import (
BadGatewayResponseErrorData,
BadGatewayResponseErrorDataTypedDict,
)
from .badrequestresponseerrordata import (
BadRequestResponseErrorData,
BadRequestResponseErrorDataTypedDict,
)
from .baseinputs_union import (
BaseInputsContent1,
BaseInputsContent1TypedDict,
BaseInputsContent2,
BaseInputsContent2TypedDict,
BaseInputsMessage,
BaseInputsMessageTypedDict,
BaseInputsPhaseCommentary,
BaseInputsPhaseFinalAnswer,
BaseInputsPhaseUnion,
BaseInputsPhaseUnionTypedDict,
BaseInputsRoleAssistant,
BaseInputsRoleDeveloper,
BaseInputsRoleSystem,
BaseInputsRoleUnion,
BaseInputsRoleUnionTypedDict,
BaseInputsRoleUser,
BaseInputsType,
BaseInputsUnion,
BaseInputsUnion1,
BaseInputsUnion1TypedDict,
BaseInputsUnionTypedDict,
UnknownBaseInputsContent1,
)
from .basereasoningconfig import BaseReasoningConfig, BaseReasoningConfigTypedDict
from .bashservertool import (
BashServerTool,
BashServerToolType,
BashServerToolTypedDict,
)
from .bashservertoolconfig import (
BashServerToolConfig,
BashServerToolConfigTypedDict,
)
from .bashservertoolengine import BashServerToolEngine
from .bashservertoolenvironment import (
BashServerToolEnvironment,
BashServerToolEnvironmentTypedDict,
)
from .booleancapability import (
BooleanCapability,
BooleanCapabilityType,
BooleanCapabilityTypedDict,
)
from .bulkaddworkspacemembersrequest import (
BulkAddWorkspaceMembersRequest,
BulkAddWorkspaceMembersRequestTypedDict,
)
from .bulkaddworkspacemembersresponse import (
BulkAddWorkspaceMembersResponse,
BulkAddWorkspaceMembersResponseTypedDict,
)
from .bulkassignkeysrequest import (
BulkAssignKeysRequest,
BulkAssignKeysRequestTypedDict,
)
from .bulkassignkeysresponse import (
BulkAssignKeysResponse,
BulkAssignKeysResponseTypedDict,
)
from .bulkassignmembersrequest import (
BulkAssignMembersRequest,
BulkAssignMembersRequestTypedDict,
)
from .bulkassignmembersresponse import (
BulkAssignMembersResponse,
BulkAssignMembersResponseTypedDict,
)
from .bulkremoveworkspacemembersrequest import (
BulkRemoveWorkspaceMembersRequest,
BulkRemoveWorkspaceMembersRequestTypedDict,
)
from .bulkremoveworkspacemembersresponse import (
BulkRemoveWorkspaceMembersResponse,
BulkRemoveWorkspaceMembersResponseTypedDict,
)
from .bulkunassignkeysrequest import (
BulkUnassignKeysRequest,
BulkUnassignKeysRequestTypedDict,
)
from .bulkunassignkeysresponse import (
BulkUnassignKeysResponse,
BulkUnassignKeysResponseTypedDict,
)
from .bulkunassignmembersrequest import (
BulkUnassignMembersRequest,
BulkUnassignMembersRequestTypedDict,
)
from .bulkunassignmembersresponse import (
BulkUnassignMembersResponse,
BulkUnassignMembersResponseTypedDict,
)
from .byokkey import BYOKKey, BYOKKeyTypedDict
from .byokproviderslug import BYOKProviderSlug
from .capabilitydescriptor import (
CapabilityDescriptor,
CapabilityDescriptorTypedDict,
UnknownCapabilityDescriptor,
)
from .chatassistantimages import (
ChatAssistantImages,
ChatAssistantImagesImageURL,
ChatAssistantImagesImageURLTypedDict,
ChatAssistantImagesTypedDict,
)
from .chatassistantmessage import (
ChatAssistantMessage,
ChatAssistantMessageContent,
ChatAssistantMessageContentTypedDict,
ChatAssistantMessageRole,
ChatAssistantMessageTypedDict,
)
from .chataudiooutput import ChatAudioOutput, ChatAudioOutputTypedDict
from .chatchoice import ChatChoice, ChatChoiceTypedDict
from .chatcontentaudio import (
ChatContentAudio,
ChatContentAudioInputAudio,
ChatContentAudioInputAudioTypedDict,
ChatContentAudioType,
ChatContentAudioTypedDict,
)
from .chatcontentcachecontrol import (
ChatContentCacheControl,
ChatContentCacheControlType,
ChatContentCacheControlTypedDict,
)
from .chatcontentfile import (
ChatContentFile,
ChatContentFileType,
ChatContentFileTypedDict,
File,
FileTypedDict,
)
from .chatcontentimage import (
ChatContentImage,
ChatContentImageDetail,
ChatContentImageImageURL,
ChatContentImageImageURLTypedDict,
ChatContentImageType,
ChatContentImageTypedDict,
)
from .chatcontentitems import (
ChatContentItems,
ChatContentItemsTypedDict,
UnknownChatContentItems,
)
from .chatcontenttext import (
ChatContentText,
ChatContentTextType,
ChatContentTextTypedDict,
)
from .chatcontentvideo import (
ChatContentVideo,
ChatContentVideoType,
ChatContentVideoTypedDict,
)
from .chatcontentvideoinput import (
ChatContentVideoInput,
ChatContentVideoInputTypedDict,
)
from .chatdebugoptions import ChatDebugOptions, ChatDebugOptionsTypedDict
from .chatdevelopermessage import (
ChatDeveloperMessage,
ChatDeveloperMessageContent,
ChatDeveloperMessageContentTypedDict,
ChatDeveloperMessageRole,
ChatDeveloperMessageTypedDict,
)
from .chatfinishreasonenum import ChatFinishReasonEnum
from .chatformatgrammarconfig import (
ChatFormatGrammarConfig,
ChatFormatGrammarConfigType,
ChatFormatGrammarConfigTypedDict,
)
from .chatformatjsonschemaconfig import (
ChatFormatJSONSchemaConfig,
ChatFormatJSONSchemaConfigType,
ChatFormatJSONSchemaConfigTypedDict,
)
from .chatformatpythonconfig import (
ChatFormatPythonConfig,
ChatFormatPythonConfigType,
ChatFormatPythonConfigTypedDict,
)
from .chatformattextconfig import (
ChatFormatTextConfig,
ChatFormatTextConfigType,
ChatFormatTextConfigTypedDict,
)
from .chatfunctiontool import (
ChatFunctionTool,
ChatFunctionToolFunction,
ChatFunctionToolFunctionFunction,
ChatFunctionToolFunctionFunctionTypedDict,
ChatFunctionToolFunctionTypedDict,
ChatFunctionToolType,
ChatFunctionToolTypedDict,
)
from .chatjsonschemaconfig import (
ChatJSONSchemaConfig,
ChatJSONSchemaConfigTypedDict,
)
from .chatmessages import ChatMessages, ChatMessagesTypedDict
from .chatnamedtoolchoice import (
ChatNamedToolChoice,
ChatNamedToolChoiceFunction,
ChatNamedToolChoiceFunctionTypedDict,
ChatNamedToolChoiceType,
ChatNamedToolChoiceTypedDict,
)
from .chatreasoningsummaryverbosityenum import ChatReasoningSummaryVerbosityEnum
from .chatrequest import (
ChatRequest,
ChatRequestEffort,
ChatRequestPlugin,
ChatRequestPluginTypedDict,
ChatRequestReasoning,
ChatRequestReasoningEffort,
ChatRequestReasoningTypedDict,
ChatRequestServiceTier,
ChatRequestTypedDict,
Modality,
ResponseFormat,
ResponseFormatTypedDict,
Stop,
StopTypedDict,
)
from .chatresult import ChatResult, ChatResultObject, ChatResultTypedDict
from .chatsearchmodelsservertool import (
ChatSearchModelsServerTool,
ChatSearchModelsServerToolType,
ChatSearchModelsServerToolTypedDict,
)
from .chatservertoolchoice import (
ChatServerToolChoice,
ChatServerToolChoiceTypedDict,
)
from .chatstreamchoice import ChatStreamChoice, ChatStreamChoiceTypedDict
from .chatstreamchunk import (
ChatStreamChunk,
ChatStreamChunkError,
ChatStreamChunkErrorTypedDict,
ChatStreamChunkMetadata,
ChatStreamChunkMetadataTypedDict,
ChatStreamChunkObject,
ChatStreamChunkTypedDict,
)
from .chatstreamdelta import (
ChatStreamDelta,
ChatStreamDeltaRole,
ChatStreamDeltaTypedDict,
)
from .chatstreamingresponse import (
ChatStreamingResponse,
ChatStreamingResponseTypedDict,
)
from .chatstreamoptions import ChatStreamOptions, ChatStreamOptionsTypedDict
from .chatstreamtoolcall import (
ChatStreamToolCall,
ChatStreamToolCallFunction,
ChatStreamToolCallFunctionTypedDict,
ChatStreamToolCallType,
ChatStreamToolCallTypedDict,
)
from .chatsystemmessage import (
ChatSystemMessage,
ChatSystemMessageContent,
ChatSystemMessageContentTypedDict,
ChatSystemMessageRole,
ChatSystemMessageTypedDict,
)
from .chattokenlogprob import (
ChatTokenLogprob,
ChatTokenLogprobTopLogprob,
ChatTokenLogprobTopLogprobTypedDict,
ChatTokenLogprobTypedDict,
)
from .chattokenlogprobs import ChatTokenLogprobs, ChatTokenLogprobsTypedDict
from .chattoolcall import (
ChatToolCall,
ChatToolCallFunction,
ChatToolCallFunctionTypedDict,
ChatToolCallType,
ChatToolCallTypedDict,
)
from .chattoolchoice import (
ChatToolChoice,
ChatToolChoiceAuto,
ChatToolChoiceNone,
ChatToolChoiceRequired,
ChatToolChoiceTypedDict,
)
from .chattoolmessage import (
ChatToolMessage,
ChatToolMessageContent,
ChatToolMessageContentTypedDict,
ChatToolMessageRole,
ChatToolMessageTypedDict,
)
from .chatusage import (
ChatUsage,
ChatUsageCompletionTokensDetails,
ChatUsageCompletionTokensDetailsTypedDict,
ChatUsagePromptTokensDetails,
ChatUsagePromptTokensDetailsTypedDict,
ChatUsageTypedDict,
ServerToolUseDetails,
ServerToolUseDetailsTypedDict,
)
from .chatusermessage import (
ChatUserMessage,
ChatUserMessageContent,
ChatUserMessageContentTypedDict,
ChatUserMessageRole,
ChatUserMessageTypedDict,
)
from .chatwebsearchshorthand import (
ChatWebSearchShorthand,
ChatWebSearchShorthandType,
ChatWebSearchShorthandTypedDict,
)
from .codeinterpreterservertool import (
CodeInterpreterServerTool,
CodeInterpreterServerToolTypedDict,
Container,
ContainerAuto,
ContainerAutoTypedDict,
ContainerType,
ContainerTypedDict,
MemoryLimit,
TypeCodeInterpreter,
)
from .codexlocalshelltool import (
CodexLocalShellTool,
CodexLocalShellToolType,
CodexLocalShellToolTypedDict,
)
from .compactionitem import (
CompactionItem,
CompactionItemType,
CompactionItemTypedDict,
)
from .compoundfilter import (
CompoundFilter,
CompoundFilterType,
CompoundFilterTypedDict,
)
from .computeruseservertool import (
ComputerUseServerTool,
ComputerUseServerToolType,
ComputerUseServerToolTypedDict,
Environment,
)
from .conflictresponseerrordata import (
ConflictResponseErrorData,
ConflictResponseErrorDataTypedDict,
)
from .containerautoenvironment import (
ContainerAutoEnvironment,
ContainerAutoEnvironmentType,
ContainerAutoEnvironmentTypedDict,
)
from .containerreferenceenvironment import (
ContainerReferenceEnvironment,
ContainerReferenceEnvironmentType,
ContainerReferenceEnvironmentTypedDict,
)
from .contentfilteraction import ContentFilterAction
from .contentfilterbuiltinaction import ContentFilterBuiltinAction
from .contentfilterbuiltinentry import (
ContentFilterBuiltinEntry,
ContentFilterBuiltinEntryTypedDict,
)
from .contentfilterbuiltinentryinput import (
ContentFilterBuiltinEntryInput,
ContentFilterBuiltinEntryInputTypedDict,
)
from .contentfilterbuiltinslug import ContentFilterBuiltinSlug
from .contentfilterentry import ContentFilterEntry, ContentFilterEntryTypedDict
from .contentpartaddedevent import (
ContentPartAddedEvent,
ContentPartAddedEventPart,
ContentPartAddedEventPartTypedDict,
ContentPartAddedEventType,
ContentPartAddedEventTypedDict,
UnknownContentPartAddedEventPart,
)
from .contentpartaudio import (
AudioURL,
AudioURLTypedDict,
ContentPartAudio,
ContentPartAudioType,
ContentPartAudioTypedDict,
)
from .contentpartdoneevent import (
ContentPartDoneEvent,
ContentPartDoneEventPart,
ContentPartDoneEventPartTypedDict,
ContentPartDoneEventType,
ContentPartDoneEventTypedDict,
UnknownContentPartDoneEventPart,
)
from .contentpartimage import (
ContentPartImage,
ContentPartImageImageURL,
ContentPartImageImageURLTypedDict,
ContentPartImageType,
ContentPartImageTypedDict,
)
from .contentpartinputaudio import (
ContentPartInputAudio,
ContentPartInputAudioType,
ContentPartInputAudioTypedDict,
)
from .contentpartinputfile import (
ContentPartInputFile,
ContentPartInputFileType,
ContentPartInputFileTypedDict,
)
from .contentpartinputvideo import (
ContentPartInputVideo,
ContentPartInputVideoType,
ContentPartInputVideoTypedDict,
)
from .contentpartvideo import (
ContentPartVideo,
ContentPartVideoType,
ContentPartVideoTypedDict,
VideoURL,
VideoURLTypedDict,
)
from .contextcompressionengine import ContextCompressionEngine
from .contextcompressionplugin import (
ContextCompressionPlugin,
ContextCompressionPluginID,
ContextCompressionPluginTypedDict,
)
from .costdetails import CostDetails, CostDetailsTypedDict
from .createbyokkeyrequest import (
CreateBYOKKeyRequest,
CreateBYOKKeyRequestTypedDict,
)
from .createbyokkeyresponse import (
CreateBYOKKeyResponse,
CreateBYOKKeyResponseTypedDict,
)
from .createguardrailrequest import (
CreateGuardrailRequest,
CreateGuardrailRequestTypedDict,
)
from .createguardrailresponse import (
CreateGuardrailResponse,
CreateGuardrailResponseTypedDict,
)
from .createobservabilitydestinationrequest import (
CreateObservabilityDestinationRequest,
CreateObservabilityDestinationRequestType,
CreateObservabilityDestinationRequestTypedDict,
)
from .createobservabilitydestinationresponse import (
CreateObservabilityDestinationResponse,
CreateObservabilityDestinationResponseTypedDict,
)
from .createpresetfrominferenceresponse import (
CreatePresetFromInferenceResponse,
CreatePresetFromInferenceResponseTypedDict,
)
from .createworkspacerequest import (
CreateWorkspaceRequest,
CreateWorkspaceRequestTypedDict,
)
from .createworkspaceresponse import (
CreateWorkspaceResponse,
CreateWorkspaceResponseTypedDict,
)
from .customtool import (
CustomTool,
CustomToolTypeCustom,
CustomToolTypedDict,
Format,
FormatGrammar,
FormatGrammarTypedDict,
FormatText,
FormatTextTypedDict,
FormatTypeGrammar,
FormatTypeText,
FormatTypedDict,
Syntax,
UnknownFormat,
)
from .customtoolcallinputdeltaevent import (
CustomToolCallInputDeltaEvent,
CustomToolCallInputDeltaEventType,
CustomToolCallInputDeltaEventTypedDict,
)
from .customtoolcallinputdoneevent import (
CustomToolCallInputDoneEvent,
CustomToolCallInputDoneEventType,
CustomToolCallInputDoneEventTypedDict,
)
from .customtoolcallitem import (
CustomToolCallItem,
CustomToolCallItemType,
CustomToolCallItemTypedDict,
)
from .customtoolcalloutputitem import (
CustomToolCallOutputItem,
CustomToolCallOutputItemDetail,
CustomToolCallOutputItemOutputInputImage,
CustomToolCallOutputItemOutputInputImageTypedDict,
CustomToolCallOutputItemOutputUnion1,
CustomToolCallOutputItemOutputUnion1TypedDict,
CustomToolCallOutputItemOutputUnion2,
CustomToolCallOutputItemOutputUnion2TypedDict,
CustomToolCallOutputItemTypeCustomToolCallOutput,
CustomToolCallOutputItemTypeInputImage,
CustomToolCallOutputItemTypedDict,
)
from .dabenchmarkentry import DABenchmarkEntry, DABenchmarkEntryTypedDict
from .datetimeservertool import (
DatetimeServerTool,
DatetimeServerToolType,
DatetimeServerToolTypedDict,
)
from .datetimeservertoolconfig import (
DatetimeServerToolConfig,
DatetimeServerToolConfigTypedDict,
)
from .debugevent import (
Debug,
DebugEvent,
DebugEventType,
DebugEventTypedDict,
DebugTypedDict,
Event,
Timings,
TimingsTypedDict,
)
from .defaultparameters import DefaultParameters, DefaultParametersTypedDict
from .deletebyokkeyresponse import (
DeleteBYOKKeyResponse,
DeleteBYOKKeyResponseTypedDict,
)
from .deleteguardrailresponse import (
DeleteGuardrailResponse,
DeleteGuardrailResponseTypedDict,
)
from .deleteobservabilitydestinationresponse import (
DeleteObservabilityDestinationResponse,
DeleteObservabilityDestinationResponseTypedDict,
)
from .deleteworkspacebudgetresponse import (
DeleteWorkspaceBudgetResponse,
DeleteWorkspaceBudgetResponseTypedDict,
)
from .deleteworkspaceresponse import (
DeleteWorkspaceResponse,
DeleteWorkspaceResponseTypedDict,
)
from .easyinputmessage import (
EasyInputMessage,
EasyInputMessageContentInputImage,
EasyInputMessageContentInputImageTypedDict,
EasyInputMessageContentUnion1,
EasyInputMessageContentUnion1TypedDict,
EasyInputMessageContentUnion2,
EasyInputMessageContentUnion2TypedDict,
EasyInputMessageDetail,
EasyInputMessagePhaseCommentary,
EasyInputMessagePhaseFinalAnswer,
EasyInputMessagePhaseUnion,
EasyInputMessagePhaseUnionTypedDict,
EasyInputMessageRoleAssistant,
EasyInputMessageRoleDeveloper,
EasyInputMessageRoleSystem,
EasyInputMessageRoleUnion,
EasyInputMessageRoleUnionTypedDict,
EasyInputMessageRoleUser,
EasyInputMessageTypeInputImage,
EasyInputMessageTypeMessage,
EasyInputMessageTypedDict,
)
from .edgenetworktimeoutresponseerrordata import (
EdgeNetworkTimeoutResponseErrorData,
EdgeNetworkTimeoutResponseErrorDataTypedDict,
)
from .endpointinfo import EndpointInfo, EndpointInfoTypedDict
from .endpointsmetadata import EndpointsMetadata, EndpointsMetadataTypedDict
from .endpointstatus import EndpointStatus
from .enumcapability import (
EnumCapability,
EnumCapabilityType,
EnumCapabilityTypedDict,
)
from .errorevent import ErrorEvent, ErrorEventType, ErrorEventTypedDict
from .filecitation import FileCitation, FileCitationType, FileCitationTypedDict
from .filedeleteresponse import (
FileDeleteResponse,
FileDeleteResponseType,
FileDeleteResponseTypedDict,
)
from .filelistresponse import FileListResponse, FileListResponseTypedDict
from .filemetadata import FileMetadata, FileMetadataType, FileMetadataTypedDict
from .fileparserplugin import (
FileParserPlugin,
FileParserPluginID,
FileParserPluginTypedDict,
)
from .filepath import FilePath, FilePathType, FilePathTypedDict
from .filesearchservertool import (
FileSearchServerTool,
FileSearchServerToolTypedDict,
FileSearchServerToolValue1,
FileSearchServerToolValue1TypedDict,
FileSearchServerToolValue2,
FileSearchServerToolValue2TypedDict,
Filters,
FiltersType,
FiltersTypedDict,
FiltersUnion,
FiltersUnionTypedDict,
Ranker,
RankingOptions,
RankingOptionsTypedDict,
TypeFileSearch,
)
from .filesservertool import (
FilesServerTool,
FilesServerToolType,
FilesServerToolTypedDict,
)
from .filesservertoolconfig import (
FilesServerToolConfig,
FilesServerToolConfigTypedDict,
)
from .forbiddenresponseerrordata import (
ForbiddenResponseErrorData,
ForbiddenResponseErrorDataTypedDict,
)
from .formatjsonobjectconfig import (
FormatJSONObjectConfig,
FormatJSONObjectConfigType,
FormatJSONObjectConfigTypedDict,
)
from .formatjsonschemaconfig import (
FormatJSONSchemaConfig,
FormatJSONSchemaConfigType,
FormatJSONSchemaConfigTypedDict,
)
from .formats import Formats, FormatsTypedDict, UnknownFormats
from .formattextconfig import (
FormatTextConfig,
FormatTextConfigType,
FormatTextConfigTypedDict,
)
from .frameimage import (
FrameImage,
FrameImageImageURL,
FrameImageImageURLTypedDict,
FrameImageType,
FrameImageTypedDict,
FrameType,
)
from .functioncallargsdeltaevent import (
FunctionCallArgsDeltaEvent,
FunctionCallArgsDeltaEventType,
FunctionCallArgsDeltaEventTypedDict,
)
from .functioncallargsdoneevent import (
FunctionCallArgsDoneEvent,
FunctionCallArgsDoneEventType,
FunctionCallArgsDoneEventTypedDict,
)
from .functioncallitem import (
FunctionCallItem,
FunctionCallItemType,
FunctionCallItemTypedDict,
)
from .functioncalloutputitem import (
FunctionCallOutputItem,
FunctionCallOutputItemDetail,
FunctionCallOutputItemOutputInputImage,
FunctionCallOutputItemOutputInputImageTypedDict,
FunctionCallOutputItemOutputUnion1,
FunctionCallOutputItemOutputUnion1TypedDict,
FunctionCallOutputItemOutputUnion2,
FunctionCallOutputItemOutputUnion2TypedDict,
FunctionCallOutputItemStatus,
FunctionCallOutputItemTypeFunctionCallOutput,
FunctionCallOutputItemTypeInputImage,
FunctionCallOutputItemTypedDict,
)
from .fusionanalysisresult import (
Contradiction,
ContradictionTypedDict,
FusionAnalysisResult,
FusionAnalysisResultTypedDict,
PartialCoverage,
PartialCoverageTypedDict,
Stance,
StanceTypedDict,
UniqueInsight,
UniqueInsightTypedDict,
)
from .fusioncallanalysiscompletedevent import (
FusionCallAnalysisCompletedEvent,
FusionCallAnalysisCompletedEventType,
FusionCallAnalysisCompletedEventTypedDict,
)
from .fusioncallanalysisinprogressevent import (
FusionCallAnalysisInProgressEvent,
FusionCallAnalysisInProgressEventType,
FusionCallAnalysisInProgressEventTypedDict,
)
from .fusioncallcompletedevent import (
FusionCallCompletedEvent,
FusionCallCompletedEventType,
FusionCallCompletedEventTypedDict,
)
from .fusioncallinprogressevent import (
FusionCallInProgressEvent,
FusionCallInProgressEventType,
FusionCallInProgressEventTypedDict,
)
from .fusioncallpaneladdedevent import (
FusionCallPanelAddedEvent,
FusionCallPanelAddedEventType,
FusionCallPanelAddedEventTypedDict,
)
from .fusioncallpanelcompletedevent import (
FusionCallPanelCompletedEvent,