From 94ba44c9333fbd4fdc1cbb0b5056851e55478574 Mon Sep 17 00:00:00 2001 From: Matt Apperson Date: Thu, 13 Nov 2025 14:21:27 -0500 Subject: [PATCH] fixes --- .speakeasy/gen.lock | 1225 +++++++++-------- .speakeasy/gen.yaml | 6 +- docs/{models => components}/activityitem.md | 0 docs/components/architecture.md | 14 + .../assistantmessage.md} | 13 +- .../assistantmessagecontent.md | 4 +- .../badgatewayresponseerrordata.md | 0 .../badrequestresponseerrordata.md | 0 docs/{models => components}/chainid.md | 0 .../chatcompletionfinishreason.md | 0 .../chaterrorerror.md} | 10 +- docs/components/chatgenerationparams.md | 29 + ...enerationparamsresponseformatjsonobject.md | 0 ...hatgenerationparamsresponseformatpython.md | 0 .../chatgenerationparamsresponseformattext.md | 0 ...chatgenerationparamsresponseformatunion.md | 35 + .../chatgenerationparamsstop.md | 0 .../chatgenerationtokenusage.md} | 15 +- docs/components/chatmessagecontentitem.md | 29 + .../components/chatmessagecontentitemaudio.md | 9 + .../chatmessagecontentitemaudioformat.md | 0 .../chatmessagecontentitemaudioinputaudio.md} | 6 +- .../chatmessagecontentitemimage.md} | 7 +- .../chatmessagecontentitemimagedetail.md | 0 .../chatmessagecontentitemtext.md | 0 .../components/chatmessagecontentitemvideo.md | 9 + docs/components/chatmessagetokenlogprob.md | 11 + docs/components/chatmessagetokenlogprobs.md | 9 + docs/components/chatmessagetoolcall.md | 10 + .../chatmessagetoolcallfunction.md | 0 docs/components/chatresponse.md | 14 + .../chatresponsechoice.md} | 10 +- .../chatstreamingchoice.md} | 9 +- .../chatstreamingmessagechunk.md} | 14 +- .../chatstreamingmessagechunkrole.md | 0 .../chatstreamingmessagetoolcall.md | 11 + .../chatstreamingmessagetoolcallfunction.md | 0 .../chatstreamingresponsechunk.md} | 5 +- .../chatstreamingresponsechunkdata.md | 15 + .../chatstreamingresponsechunkerror.md | 0 .../chatstreamoptions.md | 0 docs/{models => components}/code.md | 0 docs/{models => components}/codeenum.md | 0 docs/components/completionchoice.md | 11 + docs/components/completioncreateparams.md | 28 + ...ioncreateparamsresponseformatjsonobject.md | 0 ...pletioncreateparamsresponseformatpython.md | 0 ...ompletioncreateparamsresponseformattext.md | 0 ...mpletioncreateparamsresponseformatunion.md | 35 + .../completioncreateparamsstop.md | 0 .../completionfinishreason.md | 0 .../completionlogprobs.md | 0 .../completionresponse.md} | 17 +- .../completiontokensdetails.md | 0 .../{models => components}/completionusage.md | 0 docs/{models => components}/costdetails.md | 0 .../createchargerequest.md} | 11 +- docs/{models => components}/datacollection.md | 0 .../defaultparameters.md | 0 .../edgenetworktimeoutresponseerrordata.md | 0 docs/{models => components}/effort.md | 0 docs/{models => components}/endpointstatus.md | 0 docs/{models => components}/engine.md | 0 .../filecitation.md} | 9 +- .../filecitationtype.md | 0 .../filepath.md} | 5 +- docs/{models => components}/filepathtype.md | 0 .../forbiddenresponseerrordata.md | 0 docs/{models => components}/idfileparser.md | 0 docs/{models => components}/idmoderation.md | 0 docs/{models => components}/idweb.md | 0 docs/{models => components}/ignore.md | 4 +- .../imagegenerationstatus.md | 0 docs/components/imageurl.md | 9 + docs/{models => components}/inputmodality.md | 0 .../inputtokensdetails.md | 0 docs/{models => components}/instructtype.md | 0 .../internalserverresponseerrordata.md | 0 .../jsonschemaconfig.md | 0 .../listendpointsresponse.md | 4 +- docs/{models => components}/maxprice.md | 0 docs/components/message.md | 35 + docs/components/messagecontent.md | 17 + .../messagedeveloper.md} | 6 +- docs/{models => components}/model.md | 12 +- .../modelarchitecture.md} | 14 +- .../modelarchitectureinstructtype.md | 0 docs/{models => components}/modelgroup.md | 0 docs/components/modelscountresponse.md | 10 + .../modelscountresponsedata.md | 0 .../modelslistresponse.md} | 6 +- .../namedtoolchoice.md} | 5 +- .../namedtoolchoicefunction.md | 0 .../notfoundresponseerrordata.md | 0 docs/{models => components}/object.md | 0 docs/{models => components}/only.md | 4 +- docs/components/openairesponsesannotation.md | 23 + .../openairesponsesincludable.md | 0 .../openairesponsesincompletedetails.md | 8 + .../openairesponsesinputcontent1.md | 29 + .../openairesponsesinputcontent2.md | 4 +- .../openairesponsesinputcontent3.md | 29 + .../openairesponsesinputfunctioncall.md | 13 + ...openairesponsesinputfunctioncalloutput.md} | 19 +- .../openairesponsesinputmessage1.md | 10 + .../openairesponsesinputmessage2.md} | 10 +- .../openairesponsesinputroleassistant.md | 0 .../openairesponsesinputroledeveloper1.md | 0 .../openairesponsesinputroledeveloper2.md | 0 .../openairesponsesinputrolesystem1.md | 0 .../openairesponsesinputrolesystem2.md | 0 .../openairesponsesinputroleunion1.md | 29 + .../openairesponsesinputroleunion2.md | 23 + .../openairesponsesinputroleuser1.md | 0 .../openairesponsesinputroleuser2.md | 0 .../openairesponsesinputtypefunctioncall.md | 0 ...nairesponsesinputtypefunctioncalloutput.md | 0 .../openairesponsesinputtypemessage1.md | 0 .../openairesponsesinputtypemessage2.md | 0 .../openairesponsesinputunion.md | 4 +- docs/components/openairesponsesinputunion1.md | 41 + docs/components/openairesponsesprompt.md | 9 + .../openairesponsesreasoningconfig.md} | 12 +- .../openairesponsesreasoningeffort.md | 0 .../openairesponsesrefusalcontent.md} | 6 +- .../openairesponsesrefusalcontenttype.md | 0 .../openairesponsesresponsestatus.md | 0 .../openairesponsesservicetier.md | 0 .../openairesponsestoolchoice.md} | 6 +- .../openairesponsestoolchoiceauto.md | 0 .../openairesponsestoolchoicefunction.md | 9 + .../openairesponsestoolchoicenone.md | 0 .../openairesponsestoolchoicerequired.md | 0 .../openairesponsestoolchoicetypefunction.md | 0 ...responsestoolchoicetypewebsearchpreview.md | 0 ...stoolchoicetypewebsearchpreview20250311.md | 0 .../openairesponsestoolchoiceunion.md | 35 + .../openairesponsestruncation.md | 0 .../openresponseseasyinputmessage.md | 10 + .../openresponseseasyinputmessagecontent1.md | 29 + .../openresponseseasyinputmessagecontent2.md | 17 + ...nresponseseasyinputmessageroleassistant.md | 0 ...nresponseseasyinputmessageroledeveloper.md | 0 ...openresponseseasyinputmessagerolesystem.md | 0 .../openresponseseasyinputmessageroleunion.md | 29 + .../openresponseseasyinputmessageroleuser.md | 0 .../openresponseseasyinputmessagetype.md | 0 docs/components/openresponseserrorevent.md | 14 + .../openresponseserroreventtype.md | 0 .../openresponsesfunctioncalloutput.md} | 18 +- .../openresponsesfunctioncalloutputtype.md | 0 .../openresponsesfunctiontoolcall.md} | 20 +- .../openresponsesfunctiontoolcalltype.md | 0 .../openresponsesimagegencallcompleted.md | 13 + .../openresponsesimagegencallcompletedtype.md | 0 .../openresponsesimagegencallgenerating.md | 13 + ...openresponsesimagegencallgeneratingtype.md | 0 .../openresponsesimagegencallinprogress.md | 13 + ...openresponsesimagegencallinprogresstype.md | 0 .../openresponsesimagegencallpartialimage.md | 15 + ...enresponsesimagegencallpartialimagetype.md | 0 .../openresponsesinput.md | 4 +- docs/components/openresponsesinput1.md | 71 + .../openresponsesinputmessageitem.md | 11 + .../openresponsesinputmessageitemcontent.md | 29 + ...nresponsesinputmessageitemroledeveloper.md | 0 ...openresponsesinputmessageitemrolesystem.md | 0 .../openresponsesinputmessageitemroleunion.md | 23 + .../openresponsesinputmessageitemroleuser.md | 0 .../openresponsesinputmessageitemtype.md | 0 docs/components/openresponseslogprobs.md | 12 + .../openresponsesnonstreamingresponse.md | 28 +- ...sponsesnonstreamingresponsetoolfunction.md | 14 + ...nresponsesnonstreamingresponsetoolunion.md | 35 + .../openresponsesnonstreamingresponsetype.md | 0 docs/components/openresponsesreasoning.md | 17 + .../openresponsesreasoningconfig.md | 13 + .../openresponsesreasoningdeltaevent.md | 15 + .../openresponsesreasoningdeltaeventtype.md | 0 .../openresponsesreasoningdoneevent.md} | 10 +- .../openresponsesreasoningdoneeventtype.md | 0 .../openresponsesreasoningformat.md | 0 .../openresponsesreasoningstatuscompleted.md | 0 .../openresponsesreasoningstatusincomplete.md | 0 .../openresponsesreasoningstatusinprogress.md | 0 .../openresponsesreasoningstatusunion.md | 23 + ...responsesreasoningsummarypartaddedevent.md | 15 + ...onsesreasoningsummarypartaddedeventtype.md | 0 ...responsesreasoningsummarytextdeltaevent.md | 15 + ...onsesreasoningsummarytextdeltaeventtype.md | 0 ...nresponsesreasoningsummarytextdoneevent.md | 15 + ...ponsesreasoningsummarytextdoneeventtype.md | 0 .../openresponsesreasoningtype.md | 0 .../openresponsesrequest.md | 22 +- .../openresponsesrequesttoolfunction.md | 14 + .../openresponsesrequesttoolunion.md | 35 + .../openresponsesrequesttype.md | 0 docs/components/openresponsesresponsetext.md | 11 + .../openresponsesresponsetextverbosity.md | 0 docs/components/openresponsesstreamevent.md | 169 +++ ...enresponsesstreameventresponsecompleted.md | 4 +- ...sesstreameventresponsecontentpartadded.md} | 15 +- ...onsesstreameventresponsecontentpartdone.md | 15 + ...openresponsesstreameventresponsecreated.md | 4 +- .../openresponsesstreameventresponsefailed.md | 4 +- ...eventresponsefunctioncallargumentsdelta.md | 14 + ...eventresponsefunctioncallargumentsdone.md} | 12 +- ...nresponsesstreameventresponseincomplete.md | 4 +- ...nresponsesstreameventresponseinprogress.md | 4 +- ...onsesstreameventresponseoutputitemadded.md | 4 +- ...ponsesstreameventresponseoutputitemdone.md | 4 +- ...meventresponseoutputtextannotationadded.md | 16 + ...onsesstreameventresponseoutputtextdelta.md | 16 + ...ponsesstreameventresponseoutputtextdone.md | 16 + ...ameventresponsereasoningsummarypartdone.md | 15 + ...sponsesstreameventresponserefusaldelta.md} | 8 +- ...esponsesstreameventresponserefusaldone.md} | 8 +- .../openresponsestoplogprobs.md | 0 .../openresponsesusage.md} | 18 +- .../openresponseswebsearch20250826tool.md | 13 + ...enresponseswebsearch20250826toolfilters.md | 0 .../openresponseswebsearch20250826tooltype.md | 0 ...enresponseswebsearchpreview20250311tool.md | 12 + ...sponseswebsearchpreview20250311tooltype.md | 0 .../openresponseswebsearchpreviewtool.md} | 10 +- .../openresponseswebsearchpreviewtooltype.md | 0 .../openresponseswebsearchtool.md | 8 +- .../openresponseswebsearchtoolfilters.md | 0 .../openresponseswebsearchtooltype.md | 0 docs/{models => components}/order.md | 4 +- .../outputitemimagegenerationcall.md} | 8 +- .../outputitemimagegenerationcalltype.md | 0 .../outputmessage.md} | 11 +- docs/components/outputmessagecontent.md | 17 + .../outputmessagerole.md | 0 .../outputmessagestatuscompleted.md | 0 .../outputmessagestatusincomplete.md | 0 .../outputmessagestatusinprogress.md | 0 docs/components/outputmessagestatusunion.md | 23 + .../outputmessagetype.md | 0 docs/{models => components}/outputmodality.md | 0 .../outputtokensdetails.md | 0 docs/{models => components}/parameter.md | 0 docs/components/part1.md | 23 + docs/components/part2.md | 23 + .../payloadtoolargeresponseerrordata.md | 0 .../paymentrequiredresponseerrordata.md | 0 docs/components/pdf.md | 8 + docs/{models => components}/pdfengine.md | 0 .../perrequestlimits.md | 0 docs/components/plugin.md | 23 + docs/components/pluginfileparser.md | 10 + .../pluginmoderation.md} | 5 +- .../pluginweb.md} | 9 +- docs/{models => components}/pricing.md | 0 docs/{models => components}/prompt.md | 0 .../prompttokensdetails.md | 0 docs/{models => components}/provider.md | 14 +- docs/{models => components}/providername.md | 0 .../provideroverloadedresponseerrordata.md | 0 docs/components/publicendpoint.md | 22 + .../publicendpointquantization.md | 0 docs/{models => components}/publicpricing.md | 0 docs/{models => components}/quantization.md | 0 docs/{models => components}/reason.md | 0 .../imageurl.md => components/reasoning.md} | 6 +- .../reasoningsummarytext.md} | 8 +- .../reasoningsummarytexttype.md | 0 .../reasoningsummaryverbosity.md | 0 .../reasoningtextcontent.md} | 7 +- .../reasoningtextcontenttype.md | 0 .../requesttimeoutresponseerrordata.md | 0 .../responseformatjsonschema.md} | 7 +- docs/components/responseformattextconfig.md | 25 + .../responseformattextgrammar.md | 0 docs/components/responseinputaudio.md | 11 + .../responseinputaudioformat.md | 0 .../responseinputaudioinputaudio.md | 9 + .../responseinputaudiotype.md | 0 docs/components/responseinputfile.md | 14 + .../responseinputfiletype.md | 0 docs/components/responseinputimage.md | 12 + .../responseinputimagedetail.md | 0 .../responseinputimagetype.md | 0 docs/components/responseinputtext.md | 11 + .../responseinputtexttype.md | 0 .../responseoutputtext.md} | 12 +- .../responseoutputtexttype.md | 0 docs/components/responseserrorfield.md | 11 + .../responsesformatjsonobject.md} | 7 +- .../responsesformatjsonobjecttype.md | 0 docs/components/responsesformattext.md | 10 + .../responsesformattextjsonschemaconfig.md | 14 + ...responsesformattextjsonschemaconfigtype.md | 0 .../responsesformattexttype.md | 0 .../responsesimagegenerationcall.md} | 12 +- .../responsesimagegenerationcalltype.md | 0 docs/components/responsesoutputitem.md | 43 + .../responsesoutputitemfilesearchcall.md} | 11 +- .../responsesoutputitemfilesearchcalltype.md | 0 .../responsesoutputitemfunctioncall.md | 13 + ...esoutputitemfunctioncallstatuscompleted.md | 0 ...soutputitemfunctioncallstatusincomplete.md | 0 ...soutputitemfunctioncallstatusinprogress.md | 0 ...ponsesoutputitemfunctioncallstatusunion.md | 23 + .../responsesoutputitemfunctioncalltype.md | 0 .../responsesoutputitemreasoning.md | 15 + ...onsesoutputitemreasoningstatuscompleted.md | 0 ...nsesoutputitemreasoningstatusincomplete.md | 0 ...nsesoutputitemreasoningstatusinprogress.md | 0 ...responsesoutputitemreasoningstatusunion.md | 23 + .../responsesoutputitemreasoningtype.md | 0 docs/components/responsesoutputmessage.md | 14 + .../responsesoutputmessagecontent.md | 17 + .../responsesoutputmessagerole.md | 0 .../responsesoutputmessagestatuscompleted.md | 0 .../responsesoutputmessagestatusincomplete.md | 0 .../responsesoutputmessagestatusinprogress.md | 0 .../responsesoutputmessagestatusunion.md | 23 + .../responsesoutputmessagetype.md | 0 .../responsessearchcontextsize.md | 0 .../responseswebsearchcalloutput.md} | 9 +- .../responseswebsearchcalloutputtype.md | 0 .../responseswebsearchuserlocation.md | 14 + .../responseswebsearchuserlocationtype.md | 0 docs/components/responsetextconfig.md | 11 + .../responsetextconfigverbosity.md | 0 docs/{models => components}/security.md | 0 docs/{models => components}/servicetier.md | 0 .../serviceunavailableresponseerrordata.md | 0 docs/{models => components}/sort.md | 0 docs/{models => components}/streamoptions.md | 0 .../systemmessage.md} | 10 +- docs/components/systemmessagecontent.md | 17 + docs/{models => components}/tokenizer.md | 0 docs/{models => components}/toolcallstatus.md | 0 .../tooldefinitionjson.md} | 5 +- .../tooldefinitionjsonfunction.md | 0 docs/components/toolresponsemessage.md | 10 + .../toolresponsemessagecontent.md | 4 +- .../toomanyrequestsresponseerrordata.md | 0 docs/{models => components}/toplogprob.md | 0 .../{models => components}/topproviderinfo.md | 0 docs/{models => components}/truncation.md | 0 docs/components/type.md | 17 + .../typeresponsecompleted.md | 0 .../typeresponsecontentpartadded.md | 0 .../typeresponsecontentpartdone.md | 0 .../typeresponsecreated.md | 0 .../typeresponsefailed.md | 0 .../typeresponsefunctioncallargumentsdelta.md | 0 .../typeresponsefunctioncallargumentsdone.md | 0 .../typeresponseincomplete.md | 0 .../typeresponseinprogress.md | 0 .../typeresponseoutputitemadded.md | 0 .../typeresponseoutputitemdone.md | 0 .../typeresponseoutputtextannotationadded.md | 0 .../typeresponseoutputtextdelta.md | 0 .../typeresponseoutputtextdone.md | 0 .../typeresponsereasoningsummarypartdone.md | 0 .../typeresponserefusaldelta.md | 0 .../typeresponserefusaldone.md | 0 .../unauthorizedresponseerrordata.md | 0 .../unprocessableentityresponseerrordata.md | 0 docs/components/urlcitation.md | 12 + .../{models => components}/urlcitationtype.md | 0 docs/components/usermessage.md | 10 + .../usermessagecontent.md | 4 +- docs/components/variables.md | 29 + docs/{models => components}/videourl.md | 0 .../websearchpreviewtooluserlocation.md | 12 + .../websearchpreviewtooluserlocationtype.md | 0 .../{models => components}/websearchstatus.md | 0 docs/errors/badgatewayresponseerror.md | 8 +- docs/errors/badrequestresponseerror.md | 8 +- docs/errors/chaterror.md | 6 +- .../errors/edgenetworktimeoutresponseerror.md | 8 +- docs/errors/forbiddenresponseerror.md | 8 +- docs/errors/internalserverresponseerror.md | 8 +- docs/errors/notfoundresponseerror.md | 8 +- docs/errors/payloadtoolargeresponseerror.md | 8 +- docs/errors/paymentrequiredresponseerror.md | 2 +- .../errors/provideroverloadedresponseerror.md | 8 +- docs/errors/requesttimeoutresponseerror.md | 8 +- .../errors/serviceunavailableresponseerror.md | 8 +- docs/errors/toomanyrequestsresponseerror.md | 8 +- docs/errors/unauthorizedresponseerror.md | 8 +- .../unprocessableentityresponseerror.md | 8 +- docs/models/architecture.md | 14 - docs/models/assistantmessage.md | 13 - docs/models/chaterrorerror.md | 11 - docs/models/chatgenerationparams.md | 29 - ...chatgenerationparamsresponseformatunion.md | 35 - docs/models/chatmessagecontentitem.md | 29 - .../chatmessagecontentitemaudioinputaudio.md | 9 - docs/models/chatmessagecontentitemimage.md | 9 - docs/models/chatmessagecontentitemvideo.md | 9 - docs/models/chatmessagetokenlogprobs.md | 9 - docs/models/chatresponse.md | 14 - docs/models/chatstreamingmessagechunk.md | 12 - docs/models/chatstreamingresponsechunkdata.md | 15 - docs/models/completionchoice.md | 11 - docs/models/completioncreateparams.md | 28 - ...mpletioncreateparamsresponseformatunion.md | 35 - docs/models/completionresponse.md | 14 - docs/models/createauthkeyscoderequest.md | 12 - docs/models/createchargerequest.md | 12 - docs/models/createcoinbasechargedata.md | 11 - docs/models/createembeddingsignore.md | 17 - docs/models/createembeddingsonly.md | 17 - docs/models/createembeddingsorder.md | 17 - docs/models/createembeddingsrequest.md | 12 - docs/models/createembeddingsresponsebody.md | 14 - docs/models/createresponsesresponse.md | 17 - docs/models/encodingformat.md | 17 - .../exchangeauthcodeforapikeyrequest.md | 10 - docs/models/getgenerationdata.md | 41 - docs/models/getgenerationresponse.md | 10 - docs/models/getparametersdata.md | 11 - docs/models/getparametersrequest.md | 10 - docs/models/listendpointszdrresponse.md | 10 - docs/models/listresponse.md | 10 - docs/models/message.md | 35 - docs/models/messagecontent.md | 17 - docs/models/messagedeveloper.md | 10 - docs/models/modelarchitecture.md | 14 - docs/models/modelscountresponse.md | 10 - docs/models/namedtoolchoice.md | 9 - docs/models/openairesponsesannotation.md | 23 - .../openairesponsesincompletedetails.md | 8 - docs/models/openairesponsesinputcontent1.md | 29 - docs/models/openairesponsesinputcontent3.md | 29 - docs/models/openairesponsesinputroleunion1.md | 29 - docs/models/openairesponsesinputroleunion2.md | 23 - docs/models/openairesponsesinputunion1.md | 41 - docs/models/openairesponsesprompt.md | 9 - docs/models/openairesponsesreasoningconfig.md | 9 - docs/models/openairesponsestoolchoice.md | 8 - docs/models/openairesponsestoolchoiceunion.md | 35 - docs/models/openresponseseasyinputmessage.md | 10 - .../openresponseseasyinputmessagecontent1.md | 29 - .../openresponseseasyinputmessagecontent2.md | 17 - .../openresponseseasyinputmessageroleunion.md | 29 - .../models/openresponsesfunctioncalloutput.md | 14 - docs/models/openresponsesfunctiontoolcall.md | 15 - .../openresponsesimagegencallcompleted.md | 13 - .../openresponsesimagegencallgenerating.md | 13 - docs/models/openresponsesinput1.md | 71 - docs/models/openresponsesinputmessageitem.md | 11 - .../openresponsesinputmessageitemcontent.md | 29 - .../openresponsesinputmessageitemroleunion.md | 23 - docs/models/openresponseslogprobs.md | 12 - ...sponsesnonstreamingresponsetoolfunction.md | 14 - ...nresponsesnonstreamingresponsetoolunion.md | 35 - docs/models/openresponsesreasoning.md | 17 - docs/models/openresponsesreasoningconfig.md | 13 - .../models/openresponsesreasoningdoneevent.md | 15 - .../openresponsesreasoningstatusunion.md | 23 - ...responsesreasoningsummarypartaddedevent.md | 15 - ...responsesreasoningsummarytextdeltaevent.md | 15 - .../openresponsesrequesttoolfunction.md | 14 - docs/models/openresponsesrequesttoolunion.md | 35 - docs/models/openresponsesstreamevent.md | 169 --- ...eventresponsefunctioncallargumentsdelta.md | 14 - ...meventresponseoutputtextannotationadded.md | 16 - ...onsesstreameventresponseoutputtextdelta.md | 16 - ...ponsesstreameventresponseoutputtextdone.md | 16 - ...ameventresponsereasoningsummarypartdone.md | 15 - docs/models/openresponsesusage.md | 17 - .../openresponseswebsearch20250826tool.md | 13 - docs/models/outputitemimagegenerationcall.md | 11 - docs/models/outputmessage.md | 12 - docs/models/outputmessagecontent.md | 17 - docs/models/outputmessagestatusunion.md | 23 - docs/models/part1.md | 23 - docs/models/part2.md | 23 - docs/models/pdf.md | 8 - docs/models/plugin.md | 23 - docs/models/publicendpoint.md | 22 - docs/models/reasoningsummarytext.md | 9 - docs/models/reasoningtextcontent.md | 9 - docs/models/responseformattextconfig.md | 25 - docs/models/responseinputaudioinputaudio.md | 9 - docs/models/responseinputfile.md | 14 - docs/models/responseserrorfield.md | 11 - docs/models/responsesformatjsonobject.md | 10 - docs/models/responsesformattext.md | 10 - docs/models/responsesimagegenerationcall.md | 11 - docs/models/responsesoutputitem.md | 43 - .../models/responsesoutputitemfunctioncall.md | 13 - ...ponsesoutputitemfunctioncallstatusunion.md | 23 - docs/models/responsesoutputitemreasoning.md | 15 - ...responsesoutputitemreasoningstatusunion.md | 23 - docs/models/responsesoutputmessagecontent.md | 17 - .../responsesoutputmessagestatusunion.md | 23 - docs/models/responseswebsearchuserlocation.md | 14 - .../sendchatcompletionrequestresponse.md | 17 - docs/models/systemmessagecontent.md | 17 - docs/models/tooldefinitionjson.md | 9 - docs/models/toolresponsemessage.md | 10 - docs/models/transferintent.md | 9 - docs/models/type.md | 17 - docs/models/urlcitation.md | 12 - docs/models/variables.md | 29 - docs/models/web3data.md | 8 - docs/{models => operations}/apitype.md | 0 docs/{models => operations}/calldata.md | 0 .../createauthkeyscodecodechallengemethod.md | 0 .../createauthkeyscodedata.md | 0 docs/operations/createauthkeyscoderequest.md | 12 + .../createauthkeyscoderesponse.md | 2 +- .../createcoinbasechargedata.md} | 9 +- .../createcoinbasechargeresponse.md | 10 + .../createcoinbasechargesecurity.md | 0 docs/operations/createembeddingsdata.md | 10 + .../createembeddingsprovider.md | 14 +- .../createembeddingsrequest.md} | 11 +- .../createembeddingsresponse.md | 4 +- .../createembeddingsresponsebody.md} | 14 +- docs/{models => operations}/createkeysdata.md | 0 .../createkeyslimitreset.md | 0 .../createkeysrequest.md | 2 +- .../createkeysresponse.md | 2 +- docs/operations/createresponsesresponse.md | 17 + .../createresponsesresponsebody.md | 2 +- .../datacollection.md} | 2 +- .../deletekeysrequest.md | 0 .../deletekeysresponse.md | 0 docs/{models => operations}/embedding.md | 0 docs/operations/encodingformat.md | 17 + .../encodingformatbase64.md | 0 .../encodingformatfloat.md | 0 ...ngeauthcodeforapikeycodechallengemethod.md | 0 .../exchangeauthcodeforapikeyrequest.md | 10 + .../exchangeauthcodeforapikeyresponse.md | 0 .../getcreditsresponse.md | 0 .../getcurrentkeydata.md | 2 +- .../getcurrentkeyresponse.md | 2 +- docs/operations/getgenerationdata.md | 41 + .../getgenerationrequest.md | 0 docs/operations/getgenerationresponse.md | 10 + docs/{models => operations}/getkeydata.md | 0 docs/{models => operations}/getkeyrequest.md | 0 docs/{models => operations}/getkeyresponse.md | 2 +- .../getmodelsrequest.md | 0 docs/operations/getparametersdata.md | 11 + .../getparametersprovider.md | 0 docs/operations/getparametersrequest.md | 10 + .../getparametersresponse.md | 2 +- .../getparameterssecurity.md | 0 .../getuseractivityrequest.md | 0 docs/operations/getuseractivityresponse.md | 10 + docs/operations/ignore.md | 17 + docs/{models => operations}/input.md | 0 docs/{models => operations}/listdata.md | 0 .../listendpointsrequest.md | 0 .../listendpointsresponse.md} | 4 +- .../listendpointszdrresponse.md} | 7 +- .../listmodelsusersecurity.md | 0 .../listprovidersdata.md | 0 .../listprovidersresponse.md} | 6 +- docs/{models => operations}/listrequest.md | 0 .../listresponse.md} | 6 +- .../maxprice.md} | 2 +- docs/{models => operations}/metadata.md | 0 .../object.md} | 2 +- .../{models => operations}/objectembedding.md | 0 docs/operations/only.md | 17 + docs/operations/order.md | 17 + docs/{models => operations}/ratelimit.md | 0 .../sendchatcompletionrequestresponse.md | 17 + .../sort.md} | 2 +- .../supportedparameter.md | 0 docs/operations/transferintent.md | 9 + docs/{models => operations}/updatekeysdata.md | 0 .../updatekeyslimitreset.md | 0 .../updatekeysrequest.md | 2 +- .../updatekeysrequestbody.md | 2 +- .../updatekeysresponse.md | 2 +- docs/{models => operations}/usage.md | 0 docs/operations/web3data.md | 8 + docs/sdks/analytics/README.md | 2 +- docs/sdks/apikeys/README.md | 16 +- docs/sdks/chat/README.md | 52 +- docs/sdks/completions/README.md | 50 +- docs/sdks/credits/README.md | 22 +- docs/sdks/embeddings/README.md | 20 +- docs/sdks/endpoints/README.md | 4 +- docs/sdks/generations/README.md | 2 +- docs/sdks/models/README.md | 18 +- docs/sdks/oauth/README.md | 32 +- docs/sdks/parameters/README.md | 20 +- docs/sdks/providers/README.md | 2 +- docs/sdks/responses/README.md | 24 +- pyproject.toml | 2 +- src/openrouter/_version.py | 4 +- src/openrouter/analytics.py | 18 +- src/openrouter/api_keys.py | 114 +- src/openrouter/basesdk.py | 4 +- src/openrouter/chat.py | 182 +-- src/openrouter/completions.py | 67 +- .../{models => components}/__init__.py | 453 ------ .../{models => components}/activityitem.py | 0 .../assistantmessage.py | 0 .../badgatewayresponseerrordata.py | 0 .../badrequestresponseerrordata.py | 0 .../chatcompletionfinishreason.py | 0 .../{models => components}/chaterror.py | 0 .../chatgenerationparams.py | 0 .../chatgenerationtokenusage.py | 0 .../chatmessagecontentitem.py | 0 .../chatmessagecontentitemaudio.py | 0 .../chatmessagecontentitemimage.py | 0 .../chatmessagecontentitemtext.py | 0 .../chatmessagecontentitemvideo.py | 0 .../chatmessagetokenlogprob.py | 0 .../chatmessagetokenlogprobs.py | 0 .../chatmessagetoolcall.py | 0 .../{models => components}/chatresponse.py | 0 .../chatresponsechoice.py | 0 .../chatstreamingchoice.py | 0 .../chatstreamingmessagechunk.py | 0 .../chatstreamingmessagetoolcall.py | 0 .../chatstreamingresponsechunk.py | 0 .../chatstreamoptions.py | 0 .../completionchoice.py | 0 .../completioncreateparams.py | 0 .../completionlogprobs.py | 0 .../completionresponse.py | 0 .../{models => components}/completionusage.py | 0 .../createchargerequest.py | 0 .../defaultparameters.py | 0 .../edgenetworktimeoutresponseerrordata.py | 0 .../{models => components}/endpointstatus.py | 0 .../{models => components}/filecitation.py | 0 .../{models => components}/filepath.py | 0 .../forbiddenresponseerrordata.py | 0 .../imagegenerationstatus.py | 0 .../{models => components}/inputmodality.py | 0 .../{models => components}/instructtype.py | 0 .../internalserverresponseerrordata.py | 0 .../jsonschemaconfig.py | 0 .../listendpointsresponse.py | 0 .../{models => components}/message.py | 0 .../{models => components}/model.py | 0 .../modelarchitecture.py | 0 .../{models => components}/modelgroup.py | 0 .../modelscountresponse.py | 0 .../modelslistresponse.py | 0 .../{models => components}/namedtoolchoice.py | 0 .../notfoundresponseerrordata.py | 0 .../openairesponsesannotation.py | 0 .../openairesponsesincludable.py | 0 .../openairesponsesincompletedetails.py | 0 .../openairesponsesinput_union.py | 0 .../openairesponsesprompt.py | 0 .../openairesponsesreasoningconfig.py | 0 .../openairesponsesreasoningeffort.py | 0 .../openairesponsesrefusalcontent.py | 0 .../openairesponsesresponsestatus.py | 0 .../openairesponsesservicetier.py | 0 .../openairesponsestoolchoice_union.py | 0 .../openairesponsestruncation.py | 0 .../openresponseseasyinputmessage.py | 0 .../openresponseserrorevent.py | 0 .../openresponsesfunctioncalloutput.py | 0 .../openresponsesfunctiontoolcall.py | 0 .../openresponsesimagegencallcompleted.py | 0 .../openresponsesimagegencallgenerating.py | 0 .../openresponsesimagegencallinprogress.py | 0 .../openresponsesimagegencallpartialimage.py | 0 .../openresponsesinput.py | 0 .../openresponsesinputmessageitem.py | 0 .../openresponseslogprobs.py | 0 .../openresponsesnonstreamingresponse.py | 0 .../openresponsesreasoning.py | 0 .../openresponsesreasoningconfig.py | 0 .../openresponsesreasoningdeltaevent.py | 0 .../openresponsesreasoningdoneevent.py | 0 ...responsesreasoningsummarypartaddedevent.py | 0 ...responsesreasoningsummarytextdeltaevent.py | 0 ...nresponsesreasoningsummarytextdoneevent.py | 0 .../openresponsesrequest.py | 0 .../openresponsesresponsetext.py | 0 .../openresponsesstreamevent.py | 0 .../openresponsestoplogprobs.py | 0 .../openresponsesusage.py | 0 .../openresponseswebsearch20250826tool.py | 0 ...enresponseswebsearchpreview20250311tool.py | 0 .../openresponseswebsearchpreviewtool.py | 0 .../openresponseswebsearchtool.py | 0 .../outputitemimagegenerationcall.py | 0 .../{models => components}/outputmessage.py | 0 .../{models => components}/outputmodality.py | 0 .../{models => components}/parameter.py | 0 .../payloadtoolargeresponseerrordata.py | 0 .../paymentrequiredresponseerrordata.py | 0 .../perrequestlimits.py | 0 .../{models => components}/providername.py | 0 .../provideroverloadedresponseerrordata.py | 0 .../{models => components}/publicendpoint.py | 0 .../{models => components}/publicpricing.py | 0 .../{models => components}/quantization.py | 0 .../reasoningsummarytext.py | 0 .../reasoningsummaryverbosity.py | 0 .../reasoningtextcontent.py | 0 .../requesttimeoutresponseerrordata.py | 0 .../responseformatjsonschema.py | 0 .../responseformattextconfig.py | 0 .../responseformattextgrammar.py | 0 .../responseinputaudio.py | 0 .../responseinputfile.py | 0 .../responseinputimage.py | 0 .../responseinputtext.py | 0 .../responseoutputtext.py | 0 .../responseserrorfield.py | 0 .../responsesformatjsonobject.py | 0 .../responsesformattext.py | 0 .../responsesformattextjsonschemaconfig.py | 0 .../responsesimagegenerationcall.py | 0 .../responsesoutputitem.py | 0 .../responsesoutputitemfilesearchcall.py | 0 .../responsesoutputitemfunctioncall.py | 0 .../responsesoutputitemreasoning.py | 0 .../responsesoutputmessage.py | 0 .../responsessearchcontextsize.py | 0 .../responseswebsearchcalloutput.py | 0 .../responseswebsearchuserlocation.py | 0 .../responsetextconfig.py | 0 .../{models => components}/security.py | 0 .../serviceunavailableresponseerrordata.py | 0 .../{models => components}/systemmessage.py | 0 .../{models => components}/toolcallstatus.py | 0 .../tooldefinitionjson.py | 0 .../toolresponsemessage.py | 0 .../toomanyrequestsresponseerrordata.py | 0 .../{models => components}/topproviderinfo.py | 0 .../unauthorizedresponseerrordata.py | 0 .../unprocessableentityresponseerrordata.py | 0 .../{models => components}/urlcitation.py | 0 .../{models => components}/usermessage.py | 0 .../websearchpreviewtooluserlocation.py | 0 .../{models => components}/websearchstatus.py | 0 src/openrouter/credits.py | 50 +- src/openrouter/embeddings.py | 54 +- src/openrouter/endpoints.py | 38 +- .../errors/badgatewayresponse_error.py | 8 +- .../errors/badrequestresponse_error.py | 8 +- src/openrouter/errors/chaterror.py | 4 +- .../edgenetworktimeoutresponse_error.py | 10 +- .../errors/forbiddenresponse_error.py | 8 +- .../errors/internalserverresponse_error.py | 8 +- .../errors/notfoundresponse_error.py | 8 +- .../errors/payloadtoolargeresponse_error.py | 8 +- .../errors/paymentrequiredresponse_error.py | 8 +- .../provideroverloadedresponse_error.py | 10 +- .../errors/requesttimeoutresponse_error.py | 8 +- .../serviceunavailableresponse_error.py | 10 +- .../errors/toomanyrequestsresponse_error.py | 8 +- .../errors/unauthorizedresponse_error.py | 8 +- .../unprocessableentityresponse_error.py | 10 +- src/openrouter/generations.py | 18 +- src/openrouter/models/createresponsesop.py | 53 - .../models/sendchatcompletionrequestop.py | 35 - src/openrouter/models_.py | 59 +- src/openrouter/oauth.py | 62 +- src/openrouter/operations/__init__.py | 502 +++++++ .../createauthkeyscode.py} | 0 .../createcoinbasecharge.py} | 0 .../createembeddings.py} | 103 +- .../createkeys.py} | 0 src/openrouter/operations/createresponses.py | 57 + .../deletekeys.py} | 0 .../exchangeauthcodeforapikey.py} | 0 .../getcredits.py} | 0 .../getcurrentkey.py} | 0 .../getgeneration.py} | 0 .../getkeyop.py => operations/getkey.py} | 0 .../getmodels.py} | 0 .../getparameters.py} | 0 .../getuseractivity.py} | 6 +- .../{models/listop.py => operations/list.py} | 0 .../listendpoints.py} | 12 +- .../listendpointszdr.py} | 6 +- .../listmodelsuser.py} | 0 .../listproviders.py} | 0 .../operations/sendchatcompletionrequest.py | 42 + .../updatekeys.py} | 0 src/openrouter/parameters.py | 37 +- src/openrouter/providers.py | 14 +- src/openrouter/responses.py | 272 ++-- src/openrouter/sdk.py | 6 +- src/openrouter/sdkconfiguration.py | 6 +- .../utils/oauth_create_authorization_url.py | 6 +- uv.lock | 535 +++++++ 795 files changed, 5179 insertions(+), 4513 deletions(-) rename docs/{models => components}/activityitem.md (100%) create mode 100644 docs/components/architecture.md rename docs/{models/websearchpreviewtooluserlocation.md => components/assistantmessage.md} (67%) rename docs/{models => components}/assistantmessagecontent.md (51%) rename docs/{models => components}/badgatewayresponseerrordata.md (100%) rename docs/{models => components}/badrequestresponseerrordata.md (100%) rename docs/{models => components}/chainid.md (100%) rename docs/{models => components}/chatcompletionfinishreason.md (100%) rename docs/{models/chatmessagetokenlogprob.md => components/chaterrorerror.md} (64%) create mode 100644 docs/components/chatgenerationparams.md rename docs/{models => components}/chatgenerationparamsresponseformatjsonobject.md (100%) rename docs/{models => components}/chatgenerationparamsresponseformatpython.md (100%) rename docs/{models => components}/chatgenerationparamsresponseformattext.md (100%) create mode 100644 docs/components/chatgenerationparamsresponseformatunion.md rename docs/{models => components}/chatgenerationparamsstop.md (100%) rename docs/{models/openresponsesreasoningdeltaevent.md => components/chatgenerationtokenusage.md} (63%) create mode 100644 docs/components/chatmessagecontentitem.md create mode 100644 docs/components/chatmessagecontentitemaudio.md rename docs/{models => components}/chatmessagecontentitemaudioformat.md (100%) rename docs/{models/chatmessagecontentitemaudio.md => components/chatmessagecontentitemaudioinputaudio.md} (74%) rename docs/{models/pluginfileparser.md => components/chatmessagecontentitemimage.md} (54%) rename docs/{models => components}/chatmessagecontentitemimagedetail.md (100%) rename docs/{models => components}/chatmessagecontentitemtext.md (100%) create mode 100644 docs/components/chatmessagecontentitemvideo.md create mode 100644 docs/components/chatmessagetokenlogprob.md create mode 100644 docs/components/chatmessagetokenlogprobs.md create mode 100644 docs/components/chatmessagetoolcall.md rename docs/{models => components}/chatmessagetoolcallfunction.md (100%) create mode 100644 docs/components/chatresponse.md rename docs/{models/openairesponsesinputmessage2.md => components/chatresponsechoice.md} (65%) rename docs/{models/openairesponsesinputmessage1.md => components/chatstreamingchoice.md} (56%) rename docs/{models/responsesoutputmessage.md => components/chatstreamingmessagechunk.md} (61%) rename docs/{models => components}/chatstreamingmessagechunkrole.md (100%) create mode 100644 docs/components/chatstreamingmessagetoolcall.md rename docs/{models => components}/chatstreamingmessagetoolcallfunction.md (100%) rename docs/{models/reasoning.md => components/chatstreamingresponsechunk.md} (58%) create mode 100644 docs/components/chatstreamingresponsechunkdata.md rename docs/{models => components}/chatstreamingresponsechunkerror.md (100%) rename docs/{models => components}/chatstreamoptions.md (100%) rename docs/{models => components}/code.md (100%) rename docs/{models => components}/codeenum.md (100%) create mode 100644 docs/components/completionchoice.md create mode 100644 docs/components/completioncreateparams.md rename docs/{models => components}/completioncreateparamsresponseformatjsonobject.md (100%) rename docs/{models => components}/completioncreateparamsresponseformatpython.md (100%) rename docs/{models => components}/completioncreateparamsresponseformattext.md (100%) create mode 100644 docs/components/completioncreateparamsresponseformatunion.md rename docs/{models => components}/completioncreateparamsstop.md (100%) rename docs/{models => components}/completionfinishreason.md (100%) rename docs/{models => components}/completionlogprobs.md (100%) rename docs/{models/openresponsesstreameventresponserefusaldelta.md => components/completionresponse.md} (62%) rename docs/{models => components}/completiontokensdetails.md (100%) rename docs/{models => components}/completionusage.md (100%) rename docs/{models => components}/costdetails.md (100%) rename docs/{models/pluginweb.md => components/createchargerequest.md} (50%) rename docs/{models => components}/datacollection.md (100%) rename docs/{models => components}/defaultparameters.md (100%) rename docs/{models => components}/edgenetworktimeoutresponseerrordata.md (100%) rename docs/{models => components}/effort.md (100%) rename docs/{models => components}/endpointstatus.md (100%) rename docs/{models => components}/engine.md (100%) rename docs/{models/systemmessage.md => components/filecitation.md} (51%) rename docs/{models => components}/filecitationtype.md (100%) rename docs/{models/filecitation.md => components/filepath.md} (73%) rename docs/{models => components}/filepathtype.md (100%) rename docs/{models => components}/forbiddenresponseerrordata.md (100%) rename docs/{models => components}/idfileparser.md (100%) rename docs/{models => components}/idmoderation.md (100%) rename docs/{models => components}/idweb.md (100%) rename docs/{models => components}/ignore.md (56%) rename docs/{models => components}/imagegenerationstatus.md (100%) create mode 100644 docs/components/imageurl.md rename docs/{models => components}/inputmodality.md (100%) rename docs/{models => components}/inputtokensdetails.md (100%) rename docs/{models => components}/instructtype.md (100%) rename docs/{models => components}/internalserverresponseerrordata.md (100%) rename docs/{models => components}/jsonschemaconfig.md (100%) rename docs/{models => components}/listendpointsresponse.md (95%) rename docs/{models => components}/maxprice.md (100%) create mode 100644 docs/components/message.md create mode 100644 docs/components/messagecontent.md rename docs/{models/usermessage.md => components/messagedeveloper.md} (88%) rename docs/{models => components}/model.md (93%) rename docs/{models/openairesponsesinputfunctioncalloutput.md => components/modelarchitecture.md} (56%) rename docs/{models => components}/modelarchitectureinstructtype.md (100%) rename docs/{models => components}/modelgroup.md (100%) create mode 100644 docs/components/modelscountresponse.md rename docs/{models => components}/modelscountresponsedata.md (100%) rename docs/{models/pluginmoderation.md => components/modelslistresponse.md} (64%) rename docs/{models/chatmessagetoolcall.md => components/namedtoolchoice.md} (71%) rename docs/{models => components}/namedtoolchoicefunction.md (100%) rename docs/{models => components}/notfoundresponseerrordata.md (100%) rename docs/{models => components}/object.md (100%) rename docs/{models => components}/only.md (55%) create mode 100644 docs/components/openairesponsesannotation.md rename docs/{models => components}/openairesponsesincludable.md (100%) create mode 100644 docs/components/openairesponsesincompletedetails.md create mode 100644 docs/components/openairesponsesinputcontent1.md rename docs/{models => components}/openairesponsesinputcontent2.md (50%) create mode 100644 docs/components/openairesponsesinputcontent3.md create mode 100644 docs/components/openairesponsesinputfunctioncall.md rename docs/{models/openresponsesreasoningsummarytextdoneevent.md => components/openairesponsesinputfunctioncalloutput.md} (57%) create mode 100644 docs/components/openairesponsesinputmessage1.md rename docs/{models/chatstreamingmessagetoolcall.md => components/openairesponsesinputmessage2.md} (70%) rename docs/{models => components}/openairesponsesinputroleassistant.md (100%) rename docs/{models => components}/openairesponsesinputroledeveloper1.md (100%) rename docs/{models => components}/openairesponsesinputroledeveloper2.md (100%) rename docs/{models => components}/openairesponsesinputrolesystem1.md (100%) rename docs/{models => components}/openairesponsesinputrolesystem2.md (100%) create mode 100644 docs/components/openairesponsesinputroleunion1.md create mode 100644 docs/components/openairesponsesinputroleunion2.md rename docs/{models => components}/openairesponsesinputroleuser1.md (100%) rename docs/{models => components}/openairesponsesinputroleuser2.md (100%) rename docs/{models => components}/openairesponsesinputtypefunctioncall.md (100%) rename docs/{models => components}/openairesponsesinputtypefunctioncalloutput.md (100%) rename docs/{models => components}/openairesponsesinputtypemessage1.md (100%) rename docs/{models => components}/openairesponsesinputtypemessage2.md (100%) rename docs/{models => components}/openairesponsesinputunion.md (59%) create mode 100644 docs/components/openairesponsesinputunion1.md create mode 100644 docs/components/openairesponsesprompt.md rename docs/{models/openresponsesresponsetext.md => components/openairesponsesreasoningconfig.md} (54%) rename docs/{models => components}/openairesponsesreasoningeffort.md (100%) rename docs/{models/openairesponsestoolchoicefunction.md => components/openairesponsesrefusalcontent.md} (82%) rename docs/{models => components}/openairesponsesrefusalcontenttype.md (100%) rename docs/{models => components}/openairesponsesresponsestatus.md (100%) rename docs/{models => components}/openairesponsesservicetier.md (100%) rename docs/{models/modelslistresponse.md => components/openairesponsestoolchoice.md} (62%) rename docs/{models => components}/openairesponsestoolchoiceauto.md (100%) create mode 100644 docs/components/openairesponsestoolchoicefunction.md rename docs/{models => components}/openairesponsestoolchoicenone.md (100%) rename docs/{models => components}/openairesponsestoolchoicerequired.md (100%) rename docs/{models => components}/openairesponsestoolchoicetypefunction.md (100%) rename docs/{models => components}/openairesponsestoolchoicetypewebsearchpreview.md (100%) rename docs/{models => components}/openairesponsestoolchoicetypewebsearchpreview20250311.md (100%) create mode 100644 docs/components/openairesponsestoolchoiceunion.md rename docs/{models => components}/openairesponsestruncation.md (100%) create mode 100644 docs/components/openresponseseasyinputmessage.md create mode 100644 docs/components/openresponseseasyinputmessagecontent1.md create mode 100644 docs/components/openresponseseasyinputmessagecontent2.md rename docs/{models => components}/openresponseseasyinputmessageroleassistant.md (100%) rename docs/{models => components}/openresponseseasyinputmessageroledeveloper.md (100%) rename docs/{models => components}/openresponseseasyinputmessagerolesystem.md (100%) create mode 100644 docs/components/openresponseseasyinputmessageroleunion.md rename docs/{models => components}/openresponseseasyinputmessageroleuser.md (100%) rename docs/{models => components}/openresponseseasyinputmessagetype.md (100%) create mode 100644 docs/components/openresponseserrorevent.md rename docs/{models => components}/openresponseserroreventtype.md (100%) rename docs/{models/responsesformattextjsonschemaconfig.md => components/openresponsesfunctioncalloutput.md} (51%) rename docs/{models => components}/openresponsesfunctioncalloutputtype.md (100%) rename docs/{models/openresponsesstreameventresponsefunctioncallargumentsdone.md => components/openresponsesfunctiontoolcall.md} (59%) rename docs/{models => components}/openresponsesfunctiontoolcalltype.md (100%) create mode 100644 docs/components/openresponsesimagegencallcompleted.md rename docs/{models => components}/openresponsesimagegencallcompletedtype.md (100%) create mode 100644 docs/components/openresponsesimagegencallgenerating.md rename docs/{models => components}/openresponsesimagegencallgeneratingtype.md (100%) create mode 100644 docs/components/openresponsesimagegencallinprogress.md rename docs/{models => components}/openresponsesimagegencallinprogresstype.md (100%) create mode 100644 docs/components/openresponsesimagegencallpartialimage.md rename docs/{models => components}/openresponsesimagegencallpartialimagetype.md (100%) rename docs/{models => components}/openresponsesinput.md (62%) create mode 100644 docs/components/openresponsesinput1.md create mode 100644 docs/components/openresponsesinputmessageitem.md create mode 100644 docs/components/openresponsesinputmessageitemcontent.md rename docs/{models => components}/openresponsesinputmessageitemroledeveloper.md (100%) rename docs/{models => components}/openresponsesinputmessageitemrolesystem.md (100%) create mode 100644 docs/components/openresponsesinputmessageitemroleunion.md rename docs/{models => components}/openresponsesinputmessageitemroleuser.md (100%) rename docs/{models => components}/openresponsesinputmessageitemtype.md (100%) create mode 100644 docs/components/openresponseslogprobs.md rename docs/{models => components}/openresponsesnonstreamingresponse.md (96%) create mode 100644 docs/components/openresponsesnonstreamingresponsetoolfunction.md create mode 100644 docs/components/openresponsesnonstreamingresponsetoolunion.md rename docs/{models => components}/openresponsesnonstreamingresponsetype.md (100%) create mode 100644 docs/components/openresponsesreasoning.md create mode 100644 docs/components/openresponsesreasoningconfig.md create mode 100644 docs/components/openresponsesreasoningdeltaevent.md rename docs/{models => components}/openresponsesreasoningdeltaeventtype.md (100%) rename docs/{models/openresponsesimagegencallinprogress.md => components/openresponsesreasoningdoneevent.md} (67%) rename docs/{models => components}/openresponsesreasoningdoneeventtype.md (100%) rename docs/{models => components}/openresponsesreasoningformat.md (100%) rename docs/{models => components}/openresponsesreasoningstatuscompleted.md (100%) rename docs/{models => components}/openresponsesreasoningstatusincomplete.md (100%) rename docs/{models => components}/openresponsesreasoningstatusinprogress.md (100%) create mode 100644 docs/components/openresponsesreasoningstatusunion.md create mode 100644 docs/components/openresponsesreasoningsummarypartaddedevent.md rename docs/{models => components}/openresponsesreasoningsummarypartaddedeventtype.md (100%) create mode 100644 docs/components/openresponsesreasoningsummarytextdeltaevent.md rename docs/{models => components}/openresponsesreasoningsummarytextdeltaeventtype.md (100%) create mode 100644 docs/components/openresponsesreasoningsummarytextdoneevent.md rename docs/{models => components}/openresponsesreasoningsummarytextdoneeventtype.md (100%) rename docs/{models => components}/openresponsesreasoningtype.md (100%) rename docs/{models => components}/openresponsesrequest.md (95%) create mode 100644 docs/components/openresponsesrequesttoolfunction.md create mode 100644 docs/components/openresponsesrequesttoolunion.md rename docs/{models => components}/openresponsesrequesttype.md (100%) create mode 100644 docs/components/openresponsesresponsetext.md rename docs/{models => components}/openresponsesresponsetextverbosity.md (100%) create mode 100644 docs/components/openresponsesstreamevent.md rename docs/{models => components}/openresponsesstreameventresponsecompleted.md (98%) rename docs/{models/chatgenerationtokenusage.md => components/openresponsesstreameventresponsecontentpartadded.md} (61%) create mode 100644 docs/components/openresponsesstreameventresponsecontentpartdone.md rename docs/{models => components}/openresponsesstreameventresponsecreated.md (98%) rename docs/{models => components}/openresponsesstreameventresponsefailed.md (98%) create mode 100644 docs/components/openresponsesstreameventresponsefunctioncallargumentsdelta.md rename docs/{models/openresponsesimagegencallpartialimage.md => components/openresponsesstreameventresponsefunctioncallargumentsdone.md} (86%) rename docs/{models => components}/openresponsesstreameventresponseincomplete.md (98%) rename docs/{models => components}/openresponsesstreameventresponseinprogress.md (98%) rename docs/{models => components}/openresponsesstreameventresponseoutputitemadded.md (94%) rename docs/{models => components}/openresponsesstreameventresponseoutputitemdone.md (94%) create mode 100644 docs/components/openresponsesstreameventresponseoutputtextannotationadded.md create mode 100644 docs/components/openresponsesstreameventresponseoutputtextdelta.md create mode 100644 docs/components/openresponsesstreameventresponseoutputtextdone.md create mode 100644 docs/components/openresponsesstreameventresponsereasoningsummarypartdone.md rename docs/{models/openresponsesstreameventresponsecontentpartadded.md => components/openresponsesstreameventresponserefusaldelta.md} (86%) rename docs/{models/openresponsesstreameventresponsecontentpartdone.md => components/openresponsesstreameventresponserefusaldone.md} (87%) rename docs/{models => components}/openresponsestoplogprobs.md (100%) rename docs/{models/openresponsesstreameventresponserefusaldone.md => components/openresponsesusage.md} (52%) create mode 100644 docs/components/openresponseswebsearch20250826tool.md rename docs/{models => components}/openresponseswebsearch20250826toolfilters.md (100%) rename docs/{models => components}/openresponseswebsearch20250826tooltype.md (100%) create mode 100644 docs/components/openresponseswebsearchpreview20250311tool.md rename docs/{models => components}/openresponseswebsearchpreview20250311tooltype.md (100%) rename docs/{models/openresponseswebsearchpreview20250311tool.md => components/openresponseswebsearchpreviewtool.md} (81%) rename docs/{models => components}/openresponseswebsearchpreviewtooltype.md (100%) rename docs/{models => components}/openresponseswebsearchtool.md (87%) rename docs/{models => components}/openresponseswebsearchtoolfilters.md (100%) rename docs/{models => components}/openresponseswebsearchtooltype.md (100%) rename docs/{models => components}/order.md (55%) rename docs/{models/responsesoutputitemfilesearchcall.md => components/outputitemimagegenerationcall.md} (84%) rename docs/{models => components}/outputitemimagegenerationcalltype.md (100%) rename docs/{models/chatstreamingchoice.md => components/outputmessage.md} (58%) create mode 100644 docs/components/outputmessagecontent.md rename docs/{models => components}/outputmessagerole.md (100%) rename docs/{models => components}/outputmessagestatuscompleted.md (100%) rename docs/{models => components}/outputmessagestatusincomplete.md (100%) rename docs/{models => components}/outputmessagestatusinprogress.md (100%) create mode 100644 docs/components/outputmessagestatusunion.md rename docs/{models => components}/outputmessagetype.md (100%) rename docs/{models => components}/outputmodality.md (100%) rename docs/{models => components}/outputtokensdetails.md (100%) rename docs/{models => components}/parameter.md (100%) create mode 100644 docs/components/part1.md create mode 100644 docs/components/part2.md rename docs/{models => components}/payloadtoolargeresponseerrordata.md (100%) rename docs/{models => components}/paymentrequiredresponseerrordata.md (100%) create mode 100644 docs/components/pdf.md rename docs/{models => components}/pdfengine.md (100%) rename docs/{models => components}/perrequestlimits.md (100%) create mode 100644 docs/components/plugin.md create mode 100644 docs/components/pluginfileparser.md rename docs/{models/responseformatjsonschema.md => components/pluginmoderation.md} (60%) rename docs/{models/createembeddingsdata.md => components/pluginweb.md} (55%) rename docs/{models => components}/pricing.md (100%) rename docs/{models => components}/prompt.md (100%) rename docs/{models => components}/prompttokensdetails.md (100%) rename docs/{models => components}/provider.md (95%) rename docs/{models => components}/providername.md (100%) rename docs/{models => components}/provideroverloadedresponseerrordata.md (100%) create mode 100644 docs/components/publicendpoint.md rename docs/{models => components}/publicendpointquantization.md (100%) rename docs/{models => components}/publicpricing.md (100%) rename docs/{models => components}/quantization.md (100%) rename docs/{models => components}/reason.md (100%) rename docs/{models/imageurl.md => components/reasoning.md} (68%) rename docs/{models/responseinputaudio.md => components/reasoningsummarytext.md} (73%) rename docs/{models => components}/reasoningsummarytexttype.md (100%) rename docs/{models => components}/reasoningsummaryverbosity.md (100%) rename docs/{models/responseoutputtext.md => components/reasoningtextcontent.md} (71%) rename docs/{models => components}/reasoningtextcontenttype.md (100%) rename docs/{models => components}/requesttimeoutresponseerrordata.md (100%) rename docs/{models/listprovidersresponse.md => components/responseformatjsonschema.md} (56%) create mode 100644 docs/components/responseformattextconfig.md rename docs/{models => components}/responseformattextgrammar.md (100%) create mode 100644 docs/components/responseinputaudio.md rename docs/{models => components}/responseinputaudioformat.md (100%) create mode 100644 docs/components/responseinputaudioinputaudio.md rename docs/{models => components}/responseinputaudiotype.md (100%) create mode 100644 docs/components/responseinputfile.md rename docs/{models => components}/responseinputfiletype.md (100%) create mode 100644 docs/components/responseinputimage.md rename docs/{models => components}/responseinputimagedetail.md (100%) rename docs/{models => components}/responseinputimagetype.md (100%) create mode 100644 docs/components/responseinputtext.md rename docs/{models => components}/responseinputtexttype.md (100%) rename docs/{models/responseswebsearchcalloutput.md => components/responseoutputtext.md} (50%) rename docs/{models => components}/responseoutputtexttype.md (100%) create mode 100644 docs/components/responseserrorfield.md rename docs/{models/openairesponsesrefusalcontent.md => components/responsesformatjsonobject.md} (65%) rename docs/{models => components}/responsesformatjsonobjecttype.md (100%) create mode 100644 docs/components/responsesformattext.md create mode 100644 docs/components/responsesformattextjsonschemaconfig.md rename docs/{models => components}/responsesformattextjsonschemaconfigtype.md (100%) rename docs/{models => components}/responsesformattexttype.md (100%) rename docs/{models/openairesponsesinputfunctioncall.md => components/responsesimagegenerationcall.md} (63%) rename docs/{models => components}/responsesimagegenerationcalltype.md (100%) create mode 100644 docs/components/responsesoutputitem.md rename docs/{models/openresponseswebsearchpreviewtool.md => components/responsesoutputitemfilesearchcall.md} (57%) rename docs/{models => components}/responsesoutputitemfilesearchcalltype.md (100%) create mode 100644 docs/components/responsesoutputitemfunctioncall.md rename docs/{models => components}/responsesoutputitemfunctioncallstatuscompleted.md (100%) rename docs/{models => components}/responsesoutputitemfunctioncallstatusincomplete.md (100%) rename docs/{models => components}/responsesoutputitemfunctioncallstatusinprogress.md (100%) create mode 100644 docs/components/responsesoutputitemfunctioncallstatusunion.md rename docs/{models => components}/responsesoutputitemfunctioncalltype.md (100%) create mode 100644 docs/components/responsesoutputitemreasoning.md rename docs/{models => components}/responsesoutputitemreasoningstatuscompleted.md (100%) rename docs/{models => components}/responsesoutputitemreasoningstatusincomplete.md (100%) rename docs/{models => components}/responsesoutputitemreasoningstatusinprogress.md (100%) create mode 100644 docs/components/responsesoutputitemreasoningstatusunion.md rename docs/{models => components}/responsesoutputitemreasoningtype.md (100%) create mode 100644 docs/components/responsesoutputmessage.md create mode 100644 docs/components/responsesoutputmessagecontent.md rename docs/{models => components}/responsesoutputmessagerole.md (100%) rename docs/{models => components}/responsesoutputmessagestatuscompleted.md (100%) rename docs/{models => components}/responsesoutputmessagestatusincomplete.md (100%) rename docs/{models => components}/responsesoutputmessagestatusinprogress.md (100%) create mode 100644 docs/components/responsesoutputmessagestatusunion.md rename docs/{models => components}/responsesoutputmessagetype.md (100%) rename docs/{models => components}/responsessearchcontextsize.md (100%) rename docs/{models/responsetextconfig.md => components/responseswebsearchcalloutput.md} (51%) rename docs/{models => components}/responseswebsearchcalloutputtype.md (100%) create mode 100644 docs/components/responseswebsearchuserlocation.md rename docs/{models => components}/responseswebsearchuserlocationtype.md (100%) create mode 100644 docs/components/responsetextconfig.md rename docs/{models => components}/responsetextconfigverbosity.md (100%) rename docs/{models => components}/security.md (100%) rename docs/{models => components}/servicetier.md (100%) rename docs/{models => components}/serviceunavailableresponseerrordata.md (100%) rename docs/{models => components}/sort.md (100%) rename docs/{models => components}/streamoptions.md (100%) rename docs/{models/responseinputimage.md => components/systemmessage.md} (64%) create mode 100644 docs/components/systemmessagecontent.md rename docs/{models => components}/tokenizer.md (100%) rename docs/{models => components}/toolcallstatus.md (100%) rename docs/{models/chatstreamingresponsechunk.md => components/tooldefinitionjson.md} (60%) rename docs/{models => components}/tooldefinitionjsonfunction.md (100%) create mode 100644 docs/components/toolresponsemessage.md rename docs/{models => components}/toolresponsemessagecontent.md (52%) rename docs/{models => components}/toomanyrequestsresponseerrordata.md (100%) rename docs/{models => components}/toplogprob.md (100%) rename docs/{models => components}/topproviderinfo.md (100%) rename docs/{models => components}/truncation.md (100%) create mode 100644 docs/components/type.md rename docs/{models => components}/typeresponsecompleted.md (100%) rename docs/{models => components}/typeresponsecontentpartadded.md (100%) rename docs/{models => components}/typeresponsecontentpartdone.md (100%) rename docs/{models => components}/typeresponsecreated.md (100%) rename docs/{models => components}/typeresponsefailed.md (100%) rename docs/{models => components}/typeresponsefunctioncallargumentsdelta.md (100%) rename docs/{models => components}/typeresponsefunctioncallargumentsdone.md (100%) rename docs/{models => components}/typeresponseincomplete.md (100%) rename docs/{models => components}/typeresponseinprogress.md (100%) rename docs/{models => components}/typeresponseoutputitemadded.md (100%) rename docs/{models => components}/typeresponseoutputitemdone.md (100%) rename docs/{models => components}/typeresponseoutputtextannotationadded.md (100%) rename docs/{models => components}/typeresponseoutputtextdelta.md (100%) rename docs/{models => components}/typeresponseoutputtextdone.md (100%) rename docs/{models => components}/typeresponsereasoningsummarypartdone.md (100%) rename docs/{models => components}/typeresponserefusaldelta.md (100%) rename docs/{models => components}/typeresponserefusaldone.md (100%) rename docs/{models => components}/unauthorizedresponseerrordata.md (100%) rename docs/{models => components}/unprocessableentityresponseerrordata.md (100%) create mode 100644 docs/components/urlcitation.md rename docs/{models => components}/urlcitationtype.md (100%) create mode 100644 docs/components/usermessage.md rename docs/{models => components}/usermessagecontent.md (50%) create mode 100644 docs/components/variables.md rename docs/{models => components}/videourl.md (100%) create mode 100644 docs/components/websearchpreviewtooluserlocation.md rename docs/{models => components}/websearchpreviewtooluserlocationtype.md (100%) rename docs/{models => components}/websearchstatus.md (100%) delete mode 100644 docs/models/architecture.md delete mode 100644 docs/models/assistantmessage.md delete mode 100644 docs/models/chaterrorerror.md delete mode 100644 docs/models/chatgenerationparams.md delete mode 100644 docs/models/chatgenerationparamsresponseformatunion.md delete mode 100644 docs/models/chatmessagecontentitem.md delete mode 100644 docs/models/chatmessagecontentitemaudioinputaudio.md delete mode 100644 docs/models/chatmessagecontentitemimage.md delete mode 100644 docs/models/chatmessagecontentitemvideo.md delete mode 100644 docs/models/chatmessagetokenlogprobs.md delete mode 100644 docs/models/chatresponse.md delete mode 100644 docs/models/chatstreamingmessagechunk.md delete mode 100644 docs/models/chatstreamingresponsechunkdata.md delete mode 100644 docs/models/completionchoice.md delete mode 100644 docs/models/completioncreateparams.md delete mode 100644 docs/models/completioncreateparamsresponseformatunion.md delete mode 100644 docs/models/completionresponse.md delete mode 100644 docs/models/createauthkeyscoderequest.md delete mode 100644 docs/models/createchargerequest.md delete mode 100644 docs/models/createcoinbasechargedata.md delete mode 100644 docs/models/createembeddingsignore.md delete mode 100644 docs/models/createembeddingsonly.md delete mode 100644 docs/models/createembeddingsorder.md delete mode 100644 docs/models/createembeddingsrequest.md delete mode 100644 docs/models/createembeddingsresponsebody.md delete mode 100644 docs/models/createresponsesresponse.md delete mode 100644 docs/models/encodingformat.md delete mode 100644 docs/models/exchangeauthcodeforapikeyrequest.md delete mode 100644 docs/models/getgenerationdata.md delete mode 100644 docs/models/getgenerationresponse.md delete mode 100644 docs/models/getparametersdata.md delete mode 100644 docs/models/getparametersrequest.md delete mode 100644 docs/models/listendpointszdrresponse.md delete mode 100644 docs/models/listresponse.md delete mode 100644 docs/models/message.md delete mode 100644 docs/models/messagecontent.md delete mode 100644 docs/models/messagedeveloper.md delete mode 100644 docs/models/modelarchitecture.md delete mode 100644 docs/models/modelscountresponse.md delete mode 100644 docs/models/namedtoolchoice.md delete mode 100644 docs/models/openairesponsesannotation.md delete mode 100644 docs/models/openairesponsesincompletedetails.md delete mode 100644 docs/models/openairesponsesinputcontent1.md delete mode 100644 docs/models/openairesponsesinputcontent3.md delete mode 100644 docs/models/openairesponsesinputroleunion1.md delete mode 100644 docs/models/openairesponsesinputroleunion2.md delete mode 100644 docs/models/openairesponsesinputunion1.md delete mode 100644 docs/models/openairesponsesprompt.md delete mode 100644 docs/models/openairesponsesreasoningconfig.md delete mode 100644 docs/models/openairesponsestoolchoice.md delete mode 100644 docs/models/openairesponsestoolchoiceunion.md delete mode 100644 docs/models/openresponseseasyinputmessage.md delete mode 100644 docs/models/openresponseseasyinputmessagecontent1.md delete mode 100644 docs/models/openresponseseasyinputmessagecontent2.md delete mode 100644 docs/models/openresponseseasyinputmessageroleunion.md delete mode 100644 docs/models/openresponsesfunctioncalloutput.md delete mode 100644 docs/models/openresponsesfunctiontoolcall.md delete mode 100644 docs/models/openresponsesimagegencallcompleted.md delete mode 100644 docs/models/openresponsesimagegencallgenerating.md delete mode 100644 docs/models/openresponsesinput1.md delete mode 100644 docs/models/openresponsesinputmessageitem.md delete mode 100644 docs/models/openresponsesinputmessageitemcontent.md delete mode 100644 docs/models/openresponsesinputmessageitemroleunion.md delete mode 100644 docs/models/openresponseslogprobs.md delete mode 100644 docs/models/openresponsesnonstreamingresponsetoolfunction.md delete mode 100644 docs/models/openresponsesnonstreamingresponsetoolunion.md delete mode 100644 docs/models/openresponsesreasoning.md delete mode 100644 docs/models/openresponsesreasoningconfig.md delete mode 100644 docs/models/openresponsesreasoningdoneevent.md delete mode 100644 docs/models/openresponsesreasoningstatusunion.md delete mode 100644 docs/models/openresponsesreasoningsummarypartaddedevent.md delete mode 100644 docs/models/openresponsesreasoningsummarytextdeltaevent.md delete mode 100644 docs/models/openresponsesrequesttoolfunction.md delete mode 100644 docs/models/openresponsesrequesttoolunion.md delete mode 100644 docs/models/openresponsesstreamevent.md delete mode 100644 docs/models/openresponsesstreameventresponsefunctioncallargumentsdelta.md delete mode 100644 docs/models/openresponsesstreameventresponseoutputtextannotationadded.md delete mode 100644 docs/models/openresponsesstreameventresponseoutputtextdelta.md delete mode 100644 docs/models/openresponsesstreameventresponseoutputtextdone.md delete mode 100644 docs/models/openresponsesstreameventresponsereasoningsummarypartdone.md delete mode 100644 docs/models/openresponsesusage.md delete mode 100644 docs/models/openresponseswebsearch20250826tool.md delete mode 100644 docs/models/outputitemimagegenerationcall.md delete mode 100644 docs/models/outputmessage.md delete mode 100644 docs/models/outputmessagecontent.md delete mode 100644 docs/models/outputmessagestatusunion.md delete mode 100644 docs/models/part1.md delete mode 100644 docs/models/part2.md delete mode 100644 docs/models/pdf.md delete mode 100644 docs/models/plugin.md delete mode 100644 docs/models/publicendpoint.md delete mode 100644 docs/models/reasoningsummarytext.md delete mode 100644 docs/models/reasoningtextcontent.md delete mode 100644 docs/models/responseformattextconfig.md delete mode 100644 docs/models/responseinputaudioinputaudio.md delete mode 100644 docs/models/responseinputfile.md delete mode 100644 docs/models/responseserrorfield.md delete mode 100644 docs/models/responsesformatjsonobject.md delete mode 100644 docs/models/responsesformattext.md delete mode 100644 docs/models/responsesimagegenerationcall.md delete mode 100644 docs/models/responsesoutputitem.md delete mode 100644 docs/models/responsesoutputitemfunctioncall.md delete mode 100644 docs/models/responsesoutputitemfunctioncallstatusunion.md delete mode 100644 docs/models/responsesoutputitemreasoning.md delete mode 100644 docs/models/responsesoutputitemreasoningstatusunion.md delete mode 100644 docs/models/responsesoutputmessagecontent.md delete mode 100644 docs/models/responsesoutputmessagestatusunion.md delete mode 100644 docs/models/responseswebsearchuserlocation.md delete mode 100644 docs/models/sendchatcompletionrequestresponse.md delete mode 100644 docs/models/systemmessagecontent.md delete mode 100644 docs/models/tooldefinitionjson.md delete mode 100644 docs/models/toolresponsemessage.md delete mode 100644 docs/models/transferintent.md delete mode 100644 docs/models/type.md delete mode 100644 docs/models/urlcitation.md delete mode 100644 docs/models/variables.md delete mode 100644 docs/models/web3data.md rename docs/{models => operations}/apitype.md (100%) rename docs/{models => operations}/calldata.md (100%) rename docs/{models => operations}/createauthkeyscodecodechallengemethod.md (100%) rename docs/{models => operations}/createauthkeyscodedata.md (100%) create mode 100644 docs/operations/createauthkeyscoderequest.md rename docs/{models => operations}/createauthkeyscoderesponse.md (90%) rename docs/{models/filepath.md => operations/createcoinbasechargedata.md} (61%) create mode 100644 docs/operations/createcoinbasechargeresponse.md rename docs/{models => operations}/createcoinbasechargesecurity.md (100%) create mode 100644 docs/operations/createembeddingsdata.md rename docs/{models => operations}/createembeddingsprovider.md (95%) rename docs/{models/chatresponsechoice.md => operations/createembeddingsrequest.md} (56%) rename docs/{models => operations}/createembeddingsresponse.md (51%) rename docs/{models/openresponseserrorevent.md => operations/createembeddingsresponsebody.md} (64%) rename docs/{models => operations}/createkeysdata.md (100%) rename docs/{models => operations}/createkeyslimitreset.md (100%) rename docs/{models => operations}/createkeysrequest.md (96%) rename docs/{models => operations}/createkeysresponse.md (98%) create mode 100644 docs/operations/createresponsesresponse.md rename docs/{models => operations}/createresponsesresponsebody.md (97%) rename docs/{models/createembeddingsdatacollection.md => operations/datacollection.md} (91%) rename docs/{models => operations}/deletekeysrequest.md (100%) rename docs/{models => operations}/deletekeysresponse.md (100%) rename docs/{models => operations}/embedding.md (100%) create mode 100644 docs/operations/encodingformat.md rename docs/{models => operations}/encodingformatbase64.md (100%) rename docs/{models => operations}/encodingformatfloat.md (100%) rename docs/{models => operations}/exchangeauthcodeforapikeycodechallengemethod.md (100%) create mode 100644 docs/operations/exchangeauthcodeforapikeyrequest.md rename docs/{models => operations}/exchangeauthcodeforapikeyresponse.md (100%) rename docs/{models => operations}/getcreditsresponse.md (100%) rename docs/{models => operations}/getcurrentkeydata.md (99%) rename docs/{models => operations}/getcurrentkeyresponse.md (98%) create mode 100644 docs/operations/getgenerationdata.md rename docs/{models => operations}/getgenerationrequest.md (100%) create mode 100644 docs/operations/getgenerationresponse.md rename docs/{models => operations}/getkeydata.md (100%) rename docs/{models => operations}/getkeyrequest.md (100%) rename docs/{models => operations}/getkeyresponse.md (98%) rename docs/{models => operations}/getmodelsrequest.md (100%) create mode 100644 docs/operations/getparametersdata.md rename docs/{models => operations}/getparametersprovider.md (100%) create mode 100644 docs/operations/getparametersrequest.md rename docs/{models => operations}/getparametersresponse.md (91%) rename docs/{models => operations}/getparameterssecurity.md (100%) rename docs/{models => operations}/getuseractivityrequest.md (100%) create mode 100644 docs/operations/getuseractivityresponse.md create mode 100644 docs/operations/ignore.md rename docs/{models => operations}/input.md (100%) rename docs/{models => operations}/listdata.md (100%) rename docs/{models => operations}/listendpointsrequest.md (100%) rename docs/{models/endpointslistendpointsresponse.md => operations/listendpointsresponse.md} (98%) rename docs/{models/responseinputtext.md => operations/listendpointszdrresponse.md} (56%) rename docs/{models => operations}/listmodelsusersecurity.md (100%) rename docs/{models => operations}/listprovidersdata.md (100%) rename docs/{models/createcoinbasechargeresponse.md => operations/listprovidersresponse.md} (79%) rename docs/{models => operations}/listrequest.md (100%) rename docs/{models/getuseractivityresponse.md => operations/listresponse.md} (69%) rename docs/{models/createembeddingsmaxprice.md => operations/maxprice.md} (98%) rename docs/{models => operations}/metadata.md (100%) rename docs/{models/createembeddingsobject.md => operations/object.md} (74%) rename docs/{models => operations}/objectembedding.md (100%) create mode 100644 docs/operations/only.md create mode 100644 docs/operations/order.md rename docs/{models => operations}/ratelimit.md (100%) create mode 100644 docs/operations/sendchatcompletionrequestresponse.md rename docs/{models/createembeddingssort.md => operations/sort.md} (92%) rename docs/{models => operations}/supportedparameter.md (100%) create mode 100644 docs/operations/transferintent.md rename docs/{models => operations}/updatekeysdata.md (100%) rename docs/{models => operations}/updatekeyslimitreset.md (100%) rename docs/{models => operations}/updatekeysrequest.md (92%) rename docs/{models => operations}/updatekeysrequestbody.md (96%) rename docs/{models => operations}/updatekeysresponse.md (98%) rename docs/{models => operations}/usage.md (100%) create mode 100644 docs/operations/web3data.md rename src/openrouter/{models => components}/__init__.py (84%) rename src/openrouter/{models => components}/activityitem.py (100%) rename src/openrouter/{models => components}/assistantmessage.py (100%) rename src/openrouter/{models => components}/badgatewayresponseerrordata.py (100%) rename src/openrouter/{models => components}/badrequestresponseerrordata.py (100%) rename src/openrouter/{models => components}/chatcompletionfinishreason.py (100%) rename src/openrouter/{models => components}/chaterror.py (100%) rename src/openrouter/{models => components}/chatgenerationparams.py (100%) rename src/openrouter/{models => components}/chatgenerationtokenusage.py (100%) rename src/openrouter/{models => components}/chatmessagecontentitem.py (100%) rename src/openrouter/{models => components}/chatmessagecontentitemaudio.py (100%) rename src/openrouter/{models => components}/chatmessagecontentitemimage.py (100%) rename src/openrouter/{models => components}/chatmessagecontentitemtext.py (100%) rename src/openrouter/{models => components}/chatmessagecontentitemvideo.py (100%) rename src/openrouter/{models => components}/chatmessagetokenlogprob.py (100%) rename src/openrouter/{models => components}/chatmessagetokenlogprobs.py (100%) rename src/openrouter/{models => components}/chatmessagetoolcall.py (100%) rename src/openrouter/{models => components}/chatresponse.py (100%) rename src/openrouter/{models => components}/chatresponsechoice.py (100%) rename src/openrouter/{models => components}/chatstreamingchoice.py (100%) rename src/openrouter/{models => components}/chatstreamingmessagechunk.py (100%) rename src/openrouter/{models => components}/chatstreamingmessagetoolcall.py (100%) rename src/openrouter/{models => components}/chatstreamingresponsechunk.py (100%) rename src/openrouter/{models => components}/chatstreamoptions.py (100%) rename src/openrouter/{models => components}/completionchoice.py (100%) rename src/openrouter/{models => components}/completioncreateparams.py (100%) rename src/openrouter/{models => components}/completionlogprobs.py (100%) rename src/openrouter/{models => components}/completionresponse.py (100%) rename src/openrouter/{models => components}/completionusage.py (100%) rename src/openrouter/{models => components}/createchargerequest.py (100%) rename src/openrouter/{models => components}/defaultparameters.py (100%) rename src/openrouter/{models => components}/edgenetworktimeoutresponseerrordata.py (100%) rename src/openrouter/{models => components}/endpointstatus.py (100%) rename src/openrouter/{models => components}/filecitation.py (100%) rename src/openrouter/{models => components}/filepath.py (100%) rename src/openrouter/{models => components}/forbiddenresponseerrordata.py (100%) rename src/openrouter/{models => components}/imagegenerationstatus.py (100%) rename src/openrouter/{models => components}/inputmodality.py (100%) rename src/openrouter/{models => components}/instructtype.py (100%) rename src/openrouter/{models => components}/internalserverresponseerrordata.py (100%) rename src/openrouter/{models => components}/jsonschemaconfig.py (100%) rename src/openrouter/{models => components}/listendpointsresponse.py (100%) rename src/openrouter/{models => components}/message.py (100%) rename src/openrouter/{models => components}/model.py (100%) rename src/openrouter/{models => components}/modelarchitecture.py (100%) rename src/openrouter/{models => components}/modelgroup.py (100%) rename src/openrouter/{models => components}/modelscountresponse.py (100%) rename src/openrouter/{models => components}/modelslistresponse.py (100%) rename src/openrouter/{models => components}/namedtoolchoice.py (100%) rename src/openrouter/{models => components}/notfoundresponseerrordata.py (100%) rename src/openrouter/{models => components}/openairesponsesannotation.py (100%) rename src/openrouter/{models => components}/openairesponsesincludable.py (100%) rename src/openrouter/{models => components}/openairesponsesincompletedetails.py (100%) rename src/openrouter/{models => components}/openairesponsesinput_union.py (100%) rename src/openrouter/{models => components}/openairesponsesprompt.py (100%) rename src/openrouter/{models => components}/openairesponsesreasoningconfig.py (100%) rename src/openrouter/{models => components}/openairesponsesreasoningeffort.py (100%) rename src/openrouter/{models => components}/openairesponsesrefusalcontent.py (100%) rename src/openrouter/{models => components}/openairesponsesresponsestatus.py (100%) rename src/openrouter/{models => components}/openairesponsesservicetier.py (100%) rename src/openrouter/{models => components}/openairesponsestoolchoice_union.py (100%) rename src/openrouter/{models => components}/openairesponsestruncation.py (100%) rename src/openrouter/{models => components}/openresponseseasyinputmessage.py (100%) rename src/openrouter/{models => components}/openresponseserrorevent.py (100%) rename src/openrouter/{models => components}/openresponsesfunctioncalloutput.py (100%) rename src/openrouter/{models => components}/openresponsesfunctiontoolcall.py (100%) rename src/openrouter/{models => components}/openresponsesimagegencallcompleted.py (100%) rename src/openrouter/{models => components}/openresponsesimagegencallgenerating.py (100%) rename src/openrouter/{models => components}/openresponsesimagegencallinprogress.py (100%) rename src/openrouter/{models => components}/openresponsesimagegencallpartialimage.py (100%) rename src/openrouter/{models => components}/openresponsesinput.py (100%) rename src/openrouter/{models => components}/openresponsesinputmessageitem.py (100%) rename src/openrouter/{models => components}/openresponseslogprobs.py (100%) rename src/openrouter/{models => components}/openresponsesnonstreamingresponse.py (100%) rename src/openrouter/{models => components}/openresponsesreasoning.py (100%) rename src/openrouter/{models => components}/openresponsesreasoningconfig.py (100%) rename src/openrouter/{models => components}/openresponsesreasoningdeltaevent.py (100%) rename src/openrouter/{models => components}/openresponsesreasoningdoneevent.py (100%) rename src/openrouter/{models => components}/openresponsesreasoningsummarypartaddedevent.py (100%) rename src/openrouter/{models => components}/openresponsesreasoningsummarytextdeltaevent.py (100%) rename src/openrouter/{models => components}/openresponsesreasoningsummarytextdoneevent.py (100%) rename src/openrouter/{models => components}/openresponsesrequest.py (100%) rename src/openrouter/{models => components}/openresponsesresponsetext.py (100%) rename src/openrouter/{models => components}/openresponsesstreamevent.py (100%) rename src/openrouter/{models => components}/openresponsestoplogprobs.py (100%) rename src/openrouter/{models => components}/openresponsesusage.py (100%) rename src/openrouter/{models => components}/openresponseswebsearch20250826tool.py (100%) rename src/openrouter/{models => components}/openresponseswebsearchpreview20250311tool.py (100%) rename src/openrouter/{models => components}/openresponseswebsearchpreviewtool.py (100%) rename src/openrouter/{models => components}/openresponseswebsearchtool.py (100%) rename src/openrouter/{models => components}/outputitemimagegenerationcall.py (100%) rename src/openrouter/{models => components}/outputmessage.py (100%) rename src/openrouter/{models => components}/outputmodality.py (100%) rename src/openrouter/{models => components}/parameter.py (100%) rename src/openrouter/{models => components}/payloadtoolargeresponseerrordata.py (100%) rename src/openrouter/{models => components}/paymentrequiredresponseerrordata.py (100%) rename src/openrouter/{models => components}/perrequestlimits.py (100%) rename src/openrouter/{models => components}/providername.py (100%) rename src/openrouter/{models => components}/provideroverloadedresponseerrordata.py (100%) rename src/openrouter/{models => components}/publicendpoint.py (100%) rename src/openrouter/{models => components}/publicpricing.py (100%) rename src/openrouter/{models => components}/quantization.py (100%) rename src/openrouter/{models => components}/reasoningsummarytext.py (100%) rename src/openrouter/{models => components}/reasoningsummaryverbosity.py (100%) rename src/openrouter/{models => components}/reasoningtextcontent.py (100%) rename src/openrouter/{models => components}/requesttimeoutresponseerrordata.py (100%) rename src/openrouter/{models => components}/responseformatjsonschema.py (100%) rename src/openrouter/{models => components}/responseformattextconfig.py (100%) rename src/openrouter/{models => components}/responseformattextgrammar.py (100%) rename src/openrouter/{models => components}/responseinputaudio.py (100%) rename src/openrouter/{models => components}/responseinputfile.py (100%) rename src/openrouter/{models => components}/responseinputimage.py (100%) rename src/openrouter/{models => components}/responseinputtext.py (100%) rename src/openrouter/{models => components}/responseoutputtext.py (100%) rename src/openrouter/{models => components}/responseserrorfield.py (100%) rename src/openrouter/{models => components}/responsesformatjsonobject.py (100%) rename src/openrouter/{models => components}/responsesformattext.py (100%) rename src/openrouter/{models => components}/responsesformattextjsonschemaconfig.py (100%) rename src/openrouter/{models => components}/responsesimagegenerationcall.py (100%) rename src/openrouter/{models => components}/responsesoutputitem.py (100%) rename src/openrouter/{models => components}/responsesoutputitemfilesearchcall.py (100%) rename src/openrouter/{models => components}/responsesoutputitemfunctioncall.py (100%) rename src/openrouter/{models => components}/responsesoutputitemreasoning.py (100%) rename src/openrouter/{models => components}/responsesoutputmessage.py (100%) rename src/openrouter/{models => components}/responsessearchcontextsize.py (100%) rename src/openrouter/{models => components}/responseswebsearchcalloutput.py (100%) rename src/openrouter/{models => components}/responseswebsearchuserlocation.py (100%) rename src/openrouter/{models => components}/responsetextconfig.py (100%) rename src/openrouter/{models => components}/security.py (100%) rename src/openrouter/{models => components}/serviceunavailableresponseerrordata.py (100%) rename src/openrouter/{models => components}/systemmessage.py (100%) rename src/openrouter/{models => components}/toolcallstatus.py (100%) rename src/openrouter/{models => components}/tooldefinitionjson.py (100%) rename src/openrouter/{models => components}/toolresponsemessage.py (100%) rename src/openrouter/{models => components}/toomanyrequestsresponseerrordata.py (100%) rename src/openrouter/{models => components}/topproviderinfo.py (100%) rename src/openrouter/{models => components}/unauthorizedresponseerrordata.py (100%) rename src/openrouter/{models => components}/unprocessableentityresponseerrordata.py (100%) rename src/openrouter/{models => components}/urlcitation.py (100%) rename src/openrouter/{models => components}/usermessage.py (100%) rename src/openrouter/{models => components}/websearchpreviewtooluserlocation.py (100%) rename src/openrouter/{models => components}/websearchstatus.py (100%) delete mode 100644 src/openrouter/models/createresponsesop.py delete mode 100644 src/openrouter/models/sendchatcompletionrequestop.py create mode 100644 src/openrouter/operations/__init__.py rename src/openrouter/{models/createauthkeyscodeop.py => operations/createauthkeyscode.py} (100%) rename src/openrouter/{models/createcoinbasechargeop.py => operations/createcoinbasecharge.py} (100%) rename src/openrouter/{models/createembeddingsop.py => operations/createembeddings.py} (83%) rename src/openrouter/{models/createkeysop.py => operations/createkeys.py} (100%) create mode 100644 src/openrouter/operations/createresponses.py rename src/openrouter/{models/deletekeysop.py => operations/deletekeys.py} (100%) rename src/openrouter/{models/exchangeauthcodeforapikeyop.py => operations/exchangeauthcodeforapikey.py} (100%) rename src/openrouter/{models/getcreditsop.py => operations/getcredits.py} (100%) rename src/openrouter/{models/getcurrentkeyop.py => operations/getcurrentkey.py} (100%) rename src/openrouter/{models/getgenerationop.py => operations/getgeneration.py} (100%) rename src/openrouter/{models/getkeyop.py => operations/getkey.py} (100%) rename src/openrouter/{models/getmodelsop.py => operations/getmodels.py} (100%) rename src/openrouter/{models/getparametersop.py => operations/getparameters.py} (100%) rename src/openrouter/{models/getuseractivityop.py => operations/getuseractivity.py} (84%) rename src/openrouter/{models/listop.py => operations/list.py} (100%) rename src/openrouter/{models/listendpointsop.py => operations/listendpoints.py} (70%) rename src/openrouter/{models/listendpointszdrop.py => operations/listendpointszdr.py} (65%) rename src/openrouter/{models/listmodelsuserop.py => operations/listmodelsuser.py} (100%) rename src/openrouter/{models/listprovidersop.py => operations/listproviders.py} (100%) create mode 100644 src/openrouter/operations/sendchatcompletionrequest.py rename src/openrouter/{models/updatekeysop.py => operations/updatekeys.py} (100%) create mode 100644 uv.lock diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 4f15c4b..7954ca7 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -5,8 +5,8 @@ management: docVersion: 1.0.0 speakeasyVersion: 1.656.2 generationVersion: 2.753.6 - releaseVersion: 0.0.8 - configChecksum: 7991d65ded64f0f90accf6ad3c8a2e7d + releaseVersion: 0.0.14 + configChecksum: 7fdc1a8de90d75e76f19d0d7a83a0215 published: true features: python: @@ -45,6 +45,377 @@ generatedFiles: - .gitattributes - .vscode/settings.json - USAGE.md + - docs/components/activityitem.md + - docs/components/architecture.md + - docs/components/assistantmessage.md + - docs/components/assistantmessagecontent.md + - docs/components/badgatewayresponseerrordata.md + - docs/components/badrequestresponseerrordata.md + - docs/components/chainid.md + - docs/components/chatcompletionfinishreason.md + - docs/components/chaterrorerror.md + - docs/components/chatgenerationparams.md + - docs/components/chatgenerationparamsresponseformatjsonobject.md + - docs/components/chatgenerationparamsresponseformatpython.md + - docs/components/chatgenerationparamsresponseformattext.md + - docs/components/chatgenerationparamsresponseformatunion.md + - docs/components/chatgenerationparamsstop.md + - docs/components/chatgenerationtokenusage.md + - docs/components/chatmessagecontentitem.md + - docs/components/chatmessagecontentitemaudio.md + - docs/components/chatmessagecontentitemaudioformat.md + - docs/components/chatmessagecontentitemaudioinputaudio.md + - docs/components/chatmessagecontentitemimage.md + - docs/components/chatmessagecontentitemimagedetail.md + - docs/components/chatmessagecontentitemtext.md + - docs/components/chatmessagecontentitemvideo.md + - docs/components/chatmessagetokenlogprob.md + - docs/components/chatmessagetokenlogprobs.md + - docs/components/chatmessagetoolcall.md + - docs/components/chatmessagetoolcallfunction.md + - docs/components/chatresponse.md + - docs/components/chatresponsechoice.md + - docs/components/chatstreamingchoice.md + - docs/components/chatstreamingmessagechunk.md + - docs/components/chatstreamingmessagechunkrole.md + - docs/components/chatstreamingmessagetoolcall.md + - docs/components/chatstreamingmessagetoolcallfunction.md + - docs/components/chatstreamingresponsechunk.md + - docs/components/chatstreamingresponsechunkdata.md + - docs/components/chatstreamingresponsechunkerror.md + - docs/components/chatstreamoptions.md + - docs/components/code.md + - docs/components/codeenum.md + - docs/components/completionchoice.md + - docs/components/completioncreateparams.md + - docs/components/completioncreateparamsresponseformatjsonobject.md + - docs/components/completioncreateparamsresponseformatpython.md + - docs/components/completioncreateparamsresponseformattext.md + - docs/components/completioncreateparamsresponseformatunion.md + - docs/components/completioncreateparamsstop.md + - docs/components/completionfinishreason.md + - docs/components/completionlogprobs.md + - docs/components/completionresponse.md + - docs/components/completiontokensdetails.md + - docs/components/completionusage.md + - docs/components/costdetails.md + - docs/components/createchargerequest.md + - docs/components/datacollection.md + - docs/components/defaultparameters.md + - docs/components/edgenetworktimeoutresponseerrordata.md + - docs/components/effort.md + - docs/components/endpointstatus.md + - docs/components/engine.md + - docs/components/filecitation.md + - docs/components/filecitationtype.md + - docs/components/filepath.md + - docs/components/filepathtype.md + - docs/components/forbiddenresponseerrordata.md + - docs/components/idfileparser.md + - docs/components/idmoderation.md + - docs/components/idweb.md + - docs/components/ignore.md + - docs/components/imagegenerationstatus.md + - docs/components/imageurl.md + - docs/components/inputmodality.md + - docs/components/inputtokensdetails.md + - docs/components/instructtype.md + - docs/components/internalserverresponseerrordata.md + - docs/components/jsonschemaconfig.md + - docs/components/listendpointsresponse.md + - docs/components/maxprice.md + - docs/components/message.md + - docs/components/messagecontent.md + - docs/components/messagedeveloper.md + - docs/components/model.md + - docs/components/modelarchitecture.md + - docs/components/modelarchitectureinstructtype.md + - docs/components/modelgroup.md + - docs/components/modelscountresponse.md + - docs/components/modelscountresponsedata.md + - docs/components/modelslistresponse.md + - docs/components/namedtoolchoice.md + - docs/components/namedtoolchoicefunction.md + - docs/components/notfoundresponseerrordata.md + - docs/components/object.md + - docs/components/only.md + - docs/components/openairesponsesannotation.md + - docs/components/openairesponsesincludable.md + - docs/components/openairesponsesincompletedetails.md + - docs/components/openairesponsesinputcontent1.md + - docs/components/openairesponsesinputcontent2.md + - docs/components/openairesponsesinputcontent3.md + - docs/components/openairesponsesinputfunctioncall.md + - docs/components/openairesponsesinputfunctioncalloutput.md + - docs/components/openairesponsesinputmessage1.md + - docs/components/openairesponsesinputmessage2.md + - docs/components/openairesponsesinputroleassistant.md + - docs/components/openairesponsesinputroledeveloper1.md + - docs/components/openairesponsesinputroledeveloper2.md + - docs/components/openairesponsesinputrolesystem1.md + - docs/components/openairesponsesinputrolesystem2.md + - docs/components/openairesponsesinputroleunion1.md + - docs/components/openairesponsesinputroleunion2.md + - docs/components/openairesponsesinputroleuser1.md + - docs/components/openairesponsesinputroleuser2.md + - docs/components/openairesponsesinputtypefunctioncall.md + - docs/components/openairesponsesinputtypefunctioncalloutput.md + - docs/components/openairesponsesinputtypemessage1.md + - docs/components/openairesponsesinputtypemessage2.md + - docs/components/openairesponsesinputunion.md + - docs/components/openairesponsesinputunion1.md + - docs/components/openairesponsesprompt.md + - docs/components/openairesponsesreasoningconfig.md + - docs/components/openairesponsesreasoningeffort.md + - docs/components/openairesponsesrefusalcontent.md + - docs/components/openairesponsesrefusalcontenttype.md + - docs/components/openairesponsesresponsestatus.md + - docs/components/openairesponsesservicetier.md + - docs/components/openairesponsestoolchoice.md + - docs/components/openairesponsestoolchoiceauto.md + - docs/components/openairesponsestoolchoicefunction.md + - docs/components/openairesponsestoolchoicenone.md + - docs/components/openairesponsestoolchoicerequired.md + - docs/components/openairesponsestoolchoicetypefunction.md + - docs/components/openairesponsestoolchoicetypewebsearchpreview.md + - docs/components/openairesponsestoolchoicetypewebsearchpreview20250311.md + - docs/components/openairesponsestoolchoiceunion.md + - docs/components/openairesponsestruncation.md + - docs/components/openresponseseasyinputmessage.md + - docs/components/openresponseseasyinputmessagecontent1.md + - docs/components/openresponseseasyinputmessagecontent2.md + - docs/components/openresponseseasyinputmessageroleassistant.md + - docs/components/openresponseseasyinputmessageroledeveloper.md + - docs/components/openresponseseasyinputmessagerolesystem.md + - docs/components/openresponseseasyinputmessageroleunion.md + - docs/components/openresponseseasyinputmessageroleuser.md + - docs/components/openresponseseasyinputmessagetype.md + - docs/components/openresponseserrorevent.md + - docs/components/openresponseserroreventtype.md + - docs/components/openresponsesfunctioncalloutput.md + - docs/components/openresponsesfunctioncalloutputtype.md + - docs/components/openresponsesfunctiontoolcall.md + - docs/components/openresponsesfunctiontoolcalltype.md + - docs/components/openresponsesimagegencallcompleted.md + - docs/components/openresponsesimagegencallcompletedtype.md + - docs/components/openresponsesimagegencallgenerating.md + - docs/components/openresponsesimagegencallgeneratingtype.md + - docs/components/openresponsesimagegencallinprogress.md + - docs/components/openresponsesimagegencallinprogresstype.md + - docs/components/openresponsesimagegencallpartialimage.md + - docs/components/openresponsesimagegencallpartialimagetype.md + - docs/components/openresponsesinput.md + - docs/components/openresponsesinput1.md + - docs/components/openresponsesinputmessageitem.md + - docs/components/openresponsesinputmessageitemcontent.md + - docs/components/openresponsesinputmessageitemroledeveloper.md + - docs/components/openresponsesinputmessageitemrolesystem.md + - docs/components/openresponsesinputmessageitemroleunion.md + - docs/components/openresponsesinputmessageitemroleuser.md + - docs/components/openresponsesinputmessageitemtype.md + - docs/components/openresponseslogprobs.md + - docs/components/openresponsesnonstreamingresponse.md + - docs/components/openresponsesnonstreamingresponsetoolfunction.md + - docs/components/openresponsesnonstreamingresponsetoolunion.md + - docs/components/openresponsesnonstreamingresponsetype.md + - docs/components/openresponsesreasoning.md + - docs/components/openresponsesreasoningconfig.md + - docs/components/openresponsesreasoningdeltaevent.md + - docs/components/openresponsesreasoningdeltaeventtype.md + - docs/components/openresponsesreasoningdoneevent.md + - docs/components/openresponsesreasoningdoneeventtype.md + - docs/components/openresponsesreasoningformat.md + - docs/components/openresponsesreasoningstatuscompleted.md + - docs/components/openresponsesreasoningstatusincomplete.md + - docs/components/openresponsesreasoningstatusinprogress.md + - docs/components/openresponsesreasoningstatusunion.md + - docs/components/openresponsesreasoningsummarypartaddedevent.md + - docs/components/openresponsesreasoningsummarypartaddedeventtype.md + - docs/components/openresponsesreasoningsummarytextdeltaevent.md + - docs/components/openresponsesreasoningsummarytextdeltaeventtype.md + - docs/components/openresponsesreasoningsummarytextdoneevent.md + - docs/components/openresponsesreasoningsummarytextdoneeventtype.md + - docs/components/openresponsesreasoningtype.md + - docs/components/openresponsesrequest.md + - docs/components/openresponsesrequesttoolfunction.md + - docs/components/openresponsesrequesttoolunion.md + - docs/components/openresponsesrequesttype.md + - docs/components/openresponsesresponsetext.md + - docs/components/openresponsesresponsetextverbosity.md + - docs/components/openresponsesstreamevent.md + - docs/components/openresponsesstreameventresponsecompleted.md + - docs/components/openresponsesstreameventresponsecontentpartadded.md + - docs/components/openresponsesstreameventresponsecontentpartdone.md + - docs/components/openresponsesstreameventresponsecreated.md + - docs/components/openresponsesstreameventresponsefailed.md + - docs/components/openresponsesstreameventresponsefunctioncallargumentsdelta.md + - docs/components/openresponsesstreameventresponsefunctioncallargumentsdone.md + - docs/components/openresponsesstreameventresponseincomplete.md + - docs/components/openresponsesstreameventresponseinprogress.md + - docs/components/openresponsesstreameventresponseoutputitemadded.md + - docs/components/openresponsesstreameventresponseoutputitemdone.md + - docs/components/openresponsesstreameventresponseoutputtextannotationadded.md + - docs/components/openresponsesstreameventresponseoutputtextdelta.md + - docs/components/openresponsesstreameventresponseoutputtextdone.md + - docs/components/openresponsesstreameventresponsereasoningsummarypartdone.md + - docs/components/openresponsesstreameventresponserefusaldelta.md + - docs/components/openresponsesstreameventresponserefusaldone.md + - docs/components/openresponsestoplogprobs.md + - docs/components/openresponsesusage.md + - docs/components/openresponseswebsearch20250826tool.md + - docs/components/openresponseswebsearch20250826toolfilters.md + - docs/components/openresponseswebsearch20250826tooltype.md + - docs/components/openresponseswebsearchpreview20250311tool.md + - docs/components/openresponseswebsearchpreview20250311tooltype.md + - docs/components/openresponseswebsearchpreviewtool.md + - docs/components/openresponseswebsearchpreviewtooltype.md + - docs/components/openresponseswebsearchtool.md + - docs/components/openresponseswebsearchtoolfilters.md + - docs/components/openresponseswebsearchtooltype.md + - docs/components/order.md + - docs/components/outputitemimagegenerationcall.md + - docs/components/outputitemimagegenerationcalltype.md + - docs/components/outputmessage.md + - docs/components/outputmessagecontent.md + - docs/components/outputmessagerole.md + - docs/components/outputmessagestatuscompleted.md + - docs/components/outputmessagestatusincomplete.md + - docs/components/outputmessagestatusinprogress.md + - docs/components/outputmessagestatusunion.md + - docs/components/outputmessagetype.md + - docs/components/outputmodality.md + - docs/components/outputtokensdetails.md + - docs/components/parameter.md + - docs/components/part1.md + - docs/components/part2.md + - docs/components/payloadtoolargeresponseerrordata.md + - docs/components/paymentrequiredresponseerrordata.md + - docs/components/pdf.md + - docs/components/pdfengine.md + - docs/components/perrequestlimits.md + - docs/components/plugin.md + - docs/components/pluginfileparser.md + - docs/components/pluginmoderation.md + - docs/components/pluginweb.md + - docs/components/pricing.md + - docs/components/prompt.md + - docs/components/prompttokensdetails.md + - docs/components/provider.md + - docs/components/providername.md + - docs/components/provideroverloadedresponseerrordata.md + - docs/components/publicendpoint.md + - docs/components/publicendpointquantization.md + - docs/components/publicpricing.md + - docs/components/quantization.md + - docs/components/reason.md + - docs/components/reasoning.md + - docs/components/reasoningsummarytext.md + - docs/components/reasoningsummarytexttype.md + - docs/components/reasoningsummaryverbosity.md + - docs/components/reasoningtextcontent.md + - docs/components/reasoningtextcontenttype.md + - docs/components/requesttimeoutresponseerrordata.md + - docs/components/responseformatjsonschema.md + - docs/components/responseformattextconfig.md + - docs/components/responseformattextgrammar.md + - docs/components/responseinputaudio.md + - docs/components/responseinputaudioformat.md + - docs/components/responseinputaudioinputaudio.md + - docs/components/responseinputaudiotype.md + - docs/components/responseinputfile.md + - docs/components/responseinputfiletype.md + - docs/components/responseinputimage.md + - docs/components/responseinputimagedetail.md + - docs/components/responseinputimagetype.md + - docs/components/responseinputtext.md + - docs/components/responseinputtexttype.md + - docs/components/responseoutputtext.md + - docs/components/responseoutputtexttype.md + - docs/components/responseserrorfield.md + - docs/components/responsesformatjsonobject.md + - docs/components/responsesformatjsonobjecttype.md + - docs/components/responsesformattext.md + - docs/components/responsesformattextjsonschemaconfig.md + - docs/components/responsesformattextjsonschemaconfigtype.md + - docs/components/responsesformattexttype.md + - docs/components/responsesimagegenerationcall.md + - docs/components/responsesimagegenerationcalltype.md + - docs/components/responsesoutputitem.md + - docs/components/responsesoutputitemfilesearchcall.md + - docs/components/responsesoutputitemfilesearchcalltype.md + - docs/components/responsesoutputitemfunctioncall.md + - docs/components/responsesoutputitemfunctioncallstatuscompleted.md + - docs/components/responsesoutputitemfunctioncallstatusincomplete.md + - docs/components/responsesoutputitemfunctioncallstatusinprogress.md + - docs/components/responsesoutputitemfunctioncallstatusunion.md + - docs/components/responsesoutputitemfunctioncalltype.md + - docs/components/responsesoutputitemreasoning.md + - docs/components/responsesoutputitemreasoningstatuscompleted.md + - docs/components/responsesoutputitemreasoningstatusincomplete.md + - docs/components/responsesoutputitemreasoningstatusinprogress.md + - docs/components/responsesoutputitemreasoningstatusunion.md + - docs/components/responsesoutputitemreasoningtype.md + - docs/components/responsesoutputmessage.md + - docs/components/responsesoutputmessagecontent.md + - docs/components/responsesoutputmessagerole.md + - docs/components/responsesoutputmessagestatuscompleted.md + - docs/components/responsesoutputmessagestatusincomplete.md + - docs/components/responsesoutputmessagestatusinprogress.md + - docs/components/responsesoutputmessagestatusunion.md + - docs/components/responsesoutputmessagetype.md + - docs/components/responsessearchcontextsize.md + - docs/components/responseswebsearchcalloutput.md + - docs/components/responseswebsearchcalloutputtype.md + - docs/components/responseswebsearchuserlocation.md + - docs/components/responseswebsearchuserlocationtype.md + - docs/components/responsetextconfig.md + - docs/components/responsetextconfigverbosity.md + - docs/components/security.md + - docs/components/servicetier.md + - docs/components/serviceunavailableresponseerrordata.md + - docs/components/sort.md + - docs/components/streamoptions.md + - docs/components/systemmessage.md + - docs/components/systemmessagecontent.md + - docs/components/tokenizer.md + - docs/components/toolcallstatus.md + - docs/components/tooldefinitionjson.md + - docs/components/tooldefinitionjsonfunction.md + - docs/components/toolresponsemessage.md + - docs/components/toolresponsemessagecontent.md + - docs/components/toomanyrequestsresponseerrordata.md + - docs/components/toplogprob.md + - docs/components/topproviderinfo.md + - docs/components/truncation.md + - docs/components/type.md + - docs/components/typeresponsecompleted.md + - docs/components/typeresponsecontentpartadded.md + - docs/components/typeresponsecontentpartdone.md + - docs/components/typeresponsecreated.md + - docs/components/typeresponsefailed.md + - docs/components/typeresponsefunctioncallargumentsdelta.md + - docs/components/typeresponsefunctioncallargumentsdone.md + - docs/components/typeresponseincomplete.md + - docs/components/typeresponseinprogress.md + - docs/components/typeresponseoutputitemadded.md + - docs/components/typeresponseoutputitemdone.md + - docs/components/typeresponseoutputtextannotationadded.md + - docs/components/typeresponseoutputtextdelta.md + - docs/components/typeresponseoutputtextdone.md + - docs/components/typeresponsereasoningsummarypartdone.md + - docs/components/typeresponserefusaldelta.md + - docs/components/typeresponserefusaldone.md + - docs/components/unauthorizedresponseerrordata.md + - docs/components/unprocessableentityresponseerrordata.md + - docs/components/urlcitation.md + - docs/components/urlcitationtype.md + - docs/components/usermessage.md + - docs/components/usermessagecontent.md + - docs/components/variables.md + - docs/components/videourl.md + - docs/components/websearchpreviewtooluserlocation.md + - docs/components/websearchpreviewtooluserlocationtype.md + - docs/components/websearchstatus.md - docs/errors/badgatewayresponseerror.md - docs/errors/badrequestresponseerror.md - docs/errors/chaterror.md @@ -60,454 +431,83 @@ generatedFiles: - docs/errors/toomanyrequestsresponseerror.md - docs/errors/unauthorizedresponseerror.md - docs/errors/unprocessableentityresponseerror.md - - docs/models/activityitem.md - - docs/models/apitype.md - - docs/models/architecture.md - - docs/models/assistantmessage.md - - docs/models/assistantmessagecontent.md - - docs/models/badgatewayresponseerrordata.md - - docs/models/badrequestresponseerrordata.md - - docs/models/calldata.md - - docs/models/chainid.md - - docs/models/chatcompletionfinishreason.md - - docs/models/chaterrorerror.md - - docs/models/chatgenerationparams.md - - docs/models/chatgenerationparamsresponseformatjsonobject.md - - docs/models/chatgenerationparamsresponseformatpython.md - - docs/models/chatgenerationparamsresponseformattext.md - - docs/models/chatgenerationparamsresponseformatunion.md - - docs/models/chatgenerationparamsstop.md - - docs/models/chatgenerationtokenusage.md - - docs/models/chatmessagecontentitem.md - - docs/models/chatmessagecontentitemaudio.md - - docs/models/chatmessagecontentitemaudioformat.md - - docs/models/chatmessagecontentitemaudioinputaudio.md - - docs/models/chatmessagecontentitemimage.md - - docs/models/chatmessagecontentitemimagedetail.md - - docs/models/chatmessagecontentitemtext.md - - docs/models/chatmessagecontentitemvideo.md - - docs/models/chatmessagetokenlogprob.md - - docs/models/chatmessagetokenlogprobs.md - - docs/models/chatmessagetoolcall.md - - docs/models/chatmessagetoolcallfunction.md - - docs/models/chatresponse.md - - docs/models/chatresponsechoice.md - - docs/models/chatstreamingchoice.md - - docs/models/chatstreamingmessagechunk.md - - docs/models/chatstreamingmessagechunkrole.md - - docs/models/chatstreamingmessagetoolcall.md - - docs/models/chatstreamingmessagetoolcallfunction.md - - docs/models/chatstreamingresponsechunk.md - - docs/models/chatstreamingresponsechunkdata.md - - docs/models/chatstreamingresponsechunkerror.md - - docs/models/chatstreamoptions.md - - docs/models/code.md - - docs/models/codeenum.md - - docs/models/completionchoice.md - - docs/models/completioncreateparams.md - - docs/models/completioncreateparamsresponseformatjsonobject.md - - docs/models/completioncreateparamsresponseformatpython.md - - docs/models/completioncreateparamsresponseformattext.md - - docs/models/completioncreateparamsresponseformatunion.md - - docs/models/completioncreateparamsstop.md - - docs/models/completionfinishreason.md - - docs/models/completionlogprobs.md - - docs/models/completionresponse.md - - docs/models/completiontokensdetails.md - - docs/models/completionusage.md - - docs/models/costdetails.md - - docs/models/createauthkeyscodecodechallengemethod.md - - docs/models/createauthkeyscodedata.md - - docs/models/createauthkeyscoderequest.md - - docs/models/createauthkeyscoderesponse.md - - docs/models/createchargerequest.md - - docs/models/createcoinbasechargedata.md - - docs/models/createcoinbasechargeresponse.md - - docs/models/createcoinbasechargesecurity.md - - docs/models/createembeddingsdata.md - - docs/models/createembeddingsdatacollection.md - - docs/models/createembeddingsignore.md - - docs/models/createembeddingsmaxprice.md - - docs/models/createembeddingsobject.md - - docs/models/createembeddingsonly.md - - docs/models/createembeddingsorder.md - - docs/models/createembeddingsprovider.md - - docs/models/createembeddingsrequest.md - - docs/models/createembeddingsresponse.md - - docs/models/createembeddingsresponsebody.md - - docs/models/createembeddingssort.md - - docs/models/createkeysdata.md - - docs/models/createkeyslimitreset.md - - docs/models/createkeysrequest.md - - docs/models/createkeysresponse.md - - docs/models/createresponsesresponse.md - - docs/models/createresponsesresponsebody.md - - docs/models/datacollection.md - - docs/models/defaultparameters.md - - docs/models/deletekeysrequest.md - - docs/models/deletekeysresponse.md - - docs/models/edgenetworktimeoutresponseerrordata.md - - docs/models/effort.md - - docs/models/embedding.md - - docs/models/encodingformat.md - - docs/models/encodingformatbase64.md - - docs/models/encodingformatfloat.md - - docs/models/endpointslistendpointsresponse.md - - docs/models/endpointstatus.md - - docs/models/engine.md - - docs/models/exchangeauthcodeforapikeycodechallengemethod.md - - docs/models/exchangeauthcodeforapikeyrequest.md - - docs/models/exchangeauthcodeforapikeyresponse.md - - docs/models/filecitation.md - - docs/models/filecitationtype.md - - docs/models/filepath.md - - docs/models/filepathtype.md - - docs/models/forbiddenresponseerrordata.md - - docs/models/getcreditsresponse.md - - docs/models/getcurrentkeydata.md - - docs/models/getcurrentkeyresponse.md - - docs/models/getgenerationdata.md - - docs/models/getgenerationrequest.md - - docs/models/getgenerationresponse.md - - docs/models/getkeydata.md - - docs/models/getkeyrequest.md - - docs/models/getkeyresponse.md - - docs/models/getmodelsrequest.md - - docs/models/getparametersdata.md - - docs/models/getparametersprovider.md - - docs/models/getparametersrequest.md - - docs/models/getparametersresponse.md - - docs/models/getparameterssecurity.md - - docs/models/getuseractivityrequest.md - - docs/models/getuseractivityresponse.md - - docs/models/idfileparser.md - - docs/models/idmoderation.md - - docs/models/idweb.md - - docs/models/ignore.md - - docs/models/imagegenerationstatus.md - - docs/models/imageurl.md - - docs/models/input.md - - docs/models/inputmodality.md - - docs/models/inputtokensdetails.md - - docs/models/instructtype.md - - docs/models/internalserverresponseerrordata.md - - docs/models/jsonschemaconfig.md - - docs/models/listdata.md - - docs/models/listendpointsrequest.md - - docs/models/listendpointsresponse.md - - docs/models/listendpointszdrresponse.md - - docs/models/listmodelsusersecurity.md - - docs/models/listprovidersdata.md - - docs/models/listprovidersresponse.md - - docs/models/listrequest.md - - docs/models/listresponse.md - - docs/models/maxprice.md - - docs/models/message.md - - docs/models/messagecontent.md - - docs/models/messagedeveloper.md - - docs/models/metadata.md - - docs/models/model.md - - docs/models/modelarchitecture.md - - docs/models/modelarchitectureinstructtype.md - - docs/models/modelgroup.md - - docs/models/modelscountresponse.md - - docs/models/modelscountresponsedata.md - - docs/models/modelslistresponse.md - - docs/models/namedtoolchoice.md - - docs/models/namedtoolchoicefunction.md - - docs/models/notfoundresponseerrordata.md - - docs/models/object.md - - docs/models/objectembedding.md - - docs/models/only.md - - docs/models/openairesponsesannotation.md - - docs/models/openairesponsesincludable.md - - docs/models/openairesponsesincompletedetails.md - - docs/models/openairesponsesinputcontent1.md - - docs/models/openairesponsesinputcontent2.md - - docs/models/openairesponsesinputcontent3.md - - docs/models/openairesponsesinputfunctioncall.md - - docs/models/openairesponsesinputfunctioncalloutput.md - - docs/models/openairesponsesinputmessage1.md - - docs/models/openairesponsesinputmessage2.md - - docs/models/openairesponsesinputroleassistant.md - - docs/models/openairesponsesinputroledeveloper1.md - - docs/models/openairesponsesinputroledeveloper2.md - - docs/models/openairesponsesinputrolesystem1.md - - docs/models/openairesponsesinputrolesystem2.md - - docs/models/openairesponsesinputroleunion1.md - - docs/models/openairesponsesinputroleunion2.md - - docs/models/openairesponsesinputroleuser1.md - - docs/models/openairesponsesinputroleuser2.md - - docs/models/openairesponsesinputtypefunctioncall.md - - docs/models/openairesponsesinputtypefunctioncalloutput.md - - docs/models/openairesponsesinputtypemessage1.md - - docs/models/openairesponsesinputtypemessage2.md - - docs/models/openairesponsesinputunion.md - - docs/models/openairesponsesinputunion1.md - - docs/models/openairesponsesprompt.md - - docs/models/openairesponsesreasoningconfig.md - - docs/models/openairesponsesreasoningeffort.md - - docs/models/openairesponsesrefusalcontent.md - - docs/models/openairesponsesrefusalcontenttype.md - - docs/models/openairesponsesresponsestatus.md - - docs/models/openairesponsesservicetier.md - - docs/models/openairesponsestoolchoice.md - - docs/models/openairesponsestoolchoiceauto.md - - docs/models/openairesponsestoolchoicefunction.md - - docs/models/openairesponsestoolchoicenone.md - - docs/models/openairesponsestoolchoicerequired.md - - docs/models/openairesponsestoolchoicetypefunction.md - - docs/models/openairesponsestoolchoicetypewebsearchpreview.md - - docs/models/openairesponsestoolchoicetypewebsearchpreview20250311.md - - docs/models/openairesponsestoolchoiceunion.md - - docs/models/openairesponsestruncation.md - - docs/models/openresponseseasyinputmessage.md - - docs/models/openresponseseasyinputmessagecontent1.md - - docs/models/openresponseseasyinputmessagecontent2.md - - docs/models/openresponseseasyinputmessageroleassistant.md - - docs/models/openresponseseasyinputmessageroledeveloper.md - - docs/models/openresponseseasyinputmessagerolesystem.md - - docs/models/openresponseseasyinputmessageroleunion.md - - docs/models/openresponseseasyinputmessageroleuser.md - - docs/models/openresponseseasyinputmessagetype.md - - docs/models/openresponseserrorevent.md - - docs/models/openresponseserroreventtype.md - - docs/models/openresponsesfunctioncalloutput.md - - docs/models/openresponsesfunctioncalloutputtype.md - - docs/models/openresponsesfunctiontoolcall.md - - docs/models/openresponsesfunctiontoolcalltype.md - - docs/models/openresponsesimagegencallcompleted.md - - docs/models/openresponsesimagegencallcompletedtype.md - - docs/models/openresponsesimagegencallgenerating.md - - docs/models/openresponsesimagegencallgeneratingtype.md - - docs/models/openresponsesimagegencallinprogress.md - - docs/models/openresponsesimagegencallinprogresstype.md - - docs/models/openresponsesimagegencallpartialimage.md - - docs/models/openresponsesimagegencallpartialimagetype.md - - docs/models/openresponsesinput.md - - docs/models/openresponsesinput1.md - - docs/models/openresponsesinputmessageitem.md - - docs/models/openresponsesinputmessageitemcontent.md - - docs/models/openresponsesinputmessageitemroledeveloper.md - - docs/models/openresponsesinputmessageitemrolesystem.md - - docs/models/openresponsesinputmessageitemroleunion.md - - docs/models/openresponsesinputmessageitemroleuser.md - - docs/models/openresponsesinputmessageitemtype.md - - docs/models/openresponseslogprobs.md - - docs/models/openresponsesnonstreamingresponse.md - - docs/models/openresponsesnonstreamingresponsetoolfunction.md - - docs/models/openresponsesnonstreamingresponsetoolunion.md - - docs/models/openresponsesnonstreamingresponsetype.md - - docs/models/openresponsesreasoning.md - - docs/models/openresponsesreasoningconfig.md - - docs/models/openresponsesreasoningdeltaevent.md - - docs/models/openresponsesreasoningdeltaeventtype.md - - docs/models/openresponsesreasoningdoneevent.md - - docs/models/openresponsesreasoningdoneeventtype.md - - docs/models/openresponsesreasoningformat.md - - docs/models/openresponsesreasoningstatuscompleted.md - - docs/models/openresponsesreasoningstatusincomplete.md - - docs/models/openresponsesreasoningstatusinprogress.md - - docs/models/openresponsesreasoningstatusunion.md - - docs/models/openresponsesreasoningsummarypartaddedevent.md - - docs/models/openresponsesreasoningsummarypartaddedeventtype.md - - docs/models/openresponsesreasoningsummarytextdeltaevent.md - - docs/models/openresponsesreasoningsummarytextdeltaeventtype.md - - docs/models/openresponsesreasoningsummarytextdoneevent.md - - docs/models/openresponsesreasoningsummarytextdoneeventtype.md - - docs/models/openresponsesreasoningtype.md - - docs/models/openresponsesrequest.md - - docs/models/openresponsesrequesttoolfunction.md - - docs/models/openresponsesrequesttoolunion.md - - docs/models/openresponsesrequesttype.md - - docs/models/openresponsesresponsetext.md - - docs/models/openresponsesresponsetextverbosity.md - - docs/models/openresponsesstreamevent.md - - docs/models/openresponsesstreameventresponsecompleted.md - - docs/models/openresponsesstreameventresponsecontentpartadded.md - - docs/models/openresponsesstreameventresponsecontentpartdone.md - - docs/models/openresponsesstreameventresponsecreated.md - - docs/models/openresponsesstreameventresponsefailed.md - - docs/models/openresponsesstreameventresponsefunctioncallargumentsdelta.md - - docs/models/openresponsesstreameventresponsefunctioncallargumentsdone.md - - docs/models/openresponsesstreameventresponseincomplete.md - - docs/models/openresponsesstreameventresponseinprogress.md - - docs/models/openresponsesstreameventresponseoutputitemadded.md - - docs/models/openresponsesstreameventresponseoutputitemdone.md - - docs/models/openresponsesstreameventresponseoutputtextannotationadded.md - - docs/models/openresponsesstreameventresponseoutputtextdelta.md - - docs/models/openresponsesstreameventresponseoutputtextdone.md - - docs/models/openresponsesstreameventresponsereasoningsummarypartdone.md - - docs/models/openresponsesstreameventresponserefusaldelta.md - - docs/models/openresponsesstreameventresponserefusaldone.md - - docs/models/openresponsestoplogprobs.md - - docs/models/openresponsesusage.md - - docs/models/openresponseswebsearch20250826tool.md - - docs/models/openresponseswebsearch20250826toolfilters.md - - docs/models/openresponseswebsearch20250826tooltype.md - - docs/models/openresponseswebsearchpreview20250311tool.md - - docs/models/openresponseswebsearchpreview20250311tooltype.md - - docs/models/openresponseswebsearchpreviewtool.md - - docs/models/openresponseswebsearchpreviewtooltype.md - - docs/models/openresponseswebsearchtool.md - - docs/models/openresponseswebsearchtoolfilters.md - - docs/models/openresponseswebsearchtooltype.md - - docs/models/order.md - - docs/models/outputitemimagegenerationcall.md - - docs/models/outputitemimagegenerationcalltype.md - - docs/models/outputmessage.md - - docs/models/outputmessagecontent.md - - docs/models/outputmessagerole.md - - docs/models/outputmessagestatuscompleted.md - - docs/models/outputmessagestatusincomplete.md - - docs/models/outputmessagestatusinprogress.md - - docs/models/outputmessagestatusunion.md - - docs/models/outputmessagetype.md - - docs/models/outputmodality.md - - docs/models/outputtokensdetails.md - - docs/models/parameter.md - - docs/models/part1.md - - docs/models/part2.md - - docs/models/payloadtoolargeresponseerrordata.md - - docs/models/paymentrequiredresponseerrordata.md - - docs/models/pdf.md - - docs/models/pdfengine.md - - docs/models/perrequestlimits.md - - docs/models/plugin.md - - docs/models/pluginfileparser.md - - docs/models/pluginmoderation.md - - docs/models/pluginweb.md - - docs/models/pricing.md - - docs/models/prompt.md - - docs/models/prompttokensdetails.md - - docs/models/provider.md - - docs/models/providername.md - - docs/models/provideroverloadedresponseerrordata.md - - docs/models/publicendpoint.md - - docs/models/publicendpointquantization.md - - docs/models/publicpricing.md - - docs/models/quantization.md - - docs/models/ratelimit.md - - docs/models/reason.md - - docs/models/reasoning.md - - docs/models/reasoningsummarytext.md - - docs/models/reasoningsummarytexttype.md - - docs/models/reasoningsummaryverbosity.md - - docs/models/reasoningtextcontent.md - - docs/models/reasoningtextcontenttype.md - - docs/models/requesttimeoutresponseerrordata.md - - docs/models/responseformatjsonschema.md - - docs/models/responseformattextconfig.md - - docs/models/responseformattextgrammar.md - - docs/models/responseinputaudio.md - - docs/models/responseinputaudioformat.md - - docs/models/responseinputaudioinputaudio.md - - docs/models/responseinputaudiotype.md - - docs/models/responseinputfile.md - - docs/models/responseinputfiletype.md - - docs/models/responseinputimage.md - - docs/models/responseinputimagedetail.md - - docs/models/responseinputimagetype.md - - docs/models/responseinputtext.md - - docs/models/responseinputtexttype.md - - docs/models/responseoutputtext.md - - docs/models/responseoutputtexttype.md - - docs/models/responseserrorfield.md - - docs/models/responsesformatjsonobject.md - - docs/models/responsesformatjsonobjecttype.md - - docs/models/responsesformattext.md - - docs/models/responsesformattextjsonschemaconfig.md - - docs/models/responsesformattextjsonschemaconfigtype.md - - docs/models/responsesformattexttype.md - - docs/models/responsesimagegenerationcall.md - - docs/models/responsesimagegenerationcalltype.md - - docs/models/responsesoutputitem.md - - docs/models/responsesoutputitemfilesearchcall.md - - docs/models/responsesoutputitemfilesearchcalltype.md - - docs/models/responsesoutputitemfunctioncall.md - - docs/models/responsesoutputitemfunctioncallstatuscompleted.md - - docs/models/responsesoutputitemfunctioncallstatusincomplete.md - - docs/models/responsesoutputitemfunctioncallstatusinprogress.md - - docs/models/responsesoutputitemfunctioncallstatusunion.md - - docs/models/responsesoutputitemfunctioncalltype.md - - docs/models/responsesoutputitemreasoning.md - - docs/models/responsesoutputitemreasoningstatuscompleted.md - - docs/models/responsesoutputitemreasoningstatusincomplete.md - - docs/models/responsesoutputitemreasoningstatusinprogress.md - - docs/models/responsesoutputitemreasoningstatusunion.md - - docs/models/responsesoutputitemreasoningtype.md - - docs/models/responsesoutputmessage.md - - docs/models/responsesoutputmessagecontent.md - - docs/models/responsesoutputmessagerole.md - - docs/models/responsesoutputmessagestatuscompleted.md - - docs/models/responsesoutputmessagestatusincomplete.md - - docs/models/responsesoutputmessagestatusinprogress.md - - docs/models/responsesoutputmessagestatusunion.md - - docs/models/responsesoutputmessagetype.md - - docs/models/responsessearchcontextsize.md - - docs/models/responseswebsearchcalloutput.md - - docs/models/responseswebsearchcalloutputtype.md - - docs/models/responseswebsearchuserlocation.md - - docs/models/responseswebsearchuserlocationtype.md - - docs/models/responsetextconfig.md - - docs/models/responsetextconfigverbosity.md - - docs/models/security.md - - docs/models/sendchatcompletionrequestresponse.md - - docs/models/servicetier.md - - docs/models/serviceunavailableresponseerrordata.md - - docs/models/sort.md - - docs/models/streamoptions.md - - docs/models/supportedparameter.md - - docs/models/systemmessage.md - - docs/models/systemmessagecontent.md - - docs/models/tokenizer.md - - docs/models/toolcallstatus.md - - docs/models/tooldefinitionjson.md - - docs/models/tooldefinitionjsonfunction.md - - docs/models/toolresponsemessage.md - - docs/models/toolresponsemessagecontent.md - - docs/models/toomanyrequestsresponseerrordata.md - - docs/models/toplogprob.md - - docs/models/topproviderinfo.md - - docs/models/transferintent.md - - docs/models/truncation.md - - docs/models/type.md - - docs/models/typeresponsecompleted.md - - docs/models/typeresponsecontentpartadded.md - - docs/models/typeresponsecontentpartdone.md - - docs/models/typeresponsecreated.md - - docs/models/typeresponsefailed.md - - docs/models/typeresponsefunctioncallargumentsdelta.md - - docs/models/typeresponsefunctioncallargumentsdone.md - - docs/models/typeresponseincomplete.md - - docs/models/typeresponseinprogress.md - - docs/models/typeresponseoutputitemadded.md - - docs/models/typeresponseoutputitemdone.md - - docs/models/typeresponseoutputtextannotationadded.md - - docs/models/typeresponseoutputtextdelta.md - - docs/models/typeresponseoutputtextdone.md - - docs/models/typeresponsereasoningsummarypartdone.md - - docs/models/typeresponserefusaldelta.md - - docs/models/typeresponserefusaldone.md - - docs/models/unauthorizedresponseerrordata.md - - docs/models/unprocessableentityresponseerrordata.md - - docs/models/updatekeysdata.md - - docs/models/updatekeyslimitreset.md - - docs/models/updatekeysrequest.md - - docs/models/updatekeysrequestbody.md - - docs/models/updatekeysresponse.md - - docs/models/urlcitation.md - - docs/models/urlcitationtype.md - - docs/models/usage.md - - docs/models/usermessage.md - - docs/models/usermessagecontent.md - docs/models/utils/retryconfig.md - - docs/models/variables.md - - docs/models/videourl.md - - docs/models/web3data.md - - docs/models/websearchpreviewtooluserlocation.md - - docs/models/websearchpreviewtooluserlocationtype.md - - docs/models/websearchstatus.md + - docs/operations/apitype.md + - docs/operations/calldata.md + - docs/operations/createauthkeyscodecodechallengemethod.md + - docs/operations/createauthkeyscodedata.md + - docs/operations/createauthkeyscoderequest.md + - docs/operations/createauthkeyscoderesponse.md + - docs/operations/createcoinbasechargedata.md + - docs/operations/createcoinbasechargeresponse.md + - docs/operations/createcoinbasechargesecurity.md + - docs/operations/createembeddingsdata.md + - docs/operations/createembeddingsprovider.md + - docs/operations/createembeddingsrequest.md + - docs/operations/createembeddingsresponse.md + - docs/operations/createembeddingsresponsebody.md + - docs/operations/createkeysdata.md + - docs/operations/createkeyslimitreset.md + - docs/operations/createkeysrequest.md + - docs/operations/createkeysresponse.md + - docs/operations/createresponsesresponse.md + - docs/operations/createresponsesresponsebody.md + - docs/operations/datacollection.md + - docs/operations/deletekeysrequest.md + - docs/operations/deletekeysresponse.md + - docs/operations/embedding.md + - docs/operations/encodingformat.md + - docs/operations/encodingformatbase64.md + - docs/operations/encodingformatfloat.md + - docs/operations/exchangeauthcodeforapikeycodechallengemethod.md + - docs/operations/exchangeauthcodeforapikeyrequest.md + - docs/operations/exchangeauthcodeforapikeyresponse.md + - docs/operations/getcreditsresponse.md + - docs/operations/getcurrentkeydata.md + - docs/operations/getcurrentkeyresponse.md + - docs/operations/getgenerationdata.md + - docs/operations/getgenerationrequest.md + - docs/operations/getgenerationresponse.md + - docs/operations/getkeydata.md + - docs/operations/getkeyrequest.md + - docs/operations/getkeyresponse.md + - docs/operations/getmodelsrequest.md + - docs/operations/getparametersdata.md + - docs/operations/getparametersprovider.md + - docs/operations/getparametersrequest.md + - docs/operations/getparametersresponse.md + - docs/operations/getparameterssecurity.md + - docs/operations/getuseractivityrequest.md + - docs/operations/getuseractivityresponse.md + - docs/operations/ignore.md + - docs/operations/input.md + - docs/operations/listdata.md + - docs/operations/listendpointsrequest.md + - docs/operations/listendpointsresponse.md + - docs/operations/listendpointszdrresponse.md + - docs/operations/listmodelsusersecurity.md + - docs/operations/listprovidersdata.md + - docs/operations/listprovidersresponse.md + - docs/operations/listrequest.md + - docs/operations/listresponse.md + - docs/operations/maxprice.md + - docs/operations/metadata.md + - docs/operations/object.md + - docs/operations/objectembedding.md + - docs/operations/only.md + - docs/operations/order.md + - docs/operations/ratelimit.md + - docs/operations/sendchatcompletionrequestresponse.md + - docs/operations/sort.md + - docs/operations/supportedparameter.md + - docs/operations/transferintent.md + - docs/operations/updatekeysdata.md + - docs/operations/updatekeyslimitreset.md + - docs/operations/updatekeysrequest.md + - docs/operations/updatekeysrequestbody.md + - docs/operations/updatekeysresponse.md + - docs/operations/usage.md + - docs/operations/web3data.md - docs/sdks/analytics/README.md - docs/sdks/apikeys/README.md - docs/sdks/chat/README.md @@ -535,6 +535,148 @@ generatedFiles: - src/openrouter/beta.py - src/openrouter/chat.py - src/openrouter/completions.py + - src/openrouter/components/__init__.py + - src/openrouter/components/activityitem.py + - src/openrouter/components/assistantmessage.py + - src/openrouter/components/badgatewayresponseerrordata.py + - src/openrouter/components/badrequestresponseerrordata.py + - src/openrouter/components/chatcompletionfinishreason.py + - src/openrouter/components/chaterror.py + - src/openrouter/components/chatgenerationparams.py + - src/openrouter/components/chatgenerationtokenusage.py + - src/openrouter/components/chatmessagecontentitem.py + - src/openrouter/components/chatmessagecontentitemaudio.py + - src/openrouter/components/chatmessagecontentitemimage.py + - src/openrouter/components/chatmessagecontentitemtext.py + - src/openrouter/components/chatmessagecontentitemvideo.py + - src/openrouter/components/chatmessagetokenlogprob.py + - src/openrouter/components/chatmessagetokenlogprobs.py + - src/openrouter/components/chatmessagetoolcall.py + - src/openrouter/components/chatresponse.py + - src/openrouter/components/chatresponsechoice.py + - src/openrouter/components/chatstreamingchoice.py + - src/openrouter/components/chatstreamingmessagechunk.py + - src/openrouter/components/chatstreamingmessagetoolcall.py + - src/openrouter/components/chatstreamingresponsechunk.py + - src/openrouter/components/chatstreamoptions.py + - src/openrouter/components/completionchoice.py + - src/openrouter/components/completioncreateparams.py + - src/openrouter/components/completionlogprobs.py + - src/openrouter/components/completionresponse.py + - src/openrouter/components/completionusage.py + - src/openrouter/components/createchargerequest.py + - src/openrouter/components/defaultparameters.py + - src/openrouter/components/edgenetworktimeoutresponseerrordata.py + - src/openrouter/components/endpointstatus.py + - src/openrouter/components/filecitation.py + - src/openrouter/components/filepath.py + - src/openrouter/components/forbiddenresponseerrordata.py + - src/openrouter/components/imagegenerationstatus.py + - src/openrouter/components/inputmodality.py + - src/openrouter/components/instructtype.py + - src/openrouter/components/internalserverresponseerrordata.py + - src/openrouter/components/jsonschemaconfig.py + - src/openrouter/components/listendpointsresponse.py + - src/openrouter/components/message.py + - src/openrouter/components/model.py + - src/openrouter/components/modelarchitecture.py + - src/openrouter/components/modelgroup.py + - src/openrouter/components/modelscountresponse.py + - src/openrouter/components/modelslistresponse.py + - src/openrouter/components/namedtoolchoice.py + - src/openrouter/components/notfoundresponseerrordata.py + - src/openrouter/components/openairesponsesannotation.py + - src/openrouter/components/openairesponsesincludable.py + - src/openrouter/components/openairesponsesincompletedetails.py + - src/openrouter/components/openairesponsesinput_union.py + - src/openrouter/components/openairesponsesprompt.py + - src/openrouter/components/openairesponsesreasoningconfig.py + - src/openrouter/components/openairesponsesreasoningeffort.py + - src/openrouter/components/openairesponsesrefusalcontent.py + - src/openrouter/components/openairesponsesresponsestatus.py + - src/openrouter/components/openairesponsesservicetier.py + - src/openrouter/components/openairesponsestoolchoice_union.py + - src/openrouter/components/openairesponsestruncation.py + - src/openrouter/components/openresponseseasyinputmessage.py + - src/openrouter/components/openresponseserrorevent.py + - src/openrouter/components/openresponsesfunctioncalloutput.py + - src/openrouter/components/openresponsesfunctiontoolcall.py + - src/openrouter/components/openresponsesimagegencallcompleted.py + - src/openrouter/components/openresponsesimagegencallgenerating.py + - src/openrouter/components/openresponsesimagegencallinprogress.py + - src/openrouter/components/openresponsesimagegencallpartialimage.py + - src/openrouter/components/openresponsesinput.py + - src/openrouter/components/openresponsesinputmessageitem.py + - src/openrouter/components/openresponseslogprobs.py + - src/openrouter/components/openresponsesnonstreamingresponse.py + - src/openrouter/components/openresponsesreasoning.py + - src/openrouter/components/openresponsesreasoningconfig.py + - src/openrouter/components/openresponsesreasoningdeltaevent.py + - src/openrouter/components/openresponsesreasoningdoneevent.py + - src/openrouter/components/openresponsesreasoningsummarypartaddedevent.py + - src/openrouter/components/openresponsesreasoningsummarytextdeltaevent.py + - src/openrouter/components/openresponsesreasoningsummarytextdoneevent.py + - src/openrouter/components/openresponsesrequest.py + - src/openrouter/components/openresponsesresponsetext.py + - src/openrouter/components/openresponsesstreamevent.py + - src/openrouter/components/openresponsestoplogprobs.py + - src/openrouter/components/openresponsesusage.py + - src/openrouter/components/openresponseswebsearch20250826tool.py + - src/openrouter/components/openresponseswebsearchpreview20250311tool.py + - src/openrouter/components/openresponseswebsearchpreviewtool.py + - src/openrouter/components/openresponseswebsearchtool.py + - src/openrouter/components/outputitemimagegenerationcall.py + - src/openrouter/components/outputmessage.py + - src/openrouter/components/outputmodality.py + - src/openrouter/components/parameter.py + - src/openrouter/components/payloadtoolargeresponseerrordata.py + - src/openrouter/components/paymentrequiredresponseerrordata.py + - src/openrouter/components/perrequestlimits.py + - src/openrouter/components/providername.py + - src/openrouter/components/provideroverloadedresponseerrordata.py + - src/openrouter/components/publicendpoint.py + - src/openrouter/components/publicpricing.py + - src/openrouter/components/quantization.py + - src/openrouter/components/reasoningsummarytext.py + - src/openrouter/components/reasoningsummaryverbosity.py + - src/openrouter/components/reasoningtextcontent.py + - src/openrouter/components/requesttimeoutresponseerrordata.py + - src/openrouter/components/responseformatjsonschema.py + - src/openrouter/components/responseformattextconfig.py + - src/openrouter/components/responseformattextgrammar.py + - src/openrouter/components/responseinputaudio.py + - src/openrouter/components/responseinputfile.py + - src/openrouter/components/responseinputimage.py + - src/openrouter/components/responseinputtext.py + - src/openrouter/components/responseoutputtext.py + - src/openrouter/components/responseserrorfield.py + - src/openrouter/components/responsesformatjsonobject.py + - src/openrouter/components/responsesformattext.py + - src/openrouter/components/responsesformattextjsonschemaconfig.py + - src/openrouter/components/responsesimagegenerationcall.py + - src/openrouter/components/responsesoutputitem.py + - src/openrouter/components/responsesoutputitemfilesearchcall.py + - src/openrouter/components/responsesoutputitemfunctioncall.py + - src/openrouter/components/responsesoutputitemreasoning.py + - src/openrouter/components/responsesoutputmessage.py + - src/openrouter/components/responsessearchcontextsize.py + - src/openrouter/components/responseswebsearchcalloutput.py + - src/openrouter/components/responseswebsearchuserlocation.py + - src/openrouter/components/responsetextconfig.py + - src/openrouter/components/security.py + - src/openrouter/components/serviceunavailableresponseerrordata.py + - src/openrouter/components/systemmessage.py + - src/openrouter/components/toolcallstatus.py + - src/openrouter/components/tooldefinitionjson.py + - src/openrouter/components/toolresponsemessage.py + - src/openrouter/components/toomanyrequestsresponseerrordata.py + - src/openrouter/components/topproviderinfo.py + - src/openrouter/components/unauthorizedresponseerrordata.py + - src/openrouter/components/unprocessableentityresponseerrordata.py + - src/openrouter/components/urlcitation.py + - src/openrouter/components/usermessage.py + - src/openrouter/components/websearchpreviewtooluserlocation.py + - src/openrouter/components/websearchstatus.py - src/openrouter/credits.py - src/openrouter/embeddings.py - src/openrouter/endpoints.py @@ -560,171 +702,30 @@ generatedFiles: - src/openrouter/errors/unprocessableentityresponse_error.py - src/openrouter/generations.py - src/openrouter/httpclient.py - - src/openrouter/models/__init__.py - - src/openrouter/models/activityitem.py - - src/openrouter/models/assistantmessage.py - - src/openrouter/models/badgatewayresponseerrordata.py - - src/openrouter/models/badrequestresponseerrordata.py - - src/openrouter/models/chatcompletionfinishreason.py - - src/openrouter/models/chaterror.py - - src/openrouter/models/chatgenerationparams.py - - src/openrouter/models/chatgenerationtokenusage.py - - src/openrouter/models/chatmessagecontentitem.py - - src/openrouter/models/chatmessagecontentitemaudio.py - - src/openrouter/models/chatmessagecontentitemimage.py - - src/openrouter/models/chatmessagecontentitemtext.py - - src/openrouter/models/chatmessagecontentitemvideo.py - - src/openrouter/models/chatmessagetokenlogprob.py - - src/openrouter/models/chatmessagetokenlogprobs.py - - src/openrouter/models/chatmessagetoolcall.py - - src/openrouter/models/chatresponse.py - - src/openrouter/models/chatresponsechoice.py - - src/openrouter/models/chatstreamingchoice.py - - src/openrouter/models/chatstreamingmessagechunk.py - - src/openrouter/models/chatstreamingmessagetoolcall.py - - src/openrouter/models/chatstreamingresponsechunk.py - - src/openrouter/models/chatstreamoptions.py - - src/openrouter/models/completionchoice.py - - src/openrouter/models/completioncreateparams.py - - src/openrouter/models/completionlogprobs.py - - src/openrouter/models/completionresponse.py - - src/openrouter/models/completionusage.py - - src/openrouter/models/createauthkeyscodeop.py - - src/openrouter/models/createchargerequest.py - - src/openrouter/models/createcoinbasechargeop.py - - src/openrouter/models/createembeddingsop.py - - src/openrouter/models/createkeysop.py - - src/openrouter/models/createresponsesop.py - - src/openrouter/models/defaultparameters.py - - src/openrouter/models/deletekeysop.py - - src/openrouter/models/edgenetworktimeoutresponseerrordata.py - - src/openrouter/models/endpointstatus.py - - src/openrouter/models/exchangeauthcodeforapikeyop.py - - src/openrouter/models/filecitation.py - - src/openrouter/models/filepath.py - - src/openrouter/models/forbiddenresponseerrordata.py - - src/openrouter/models/getcreditsop.py - - src/openrouter/models/getcurrentkeyop.py - - src/openrouter/models/getgenerationop.py - - src/openrouter/models/getkeyop.py - - src/openrouter/models/getmodelsop.py - - src/openrouter/models/getparametersop.py - - src/openrouter/models/getuseractivityop.py - - src/openrouter/models/imagegenerationstatus.py - - src/openrouter/models/inputmodality.py - - src/openrouter/models/instructtype.py - - src/openrouter/models/internalserverresponseerrordata.py - - src/openrouter/models/jsonschemaconfig.py - - src/openrouter/models/listendpointsop.py - - src/openrouter/models/listendpointsresponse.py - - src/openrouter/models/listendpointszdrop.py - - src/openrouter/models/listmodelsuserop.py - - src/openrouter/models/listop.py - - src/openrouter/models/listprovidersop.py - - src/openrouter/models/message.py - - src/openrouter/models/model.py - - src/openrouter/models/modelarchitecture.py - - src/openrouter/models/modelgroup.py - - src/openrouter/models/modelscountresponse.py - - src/openrouter/models/modelslistresponse.py - - src/openrouter/models/namedtoolchoice.py - - src/openrouter/models/notfoundresponseerrordata.py - - src/openrouter/models/openairesponsesannotation.py - - src/openrouter/models/openairesponsesincludable.py - - src/openrouter/models/openairesponsesincompletedetails.py - - src/openrouter/models/openairesponsesinput_union.py - - src/openrouter/models/openairesponsesprompt.py - - src/openrouter/models/openairesponsesreasoningconfig.py - - src/openrouter/models/openairesponsesreasoningeffort.py - - src/openrouter/models/openairesponsesrefusalcontent.py - - src/openrouter/models/openairesponsesresponsestatus.py - - src/openrouter/models/openairesponsesservicetier.py - - src/openrouter/models/openairesponsestoolchoice_union.py - - src/openrouter/models/openairesponsestruncation.py - - src/openrouter/models/openresponseseasyinputmessage.py - - src/openrouter/models/openresponseserrorevent.py - - src/openrouter/models/openresponsesfunctioncalloutput.py - - src/openrouter/models/openresponsesfunctiontoolcall.py - - src/openrouter/models/openresponsesimagegencallcompleted.py - - src/openrouter/models/openresponsesimagegencallgenerating.py - - src/openrouter/models/openresponsesimagegencallinprogress.py - - src/openrouter/models/openresponsesimagegencallpartialimage.py - - src/openrouter/models/openresponsesinput.py - - src/openrouter/models/openresponsesinputmessageitem.py - - src/openrouter/models/openresponseslogprobs.py - - src/openrouter/models/openresponsesnonstreamingresponse.py - - src/openrouter/models/openresponsesreasoning.py - - src/openrouter/models/openresponsesreasoningconfig.py - - src/openrouter/models/openresponsesreasoningdeltaevent.py - - src/openrouter/models/openresponsesreasoningdoneevent.py - - src/openrouter/models/openresponsesreasoningsummarypartaddedevent.py - - src/openrouter/models/openresponsesreasoningsummarytextdeltaevent.py - - src/openrouter/models/openresponsesreasoningsummarytextdoneevent.py - - src/openrouter/models/openresponsesrequest.py - - src/openrouter/models/openresponsesresponsetext.py - - src/openrouter/models/openresponsesstreamevent.py - - src/openrouter/models/openresponsestoplogprobs.py - - src/openrouter/models/openresponsesusage.py - - src/openrouter/models/openresponseswebsearch20250826tool.py - - src/openrouter/models/openresponseswebsearchpreview20250311tool.py - - src/openrouter/models/openresponseswebsearchpreviewtool.py - - src/openrouter/models/openresponseswebsearchtool.py - - src/openrouter/models/outputitemimagegenerationcall.py - - src/openrouter/models/outputmessage.py - - src/openrouter/models/outputmodality.py - - src/openrouter/models/parameter.py - - src/openrouter/models/payloadtoolargeresponseerrordata.py - - src/openrouter/models/paymentrequiredresponseerrordata.py - - src/openrouter/models/perrequestlimits.py - - src/openrouter/models/providername.py - - src/openrouter/models/provideroverloadedresponseerrordata.py - - src/openrouter/models/publicendpoint.py - - src/openrouter/models/publicpricing.py - - src/openrouter/models/quantization.py - - src/openrouter/models/reasoningsummarytext.py - - src/openrouter/models/reasoningsummaryverbosity.py - - src/openrouter/models/reasoningtextcontent.py - - src/openrouter/models/requesttimeoutresponseerrordata.py - - src/openrouter/models/responseformatjsonschema.py - - src/openrouter/models/responseformattextconfig.py - - src/openrouter/models/responseformattextgrammar.py - - src/openrouter/models/responseinputaudio.py - - src/openrouter/models/responseinputfile.py - - src/openrouter/models/responseinputimage.py - - src/openrouter/models/responseinputtext.py - - src/openrouter/models/responseoutputtext.py - - src/openrouter/models/responseserrorfield.py - - src/openrouter/models/responsesformatjsonobject.py - - src/openrouter/models/responsesformattext.py - - src/openrouter/models/responsesformattextjsonschemaconfig.py - - src/openrouter/models/responsesimagegenerationcall.py - - src/openrouter/models/responsesoutputitem.py - - src/openrouter/models/responsesoutputitemfilesearchcall.py - - src/openrouter/models/responsesoutputitemfunctioncall.py - - src/openrouter/models/responsesoutputitemreasoning.py - - src/openrouter/models/responsesoutputmessage.py - - src/openrouter/models/responsessearchcontextsize.py - - src/openrouter/models/responseswebsearchcalloutput.py - - src/openrouter/models/responseswebsearchuserlocation.py - - src/openrouter/models/responsetextconfig.py - - src/openrouter/models/security.py - - src/openrouter/models/sendchatcompletionrequestop.py - - src/openrouter/models/serviceunavailableresponseerrordata.py - - src/openrouter/models/systemmessage.py - - src/openrouter/models/toolcallstatus.py - - src/openrouter/models/tooldefinitionjson.py - - src/openrouter/models/toolresponsemessage.py - - src/openrouter/models/toomanyrequestsresponseerrordata.py - - src/openrouter/models/topproviderinfo.py - - src/openrouter/models/unauthorizedresponseerrordata.py - - src/openrouter/models/unprocessableentityresponseerrordata.py - - src/openrouter/models/updatekeysop.py - - src/openrouter/models/urlcitation.py - - src/openrouter/models/usermessage.py - - src/openrouter/models/websearchpreviewtooluserlocation.py - - src/openrouter/models/websearchstatus.py - src/openrouter/models_.py - src/openrouter/oauth.py + - src/openrouter/operations/__init__.py + - src/openrouter/operations/createauthkeyscode.py + - src/openrouter/operations/createcoinbasecharge.py + - src/openrouter/operations/createembeddings.py + - src/openrouter/operations/createkeys.py + - src/openrouter/operations/createresponses.py + - src/openrouter/operations/deletekeys.py + - src/openrouter/operations/exchangeauthcodeforapikey.py + - src/openrouter/operations/getcredits.py + - src/openrouter/operations/getcurrentkey.py + - src/openrouter/operations/getgeneration.py + - src/openrouter/operations/getkey.py + - src/openrouter/operations/getmodels.py + - src/openrouter/operations/getparameters.py + - src/openrouter/operations/getuseractivity.py + - src/openrouter/operations/list.py + - src/openrouter/operations/listendpoints.py + - src/openrouter/operations/listendpointszdr.py + - src/openrouter/operations/listmodelsuser.py + - src/openrouter/operations/listproviders.py + - src/openrouter/operations/sendchatcompletionrequest.py + - src/openrouter/operations/updatekeys.py - src/openrouter/parameters.py - src/openrouter/providers.py - src/openrouter/py.typed diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 9a7f0be..1c9315a 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -30,7 +30,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: false python: - version: 0.0.8 + version: 0.0.14 additionalDependencies: dev: {} main: {} @@ -59,8 +59,8 @@ python: paths: callbacks: "" errors: errors - operations: "operations" - shared: "components" + operations: operations + shared: components webhooks: "" inputModelSuffix: input legacyPyright: false diff --git a/docs/models/activityitem.md b/docs/components/activityitem.md similarity index 100% rename from docs/models/activityitem.md rename to docs/components/activityitem.md diff --git a/docs/components/architecture.md b/docs/components/architecture.md new file mode 100644 index 0000000..f646f15 --- /dev/null +++ b/docs/components/architecture.md @@ -0,0 +1,14 @@ +# Architecture + +Model architecture information + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `tokenizer` | [Nullable[components.Tokenizer]](../components/tokenizer.md) | :heavy_check_mark: | N/A | GPT | +| `instruct_type` | [Nullable[components.InstructType]](../components/instructtype.md) | :heavy_check_mark: | Instruction format type | | +| `modality` | *Nullable[str]* | :heavy_check_mark: | Primary modality of the model | text | +| `input_modalities` | List[[components.InputModality](../components/inputmodality.md)] | :heavy_check_mark: | Supported input modalities | | +| `output_modalities` | List[[components.OutputModality](../components/outputmodality.md)] | :heavy_check_mark: | Supported output modalities | | \ No newline at end of file diff --git a/docs/models/websearchpreviewtooluserlocation.md b/docs/components/assistantmessage.md similarity index 67% rename from docs/models/websearchpreviewtooluserlocation.md rename to docs/components/assistantmessage.md index 9dc52fd..072fe37 100644 --- a/docs/models/websearchpreviewtooluserlocation.md +++ b/docs/components/assistantmessage.md @@ -1,12 +1,13 @@ -# WebSearchPreviewToolUserLocation +# AssistantMessage ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `type` | [models.WebSearchPreviewToolUserLocationType](../models/websearchpreviewtooluserlocationtype.md) | :heavy_check_mark: | N/A | -| `city` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `country` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `region` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `timezone` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `role` | *Literal["assistant"]* | :heavy_check_mark: | N/A | +| `content` | [OptionalNullable[components.AssistantMessageContent]](../components/assistantmessagecontent.md) | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `tool_calls` | List[[components.ChatMessageToolCall](../components/chatmessagetoolcall.md)] | :heavy_minus_sign: | N/A | +| `refusal` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `reasoning` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/assistantmessagecontent.md b/docs/components/assistantmessagecontent.md similarity index 51% rename from docs/models/assistantmessagecontent.md rename to docs/components/assistantmessagecontent.md index bd14bde..c264f5e 100644 --- a/docs/models/assistantmessagecontent.md +++ b/docs/components/assistantmessagecontent.md @@ -9,9 +9,9 @@ value: str = /* values here */ ``` -### `List[models.ChatMessageContentItem]` +### `List[components.ChatMessageContentItem]` ```python -value: List[models.ChatMessageContentItem] = /* values here */ +value: List[components.ChatMessageContentItem] = /* values here */ ``` diff --git a/docs/models/badgatewayresponseerrordata.md b/docs/components/badgatewayresponseerrordata.md similarity index 100% rename from docs/models/badgatewayresponseerrordata.md rename to docs/components/badgatewayresponseerrordata.md diff --git a/docs/models/badrequestresponseerrordata.md b/docs/components/badrequestresponseerrordata.md similarity index 100% rename from docs/models/badrequestresponseerrordata.md rename to docs/components/badrequestresponseerrordata.md diff --git a/docs/models/chainid.md b/docs/components/chainid.md similarity index 100% rename from docs/models/chainid.md rename to docs/components/chainid.md diff --git a/docs/models/chatcompletionfinishreason.md b/docs/components/chatcompletionfinishreason.md similarity index 100% rename from docs/models/chatcompletionfinishreason.md rename to docs/components/chatcompletionfinishreason.md diff --git a/docs/models/chatmessagetokenlogprob.md b/docs/components/chaterrorerror.md similarity index 64% rename from docs/models/chatmessagetokenlogprob.md rename to docs/components/chaterrorerror.md index 0d3d72a..42b0086 100644 --- a/docs/models/chatmessagetokenlogprob.md +++ b/docs/components/chaterrorerror.md @@ -1,11 +1,11 @@ -# ChatMessageTokenLogprob +# ChatErrorError ## Fields | Field | Type | Required | Description | | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `token` | *str* | :heavy_check_mark: | N/A | -| `logprob` | *float* | :heavy_check_mark: | N/A | -| `bytes_` | List[*float*] | :heavy_check_mark: | N/A | -| `top_logprobs` | List[[models.TopLogprob](../models/toplogprob.md)] | :heavy_check_mark: | N/A | \ No newline at end of file +| `code` | [Nullable[components.Code]](../components/code.md) | :heavy_check_mark: | N/A | +| `message` | *str* | :heavy_check_mark: | N/A | +| `param` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/components/chatgenerationparams.md b/docs/components/chatgenerationparams.md new file mode 100644 index 0000000..238044f --- /dev/null +++ b/docs/components/chatgenerationparams.md @@ -0,0 +1,29 @@ +# ChatGenerationParams + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `messages` | List[[components.Message](../components/message.md)] | :heavy_check_mark: | N/A | +| `model` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `models` | List[*str*] | :heavy_minus_sign: | N/A | +| `frequency_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `logit_bias` | Dict[str, *float*] | :heavy_minus_sign: | N/A | +| `logprobs` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `top_logprobs` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `max_completion_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `max_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `metadata` | Dict[str, *str*] | :heavy_minus_sign: | N/A | +| `presence_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `reasoning` | [Optional[components.Reasoning]](../components/reasoning.md) | :heavy_minus_sign: | N/A | +| `response_format` | [Optional[components.ChatGenerationParamsResponseFormatUnion]](../components/chatgenerationparamsresponseformatunion.md) | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `stop` | [OptionalNullable[components.ChatGenerationParamsStop]](../components/chatgenerationparamsstop.md) | :heavy_minus_sign: | N/A | +| `stream` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `stream_options` | [OptionalNullable[components.ChatStreamOptions]](../components/chatstreamoptions.md) | :heavy_minus_sign: | N/A | +| `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `tool_choice` | *Optional[Any]* | :heavy_minus_sign: | N/A | +| `tools` | List[[components.ToolDefinitionJSON](../components/tooldefinitionjson.md)] | :heavy_minus_sign: | N/A | +| `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/chatgenerationparamsresponseformatjsonobject.md b/docs/components/chatgenerationparamsresponseformatjsonobject.md similarity index 100% rename from docs/models/chatgenerationparamsresponseformatjsonobject.md rename to docs/components/chatgenerationparamsresponseformatjsonobject.md diff --git a/docs/models/chatgenerationparamsresponseformatpython.md b/docs/components/chatgenerationparamsresponseformatpython.md similarity index 100% rename from docs/models/chatgenerationparamsresponseformatpython.md rename to docs/components/chatgenerationparamsresponseformatpython.md diff --git a/docs/models/chatgenerationparamsresponseformattext.md b/docs/components/chatgenerationparamsresponseformattext.md similarity index 100% rename from docs/models/chatgenerationparamsresponseformattext.md rename to docs/components/chatgenerationparamsresponseformattext.md diff --git a/docs/components/chatgenerationparamsresponseformatunion.md b/docs/components/chatgenerationparamsresponseformatunion.md new file mode 100644 index 0000000..19f2e8c --- /dev/null +++ b/docs/components/chatgenerationparamsresponseformatunion.md @@ -0,0 +1,35 @@ +# ChatGenerationParamsResponseFormatUnion + + +## Supported Types + +### `components.ChatGenerationParamsResponseFormatText` + +```python +value: components.ChatGenerationParamsResponseFormatText = /* values here */ +``` + +### `components.ChatGenerationParamsResponseFormatJSONObject` + +```python +value: components.ChatGenerationParamsResponseFormatJSONObject = /* values here */ +``` + +### `components.ResponseFormatJSONSchema` + +```python +value: components.ResponseFormatJSONSchema = /* values here */ +``` + +### `components.ResponseFormatTextGrammar` + +```python +value: components.ResponseFormatTextGrammar = /* values here */ +``` + +### `components.ChatGenerationParamsResponseFormatPython` + +```python +value: components.ChatGenerationParamsResponseFormatPython = /* values here */ +``` + diff --git a/docs/models/chatgenerationparamsstop.md b/docs/components/chatgenerationparamsstop.md similarity index 100% rename from docs/models/chatgenerationparamsstop.md rename to docs/components/chatgenerationparamsstop.md diff --git a/docs/models/openresponsesreasoningdeltaevent.md b/docs/components/chatgenerationtokenusage.md similarity index 63% rename from docs/models/openresponsesreasoningdeltaevent.md rename to docs/components/chatgenerationtokenusage.md index ef8d648..778e390 100644 --- a/docs/models/openresponsesreasoningdeltaevent.md +++ b/docs/components/chatgenerationtokenusage.md @@ -1,15 +1,12 @@ -# OpenResponsesReasoningDeltaEvent - -Event emitted when reasoning text delta is streamed +# ChatGenerationTokenUsage ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `type` | [models.OpenResponsesReasoningDeltaEventType](../models/openresponsesreasoningdeltaeventtype.md) | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `content_index` | *float* | :heavy_check_mark: | N/A | -| `delta` | *str* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file +| `completion_tokens` | *float* | :heavy_check_mark: | N/A | +| `prompt_tokens` | *float* | :heavy_check_mark: | N/A | +| `total_tokens` | *float* | :heavy_check_mark: | N/A | +| `completion_tokens_details` | [OptionalNullable[components.CompletionTokensDetails]](../components/completiontokensdetails.md) | :heavy_minus_sign: | N/A | +| `prompt_tokens_details` | [OptionalNullable[components.PromptTokensDetails]](../components/prompttokensdetails.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/components/chatmessagecontentitem.md b/docs/components/chatmessagecontentitem.md new file mode 100644 index 0000000..52ee47c --- /dev/null +++ b/docs/components/chatmessagecontentitem.md @@ -0,0 +1,29 @@ +# ChatMessageContentItem + + +## Supported Types + +### `components.ChatMessageContentItemText` + +```python +value: components.ChatMessageContentItemText = /* values here */ +``` + +### `components.ChatMessageContentItemImage` + +```python +value: components.ChatMessageContentItemImage = /* values here */ +``` + +### `components.ChatMessageContentItemAudio` + +```python +value: components.ChatMessageContentItemAudio = /* values here */ +``` + +### `components.ChatMessageContentItemVideo` + +```python +value: components.ChatMessageContentItemVideo = /* values here */ +``` + diff --git a/docs/components/chatmessagecontentitemaudio.md b/docs/components/chatmessagecontentitemaudio.md new file mode 100644 index 0000000..1555e22 --- /dev/null +++ b/docs/components/chatmessagecontentitemaudio.md @@ -0,0 +1,9 @@ +# ChatMessageContentItemAudio + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `type` | *Literal["input_audio"]* | :heavy_check_mark: | N/A | +| `input_audio` | [components.ChatMessageContentItemAudioInputAudio](../components/chatmessagecontentitemaudioinputaudio.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/chatmessagecontentitemaudioformat.md b/docs/components/chatmessagecontentitemaudioformat.md similarity index 100% rename from docs/models/chatmessagecontentitemaudioformat.md rename to docs/components/chatmessagecontentitemaudioformat.md diff --git a/docs/models/chatmessagecontentitemaudio.md b/docs/components/chatmessagecontentitemaudioinputaudio.md similarity index 74% rename from docs/models/chatmessagecontentitemaudio.md rename to docs/components/chatmessagecontentitemaudioinputaudio.md index 5f889dd..3665698 100644 --- a/docs/models/chatmessagecontentitemaudio.md +++ b/docs/components/chatmessagecontentitemaudioinputaudio.md @@ -1,9 +1,9 @@ -# ChatMessageContentItemAudio +# ChatMessageContentItemAudioInputAudio ## Fields | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `type` | *Literal["input_audio"]* | :heavy_check_mark: | N/A | -| `input_audio` | [models.ChatMessageContentItemAudioInputAudio](../models/chatmessagecontentitemaudioinputaudio.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `data` | *str* | :heavy_check_mark: | N/A | +| `format_` | [components.ChatMessageContentItemAudioFormat](../components/chatmessagecontentitemaudioformat.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/pluginfileparser.md b/docs/components/chatmessagecontentitemimage.md similarity index 54% rename from docs/models/pluginfileparser.md rename to docs/components/chatmessagecontentitemimage.md index c49e7aa..f177bf7 100644 --- a/docs/models/pluginfileparser.md +++ b/docs/components/chatmessagecontentitemimage.md @@ -1,10 +1,9 @@ -# PluginFileParser +# ChatMessageContentItemImage ## Fields | Field | Type | Required | Description | | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `id` | [models.IDFileParser](../models/idfileparser.md) | :heavy_check_mark: | N/A | -| `max_files` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `pdf` | [Optional[models.Pdf]](../models/pdf.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `type` | *Literal["image_url"]* | :heavy_check_mark: | N/A | +| `image_url` | [components.ImageURL](../components/imageurl.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/chatmessagecontentitemimagedetail.md b/docs/components/chatmessagecontentitemimagedetail.md similarity index 100% rename from docs/models/chatmessagecontentitemimagedetail.md rename to docs/components/chatmessagecontentitemimagedetail.md diff --git a/docs/models/chatmessagecontentitemtext.md b/docs/components/chatmessagecontentitemtext.md similarity index 100% rename from docs/models/chatmessagecontentitemtext.md rename to docs/components/chatmessagecontentitemtext.md diff --git a/docs/components/chatmessagecontentitemvideo.md b/docs/components/chatmessagecontentitemvideo.md new file mode 100644 index 0000000..e7c6354 --- /dev/null +++ b/docs/components/chatmessagecontentitemvideo.md @@ -0,0 +1,9 @@ +# ChatMessageContentItemVideo + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `type` | *Literal["input_video"]* | :heavy_check_mark: | N/A | +| `video_url` | [components.VideoURL](../components/videourl.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/chatmessagetokenlogprob.md b/docs/components/chatmessagetokenlogprob.md new file mode 100644 index 0000000..d5a5bbb --- /dev/null +++ b/docs/components/chatmessagetokenlogprob.md @@ -0,0 +1,11 @@ +# ChatMessageTokenLogprob + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `token` | *str* | :heavy_check_mark: | N/A | +| `logprob` | *float* | :heavy_check_mark: | N/A | +| `bytes_` | List[*float*] | :heavy_check_mark: | N/A | +| `top_logprobs` | List[[components.TopLogprob](../components/toplogprob.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/chatmessagetokenlogprobs.md b/docs/components/chatmessagetokenlogprobs.md new file mode 100644 index 0000000..cadf699 --- /dev/null +++ b/docs/components/chatmessagetokenlogprobs.md @@ -0,0 +1,9 @@ +# ChatMessageTokenLogprobs + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `content` | List[[components.ChatMessageTokenLogprob](../components/chatmessagetokenlogprob.md)] | :heavy_check_mark: | N/A | +| `refusal` | List[[components.ChatMessageTokenLogprob](../components/chatmessagetokenlogprob.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/chatmessagetoolcall.md b/docs/components/chatmessagetoolcall.md new file mode 100644 index 0000000..852ed42 --- /dev/null +++ b/docs/components/chatmessagetoolcall.md @@ -0,0 +1,10 @@ +# ChatMessageToolCall + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | N/A | +| `type` | *Literal["function"]* | :heavy_check_mark: | N/A | +| `function` | [components.ChatMessageToolCallFunction](../components/chatmessagetoolcallfunction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/chatmessagetoolcallfunction.md b/docs/components/chatmessagetoolcallfunction.md similarity index 100% rename from docs/models/chatmessagetoolcallfunction.md rename to docs/components/chatmessagetoolcallfunction.md diff --git a/docs/components/chatresponse.md b/docs/components/chatresponse.md new file mode 100644 index 0000000..58fd76f --- /dev/null +++ b/docs/components/chatresponse.md @@ -0,0 +1,14 @@ +# ChatResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `id` | *str* | :heavy_check_mark: | N/A | +| `choices` | List[[components.ChatResponseChoice](../components/chatresponsechoice.md)] | :heavy_check_mark: | N/A | +| `created` | *float* | :heavy_check_mark: | N/A | +| `model` | *str* | :heavy_check_mark: | N/A | +| `object` | *Literal["chat.completion"]* | :heavy_check_mark: | N/A | +| `system_fingerprint` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `usage` | [Optional[components.ChatGenerationTokenUsage]](../components/chatgenerationtokenusage.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsesinputmessage2.md b/docs/components/chatresponsechoice.md similarity index 65% rename from docs/models/openairesponsesinputmessage2.md rename to docs/components/chatresponsechoice.md index e96c6a3..54b4a32 100644 --- a/docs/models/openairesponsesinputmessage2.md +++ b/docs/components/chatresponsechoice.md @@ -1,11 +1,11 @@ -# OpenAIResponsesInputMessage2 +# ChatResponseChoice ## Fields | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | N/A | -| `type` | [Optional[models.OpenAIResponsesInputTypeMessage2]](../models/openairesponsesinputtypemessage2.md) | :heavy_minus_sign: | N/A | -| `role` | [models.OpenAIResponsesInputRoleUnion2](../models/openairesponsesinputroleunion2.md) | :heavy_check_mark: | N/A | -| `content` | List[[models.OpenAIResponsesInputContent3](../models/openairesponsesinputcontent3.md)] | :heavy_check_mark: | N/A | \ No newline at end of file +| `finish_reason` | [Nullable[components.ChatCompletionFinishReason]](../components/chatcompletionfinishreason.md) | :heavy_check_mark: | N/A | +| `index` | *float* | :heavy_check_mark: | N/A | +| `message` | [components.AssistantMessage](../components/assistantmessage.md) | :heavy_check_mark: | N/A | +| `logprobs` | [OptionalNullable[components.ChatMessageTokenLogprobs]](../components/chatmessagetokenlogprobs.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsesinputmessage1.md b/docs/components/chatstreamingchoice.md similarity index 56% rename from docs/models/openairesponsesinputmessage1.md rename to docs/components/chatstreamingchoice.md index 974bced..74b22e3 100644 --- a/docs/models/openairesponsesinputmessage1.md +++ b/docs/components/chatstreamingchoice.md @@ -1,10 +1,11 @@ -# OpenAIResponsesInputMessage1 +# ChatStreamingChoice ## Fields | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `type` | [Optional[models.OpenAIResponsesInputTypeMessage1]](../models/openairesponsesinputtypemessage1.md) | :heavy_minus_sign: | N/A | -| `role` | [models.OpenAIResponsesInputRoleUnion1](../models/openairesponsesinputroleunion1.md) | :heavy_check_mark: | N/A | -| `content` | [models.OpenAIResponsesInputContent2](../models/openairesponsesinputcontent2.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `delta` | [components.ChatStreamingMessageChunk](../components/chatstreamingmessagechunk.md) | :heavy_check_mark: | N/A | +| `finish_reason` | [Nullable[components.ChatCompletionFinishReason]](../components/chatcompletionfinishreason.md) | :heavy_check_mark: | N/A | +| `index` | *float* | :heavy_check_mark: | N/A | +| `logprobs` | [OptionalNullable[components.ChatMessageTokenLogprobs]](../components/chatmessagetokenlogprobs.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responsesoutputmessage.md b/docs/components/chatstreamingmessagechunk.md similarity index 61% rename from docs/models/responsesoutputmessage.md rename to docs/components/chatstreamingmessagechunk.md index 1722795..ceada75 100644 --- a/docs/models/responsesoutputmessage.md +++ b/docs/components/chatstreamingmessagechunk.md @@ -1,14 +1,12 @@ -# ResponsesOutputMessage - -An output message item +# ChatStreamingMessageChunk ## Fields | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | N/A | -| `role` | [models.ResponsesOutputMessageRole](../models/responsesoutputmessagerole.md) | :heavy_check_mark: | N/A | -| `type` | [models.ResponsesOutputMessageType](../models/responsesoutputmessagetype.md) | :heavy_check_mark: | N/A | -| `status` | [Optional[models.ResponsesOutputMessageStatusUnion]](../models/responsesoutputmessagestatusunion.md) | :heavy_minus_sign: | N/A | -| `content` | List[[models.ResponsesOutputMessageContent](../models/responsesoutputmessagecontent.md)] | :heavy_check_mark: | N/A | \ No newline at end of file +| `role` | [Optional[components.ChatStreamingMessageChunkRole]](../components/chatstreamingmessagechunkrole.md) | :heavy_minus_sign: | N/A | +| `content` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `reasoning` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `refusal` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `tool_calls` | List[[components.ChatStreamingMessageToolCall](../components/chatstreamingmessagetoolcall.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/chatstreamingmessagechunkrole.md b/docs/components/chatstreamingmessagechunkrole.md similarity index 100% rename from docs/models/chatstreamingmessagechunkrole.md rename to docs/components/chatstreamingmessagechunkrole.md diff --git a/docs/components/chatstreamingmessagetoolcall.md b/docs/components/chatstreamingmessagetoolcall.md new file mode 100644 index 0000000..4b3b687 --- /dev/null +++ b/docs/components/chatstreamingmessagetoolcall.md @@ -0,0 +1,11 @@ +# ChatStreamingMessageToolCall + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `index` | *float* | :heavy_check_mark: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `type` | *Optional[Literal["function"]]* | :heavy_minus_sign: | N/A | +| `function` | [Optional[components.ChatStreamingMessageToolCallFunction]](../components/chatstreamingmessagetoolcallfunction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/chatstreamingmessagetoolcallfunction.md b/docs/components/chatstreamingmessagetoolcallfunction.md similarity index 100% rename from docs/models/chatstreamingmessagetoolcallfunction.md rename to docs/components/chatstreamingmessagetoolcallfunction.md diff --git a/docs/models/reasoning.md b/docs/components/chatstreamingresponsechunk.md similarity index 58% rename from docs/models/reasoning.md rename to docs/components/chatstreamingresponsechunk.md index efb211b..a49a334 100644 --- a/docs/models/reasoning.md +++ b/docs/components/chatstreamingresponsechunk.md @@ -1,9 +1,8 @@ -# Reasoning +# ChatStreamingResponseChunk ## Fields | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `effort` | [OptionalNullable[models.Effort]](../models/effort.md) | :heavy_minus_sign: | N/A | -| `summary` | [OptionalNullable[models.ReasoningSummaryVerbosity]](../models/reasoningsummaryverbosity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `data` | [components.ChatStreamingResponseChunkData](../components/chatstreamingresponsechunkdata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/chatstreamingresponsechunkdata.md b/docs/components/chatstreamingresponsechunkdata.md new file mode 100644 index 0000000..2439bc8 --- /dev/null +++ b/docs/components/chatstreamingresponsechunkdata.md @@ -0,0 +1,15 @@ +# ChatStreamingResponseChunkData + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | N/A | +| `choices` | List[[components.ChatStreamingChoice](../components/chatstreamingchoice.md)] | :heavy_check_mark: | N/A | +| `created` | *float* | :heavy_check_mark: | N/A | +| `model` | *str* | :heavy_check_mark: | N/A | +| `object` | *Literal["chat.completion.chunk"]* | :heavy_check_mark: | N/A | +| `system_fingerprint` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `error` | [Optional[components.ChatStreamingResponseChunkError]](../components/chatstreamingresponsechunkerror.md) | :heavy_minus_sign: | N/A | +| `usage` | [Optional[components.ChatGenerationTokenUsage]](../components/chatgenerationtokenusage.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/chatstreamingresponsechunkerror.md b/docs/components/chatstreamingresponsechunkerror.md similarity index 100% rename from docs/models/chatstreamingresponsechunkerror.md rename to docs/components/chatstreamingresponsechunkerror.md diff --git a/docs/models/chatstreamoptions.md b/docs/components/chatstreamoptions.md similarity index 100% rename from docs/models/chatstreamoptions.md rename to docs/components/chatstreamoptions.md diff --git a/docs/models/code.md b/docs/components/code.md similarity index 100% rename from docs/models/code.md rename to docs/components/code.md diff --git a/docs/models/codeenum.md b/docs/components/codeenum.md similarity index 100% rename from docs/models/codeenum.md rename to docs/components/codeenum.md diff --git a/docs/components/completionchoice.md b/docs/components/completionchoice.md new file mode 100644 index 0000000..758eea9 --- /dev/null +++ b/docs/components/completionchoice.md @@ -0,0 +1,11 @@ +# CompletionChoice + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `text` | *str* | :heavy_check_mark: | N/A | +| `index` | *float* | :heavy_check_mark: | N/A | +| `logprobs` | [Nullable[components.CompletionLogprobs]](../components/completionlogprobs.md) | :heavy_check_mark: | N/A | +| `finish_reason` | [Nullable[components.CompletionFinishReason]](../components/completionfinishreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/completioncreateparams.md b/docs/components/completioncreateparams.md new file mode 100644 index 0000000..7f7c9f4 --- /dev/null +++ b/docs/components/completioncreateparams.md @@ -0,0 +1,28 @@ +# CompletionCreateParams + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `model` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `models` | List[*str*] | :heavy_minus_sign: | N/A | +| `prompt` | [components.Prompt](../components/prompt.md) | :heavy_check_mark: | N/A | +| `best_of` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `echo` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `frequency_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `logit_bias` | Dict[str, *float*] | :heavy_minus_sign: | N/A | +| `logprobs` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `max_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `n` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `presence_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `stop` | [OptionalNullable[components.CompletionCreateParamsStop]](../components/completioncreateparamsstop.md) | :heavy_minus_sign: | N/A | +| `stream` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `stream_options` | [OptionalNullable[components.StreamOptions]](../components/streamoptions.md) | :heavy_minus_sign: | N/A | +| `suffix` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `metadata` | Dict[str, *str*] | :heavy_minus_sign: | N/A | +| `response_format` | [OptionalNullable[components.CompletionCreateParamsResponseFormatUnion]](../components/completioncreateparamsresponseformatunion.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/completioncreateparamsresponseformatjsonobject.md b/docs/components/completioncreateparamsresponseformatjsonobject.md similarity index 100% rename from docs/models/completioncreateparamsresponseformatjsonobject.md rename to docs/components/completioncreateparamsresponseformatjsonobject.md diff --git a/docs/models/completioncreateparamsresponseformatpython.md b/docs/components/completioncreateparamsresponseformatpython.md similarity index 100% rename from docs/models/completioncreateparamsresponseformatpython.md rename to docs/components/completioncreateparamsresponseformatpython.md diff --git a/docs/models/completioncreateparamsresponseformattext.md b/docs/components/completioncreateparamsresponseformattext.md similarity index 100% rename from docs/models/completioncreateparamsresponseformattext.md rename to docs/components/completioncreateparamsresponseformattext.md diff --git a/docs/components/completioncreateparamsresponseformatunion.md b/docs/components/completioncreateparamsresponseformatunion.md new file mode 100644 index 0000000..53050dc --- /dev/null +++ b/docs/components/completioncreateparamsresponseformatunion.md @@ -0,0 +1,35 @@ +# CompletionCreateParamsResponseFormatUnion + + +## Supported Types + +### `components.CompletionCreateParamsResponseFormatText` + +```python +value: components.CompletionCreateParamsResponseFormatText = /* values here */ +``` + +### `components.CompletionCreateParamsResponseFormatJSONObject` + +```python +value: components.CompletionCreateParamsResponseFormatJSONObject = /* values here */ +``` + +### `components.ResponseFormatJSONSchema` + +```python +value: components.ResponseFormatJSONSchema = /* values here */ +``` + +### `components.ResponseFormatTextGrammar` + +```python +value: components.ResponseFormatTextGrammar = /* values here */ +``` + +### `components.CompletionCreateParamsResponseFormatPython` + +```python +value: components.CompletionCreateParamsResponseFormatPython = /* values here */ +``` + diff --git a/docs/models/completioncreateparamsstop.md b/docs/components/completioncreateparamsstop.md similarity index 100% rename from docs/models/completioncreateparamsstop.md rename to docs/components/completioncreateparamsstop.md diff --git a/docs/models/completionfinishreason.md b/docs/components/completionfinishreason.md similarity index 100% rename from docs/models/completionfinishreason.md rename to docs/components/completionfinishreason.md diff --git a/docs/models/completionlogprobs.md b/docs/components/completionlogprobs.md similarity index 100% rename from docs/models/completionlogprobs.md rename to docs/components/completionlogprobs.md diff --git a/docs/models/openresponsesstreameventresponserefusaldelta.md b/docs/components/completionresponse.md similarity index 62% rename from docs/models/openresponsesstreameventresponserefusaldelta.md rename to docs/components/completionresponse.md index 1162cc2..404f19d 100644 --- a/docs/models/openresponsesstreameventresponserefusaldelta.md +++ b/docs/components/completionresponse.md @@ -1,15 +1,14 @@ -# OpenResponsesStreamEventResponseRefusalDelta - -Event emitted when a refusal delta is streamed +# CompletionResponse ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `type` | [models.TypeResponseRefusalDelta](../models/typeresponserefusaldelta.md) | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `content_index` | *float* | :heavy_check_mark: | N/A | -| `delta` | *str* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | N/A | +| `object` | *Literal["text_completion"]* | :heavy_check_mark: | N/A | +| `created` | *float* | :heavy_check_mark: | N/A | +| `model` | *str* | :heavy_check_mark: | N/A | +| `system_fingerprint` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `choices` | List[[components.CompletionChoice](../components/completionchoice.md)] | :heavy_check_mark: | N/A | +| `usage` | [Optional[components.CompletionUsage]](../components/completionusage.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/completiontokensdetails.md b/docs/components/completiontokensdetails.md similarity index 100% rename from docs/models/completiontokensdetails.md rename to docs/components/completiontokensdetails.md diff --git a/docs/models/completionusage.md b/docs/components/completionusage.md similarity index 100% rename from docs/models/completionusage.md rename to docs/components/completionusage.md diff --git a/docs/models/costdetails.md b/docs/components/costdetails.md similarity index 100% rename from docs/models/costdetails.md rename to docs/components/costdetails.md diff --git a/docs/models/pluginweb.md b/docs/components/createchargerequest.md similarity index 50% rename from docs/models/pluginweb.md rename to docs/components/createchargerequest.md index 50e2c17..e789e8f 100644 --- a/docs/models/pluginweb.md +++ b/docs/components/createchargerequest.md @@ -1,11 +1,12 @@ -# PluginWeb +# CreateChargeRequest + +Create a Coinbase charge for crypto payment ## Fields | Field | Type | Required | Description | | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `id` | [models.IDWeb](../models/idweb.md) | :heavy_check_mark: | N/A | -| `max_results` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `search_prompt` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `engine` | [Optional[models.Engine]](../models/engine.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `amount` | *float* | :heavy_check_mark: | N/A | +| `sender` | *str* | :heavy_check_mark: | N/A | +| `chain_id` | [components.ChainID](../components/chainid.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/datacollection.md b/docs/components/datacollection.md similarity index 100% rename from docs/models/datacollection.md rename to docs/components/datacollection.md diff --git a/docs/models/defaultparameters.md b/docs/components/defaultparameters.md similarity index 100% rename from docs/models/defaultparameters.md rename to docs/components/defaultparameters.md diff --git a/docs/models/edgenetworktimeoutresponseerrordata.md b/docs/components/edgenetworktimeoutresponseerrordata.md similarity index 100% rename from docs/models/edgenetworktimeoutresponseerrordata.md rename to docs/components/edgenetworktimeoutresponseerrordata.md diff --git a/docs/models/effort.md b/docs/components/effort.md similarity index 100% rename from docs/models/effort.md rename to docs/components/effort.md diff --git a/docs/models/endpointstatus.md b/docs/components/endpointstatus.md similarity index 100% rename from docs/models/endpointstatus.md rename to docs/components/endpointstatus.md diff --git a/docs/models/engine.md b/docs/components/engine.md similarity index 100% rename from docs/models/engine.md rename to docs/components/engine.md diff --git a/docs/models/systemmessage.md b/docs/components/filecitation.md similarity index 51% rename from docs/models/systemmessage.md rename to docs/components/filecitation.md index 3458a7a..d967303 100644 --- a/docs/models/systemmessage.md +++ b/docs/components/filecitation.md @@ -1,10 +1,11 @@ -# SystemMessage +# FileCitation ## Fields | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `role` | *Literal["system"]* | :heavy_check_mark: | N/A | -| `content` | [models.SystemMessageContent](../models/systemmessagecontent.md) | :heavy_check_mark: | N/A | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `type` | [components.FileCitationType](../components/filecitationtype.md) | :heavy_check_mark: | N/A | +| `file_id` | *str* | :heavy_check_mark: | N/A | +| `filename` | *str* | :heavy_check_mark: | N/A | +| `index` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filecitationtype.md b/docs/components/filecitationtype.md similarity index 100% rename from docs/models/filecitationtype.md rename to docs/components/filecitationtype.md diff --git a/docs/models/filecitation.md b/docs/components/filepath.md similarity index 73% rename from docs/models/filecitation.md rename to docs/components/filepath.md index b2eb3fb..68dc392 100644 --- a/docs/models/filecitation.md +++ b/docs/components/filepath.md @@ -1,11 +1,10 @@ -# FileCitation +# FilePath ## Fields | Field | Type | Required | Description | | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `type` | [models.FileCitationType](../models/filecitationtype.md) | :heavy_check_mark: | N/A | +| `type` | [components.FilePathType](../components/filepathtype.md) | :heavy_check_mark: | N/A | | `file_id` | *str* | :heavy_check_mark: | N/A | -| `filename` | *str* | :heavy_check_mark: | N/A | | `index` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filepathtype.md b/docs/components/filepathtype.md similarity index 100% rename from docs/models/filepathtype.md rename to docs/components/filepathtype.md diff --git a/docs/models/forbiddenresponseerrordata.md b/docs/components/forbiddenresponseerrordata.md similarity index 100% rename from docs/models/forbiddenresponseerrordata.md rename to docs/components/forbiddenresponseerrordata.md diff --git a/docs/models/idfileparser.md b/docs/components/idfileparser.md similarity index 100% rename from docs/models/idfileparser.md rename to docs/components/idfileparser.md diff --git a/docs/models/idmoderation.md b/docs/components/idmoderation.md similarity index 100% rename from docs/models/idmoderation.md rename to docs/components/idmoderation.md diff --git a/docs/models/idweb.md b/docs/components/idweb.md similarity index 100% rename from docs/models/idweb.md rename to docs/components/idweb.md diff --git a/docs/models/ignore.md b/docs/components/ignore.md similarity index 56% rename from docs/models/ignore.md rename to docs/components/ignore.md index 4d6f43d..5f78708 100644 --- a/docs/models/ignore.md +++ b/docs/components/ignore.md @@ -3,10 +3,10 @@ ## Supported Types -### `models.ProviderName` +### `components.ProviderName` ```python -value: models.ProviderName = /* values here */ +value: components.ProviderName = /* values here */ ``` ### `str` diff --git a/docs/models/imagegenerationstatus.md b/docs/components/imagegenerationstatus.md similarity index 100% rename from docs/models/imagegenerationstatus.md rename to docs/components/imagegenerationstatus.md diff --git a/docs/components/imageurl.md b/docs/components/imageurl.md new file mode 100644 index 0000000..740bdcd --- /dev/null +++ b/docs/components/imageurl.md @@ -0,0 +1,9 @@ +# ImageURL + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `url` | *str* | :heavy_check_mark: | N/A | +| `detail` | [Optional[components.ChatMessageContentItemImageDetail]](../components/chatmessagecontentitemimagedetail.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/inputmodality.md b/docs/components/inputmodality.md similarity index 100% rename from docs/models/inputmodality.md rename to docs/components/inputmodality.md diff --git a/docs/models/inputtokensdetails.md b/docs/components/inputtokensdetails.md similarity index 100% rename from docs/models/inputtokensdetails.md rename to docs/components/inputtokensdetails.md diff --git a/docs/models/instructtype.md b/docs/components/instructtype.md similarity index 100% rename from docs/models/instructtype.md rename to docs/components/instructtype.md diff --git a/docs/models/internalserverresponseerrordata.md b/docs/components/internalserverresponseerrordata.md similarity index 100% rename from docs/models/internalserverresponseerrordata.md rename to docs/components/internalserverresponseerrordata.md diff --git a/docs/models/jsonschemaconfig.md b/docs/components/jsonschemaconfig.md similarity index 100% rename from docs/models/jsonschemaconfig.md rename to docs/components/jsonschemaconfig.md diff --git a/docs/models/listendpointsresponse.md b/docs/components/listendpointsresponse.md similarity index 95% rename from docs/models/listendpointsresponse.md rename to docs/components/listendpointsresponse.md index ef3094d..89050e4 100644 --- a/docs/models/listendpointsresponse.md +++ b/docs/components/listendpointsresponse.md @@ -11,5 +11,5 @@ List of available endpoints for a model | `name` | *str* | :heavy_check_mark: | Display name of the model | GPT-4 | | `created` | *float* | :heavy_check_mark: | Unix timestamp of when the model was created | 1692901234 | | `description` | *str* | :heavy_check_mark: | Description of the model | GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy. | -| `architecture` | [models.Architecture](../models/architecture.md) | :heavy_check_mark: | N/A | {
"tokenizer": "GPT",
"instruct_type": "chatml",
"modality": "text-\u003etext",
"input_modalities": [
"text"
],
"output_modalities": [
"text"
]
} | -| `endpoints` | List[[models.PublicEndpoint](../models/publicendpoint.md)] | :heavy_check_mark: | List of available endpoints for this model | | \ No newline at end of file +| `architecture` | [components.Architecture](../components/architecture.md) | :heavy_check_mark: | N/A | {
"tokenizer": "GPT",
"instruct_type": "chatml",
"modality": "text-\u003etext",
"input_modalities": [
"text"
],
"output_modalities": [
"text"
]
} | +| `endpoints` | List[[components.PublicEndpoint](../components/publicendpoint.md)] | :heavy_check_mark: | List of available endpoints for this model | | \ No newline at end of file diff --git a/docs/models/maxprice.md b/docs/components/maxprice.md similarity index 100% rename from docs/models/maxprice.md rename to docs/components/maxprice.md diff --git a/docs/components/message.md b/docs/components/message.md new file mode 100644 index 0000000..060be6a --- /dev/null +++ b/docs/components/message.md @@ -0,0 +1,35 @@ +# Message + + +## Supported Types + +### `components.SystemMessage` + +```python +value: components.SystemMessage = /* values here */ +``` + +### `components.UserMessage` + +```python +value: components.UserMessage = /* values here */ +``` + +### `components.MessageDeveloper` + +```python +value: components.MessageDeveloper = /* values here */ +``` + +### `components.AssistantMessage` + +```python +value: components.AssistantMessage = /* values here */ +``` + +### `components.ToolResponseMessage` + +```python +value: components.ToolResponseMessage = /* values here */ +``` + diff --git a/docs/components/messagecontent.md b/docs/components/messagecontent.md new file mode 100644 index 0000000..6bbe93b --- /dev/null +++ b/docs/components/messagecontent.md @@ -0,0 +1,17 @@ +# MessageContent + + +## Supported Types + +### `str` + +```python +value: str = /* values here */ +``` + +### `List[components.ChatMessageContentItemText]` + +```python +value: List[components.ChatMessageContentItemText] = /* values here */ +``` + diff --git a/docs/models/usermessage.md b/docs/components/messagedeveloper.md similarity index 88% rename from docs/models/usermessage.md rename to docs/components/messagedeveloper.md index c2db475..8eb4529 100644 --- a/docs/models/usermessage.md +++ b/docs/components/messagedeveloper.md @@ -1,10 +1,10 @@ -# UserMessage +# MessageDeveloper ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `role` | *Literal["user"]* | :heavy_check_mark: | N/A | -| `content` | [models.UserMessageContent](../models/usermessagecontent.md) | :heavy_check_mark: | N/A | +| `role` | *Literal["developer"]* | :heavy_check_mark: | N/A | +| `content` | [components.MessageContent](../components/messagecontent.md) | :heavy_check_mark: | N/A | | `name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/model.md b/docs/components/model.md similarity index 93% rename from docs/models/model.md rename to docs/components/model.md index c7b09ad..b48d9a6 100644 --- a/docs/models/model.md +++ b/docs/components/model.md @@ -13,10 +13,10 @@ Information about an AI model available on OpenRouter | `name` | *str* | :heavy_check_mark: | Display name of the model | GPT-4 | | `created` | *float* | :heavy_check_mark: | Unix timestamp of when the model was created | 1692901234 | | `description` | *Optional[str]* | :heavy_minus_sign: | Description of the model | GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy. | -| `pricing` | [models.PublicPricing](../models/publicpricing.md) | :heavy_check_mark: | Pricing information for the model | {
"prompt": "0.00003",
"completion": "0.00006",
"request": "0",
"image": "0"
} | +| `pricing` | [components.PublicPricing](../components/publicpricing.md) | :heavy_check_mark: | Pricing information for the model | {
"prompt": "0.00003",
"completion": "0.00006",
"request": "0",
"image": "0"
} | | `context_length` | *Nullable[float]* | :heavy_check_mark: | Maximum context length in tokens | 8192 | -| `architecture` | [models.ModelArchitecture](../models/modelarchitecture.md) | :heavy_check_mark: | Model architecture information | {
"tokenizer": "GPT",
"instruct_type": "chatml",
"modality": "text-\u003etext",
"input_modalities": [
"text"
],
"output_modalities": [
"text"
]
} | -| `top_provider` | [models.TopProviderInfo](../models/topproviderinfo.md) | :heavy_check_mark: | Information about the top provider for this model | {
"context_length": 8192,
"max_completion_tokens": 4096,
"is_moderated": true
} | -| `per_request_limits` | [Nullable[models.PerRequestLimits]](../models/perrequestlimits.md) | :heavy_check_mark: | Per-request token limits | {
"prompt_tokens": 1000,
"completion_tokens": 1000
} | -| `supported_parameters` | List[[models.Parameter](../models/parameter.md)] | :heavy_check_mark: | List of supported parameters for this model | | -| `default_parameters` | [Nullable[models.DefaultParameters]](../models/defaultparameters.md) | :heavy_check_mark: | Default parameters for this model | {
"temperature": 0.7,
"top_p": 0.9,
"frequency_penalty": 0
} | \ No newline at end of file +| `architecture` | [components.ModelArchitecture](../components/modelarchitecture.md) | :heavy_check_mark: | Model architecture information | {
"tokenizer": "GPT",
"instruct_type": "chatml",
"modality": "text-\u003etext",
"input_modalities": [
"text"
],
"output_modalities": [
"text"
]
} | +| `top_provider` | [components.TopProviderInfo](../components/topproviderinfo.md) | :heavy_check_mark: | Information about the top provider for this model | {
"context_length": 8192,
"max_completion_tokens": 4096,
"is_moderated": true
} | +| `per_request_limits` | [Nullable[components.PerRequestLimits]](../components/perrequestlimits.md) | :heavy_check_mark: | Per-request token limits | {
"prompt_tokens": 1000,
"completion_tokens": 1000
} | +| `supported_parameters` | List[[components.Parameter](../components/parameter.md)] | :heavy_check_mark: | List of supported parameters for this model | | +| `default_parameters` | [Nullable[components.DefaultParameters]](../components/defaultparameters.md) | :heavy_check_mark: | Default parameters for this model | {
"temperature": 0.7,
"top_p": 0.9,
"frequency_penalty": 0
} | \ No newline at end of file diff --git a/docs/models/openairesponsesinputfunctioncalloutput.md b/docs/components/modelarchitecture.md similarity index 56% rename from docs/models/openairesponsesinputfunctioncalloutput.md rename to docs/components/modelarchitecture.md index 1248ae8..63f4c32 100644 --- a/docs/models/openairesponsesinputfunctioncalloutput.md +++ b/docs/components/modelarchitecture.md @@ -1,12 +1,14 @@ -# OpenAIResponsesInputFunctionCallOutput +# ModelArchitecture + +Model architecture information ## Fields | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `type` | [models.OpenAIResponsesInputTypeFunctionCallOutput](../models/openairesponsesinputtypefunctioncalloutput.md) | :heavy_check_mark: | N/A | | -| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `call_id` | *str* | :heavy_check_mark: | N/A | | -| `output` | *str* | :heavy_check_mark: | N/A | | -| `status` | [OptionalNullable[models.ToolCallStatus]](../models/toolcallstatus.md) | :heavy_minus_sign: | N/A | completed | \ No newline at end of file +| `tokenizer` | [Optional[components.ModelGroup]](../components/modelgroup.md) | :heavy_minus_sign: | Tokenizer type used by the model | GPT | +| `instruct_type` | [OptionalNullable[components.ModelArchitectureInstructType]](../components/modelarchitectureinstructtype.md) | :heavy_minus_sign: | Instruction format type | chatml | +| `modality` | *Nullable[str]* | :heavy_check_mark: | Primary modality of the model | text->text | +| `input_modalities` | List[[components.InputModality](../components/inputmodality.md)] | :heavy_check_mark: | Supported input modalities | | +| `output_modalities` | List[[components.OutputModality](../components/outputmodality.md)] | :heavy_check_mark: | Supported output modalities | | \ No newline at end of file diff --git a/docs/models/modelarchitectureinstructtype.md b/docs/components/modelarchitectureinstructtype.md similarity index 100% rename from docs/models/modelarchitectureinstructtype.md rename to docs/components/modelarchitectureinstructtype.md diff --git a/docs/models/modelgroup.md b/docs/components/modelgroup.md similarity index 100% rename from docs/models/modelgroup.md rename to docs/components/modelgroup.md diff --git a/docs/components/modelscountresponse.md b/docs/components/modelscountresponse.md new file mode 100644 index 0000000..4ad6e6a --- /dev/null +++ b/docs/components/modelscountresponse.md @@ -0,0 +1,10 @@ +# ModelsCountResponse + +Model count data + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `data` | [components.ModelsCountResponseData](../components/modelscountresponsedata.md) | :heavy_check_mark: | Model count data | {
"count": 150
} | \ No newline at end of file diff --git a/docs/models/modelscountresponsedata.md b/docs/components/modelscountresponsedata.md similarity index 100% rename from docs/models/modelscountresponsedata.md rename to docs/components/modelscountresponsedata.md diff --git a/docs/models/pluginmoderation.md b/docs/components/modelslistresponse.md similarity index 64% rename from docs/models/pluginmoderation.md rename to docs/components/modelslistresponse.md index 0e58d2f..dacf9fa 100644 --- a/docs/models/pluginmoderation.md +++ b/docs/components/modelslistresponse.md @@ -1,8 +1,10 @@ -# PluginModeration +# ModelsListResponse + +List of available models ## Fields | Field | Type | Required | Description | | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `id` | [models.IDModeration](../models/idmoderation.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `data` | List[[components.Model](../components/model.md)] | :heavy_check_mark: | List of available models | \ No newline at end of file diff --git a/docs/models/chatmessagetoolcall.md b/docs/components/namedtoolchoice.md similarity index 71% rename from docs/models/chatmessagetoolcall.md rename to docs/components/namedtoolchoice.md index 7780d0c..f18ddd9 100644 --- a/docs/models/chatmessagetoolcall.md +++ b/docs/components/namedtoolchoice.md @@ -1,10 +1,9 @@ -# ChatMessageToolCall +# NamedToolChoice ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `id` | *str* | :heavy_check_mark: | N/A | | `type` | *Literal["function"]* | :heavy_check_mark: | N/A | -| `function` | [models.ChatMessageToolCallFunction](../models/chatmessagetoolcallfunction.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `function` | [components.NamedToolChoiceFunction](../components/namedtoolchoicefunction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/namedtoolchoicefunction.md b/docs/components/namedtoolchoicefunction.md similarity index 100% rename from docs/models/namedtoolchoicefunction.md rename to docs/components/namedtoolchoicefunction.md diff --git a/docs/models/notfoundresponseerrordata.md b/docs/components/notfoundresponseerrordata.md similarity index 100% rename from docs/models/notfoundresponseerrordata.md rename to docs/components/notfoundresponseerrordata.md diff --git a/docs/models/object.md b/docs/components/object.md similarity index 100% rename from docs/models/object.md rename to docs/components/object.md diff --git a/docs/models/only.md b/docs/components/only.md similarity index 55% rename from docs/models/only.md rename to docs/components/only.md index 5d94dd8..a62341b 100644 --- a/docs/models/only.md +++ b/docs/components/only.md @@ -3,10 +3,10 @@ ## Supported Types -### `models.ProviderName` +### `components.ProviderName` ```python -value: models.ProviderName = /* values here */ +value: components.ProviderName = /* values here */ ``` ### `str` diff --git a/docs/components/openairesponsesannotation.md b/docs/components/openairesponsesannotation.md new file mode 100644 index 0000000..e3b6962 --- /dev/null +++ b/docs/components/openairesponsesannotation.md @@ -0,0 +1,23 @@ +# OpenAIResponsesAnnotation + + +## Supported Types + +### `components.FileCitation` + +```python +value: components.FileCitation = /* values here */ +``` + +### `components.URLCitation` + +```python +value: components.URLCitation = /* values here */ +``` + +### `components.FilePath` + +```python +value: components.FilePath = /* values here */ +``` + diff --git a/docs/models/openairesponsesincludable.md b/docs/components/openairesponsesincludable.md similarity index 100% rename from docs/models/openairesponsesincludable.md rename to docs/components/openairesponsesincludable.md diff --git a/docs/components/openairesponsesincompletedetails.md b/docs/components/openairesponsesincompletedetails.md new file mode 100644 index 0000000..e20d535 --- /dev/null +++ b/docs/components/openairesponsesincompletedetails.md @@ -0,0 +1,8 @@ +# OpenAIResponsesIncompleteDetails + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `reason` | [Optional[components.Reason]](../components/reason.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/components/openairesponsesinputcontent1.md b/docs/components/openairesponsesinputcontent1.md new file mode 100644 index 0000000..90d20cd --- /dev/null +++ b/docs/components/openairesponsesinputcontent1.md @@ -0,0 +1,29 @@ +# OpenAIResponsesInputContent1 + + +## Supported Types + +### `components.ResponseInputText` + +```python +value: components.ResponseInputText = /* values here */ +``` + +### `components.ResponseInputImage` + +```python +value: components.ResponseInputImage = /* values here */ +``` + +### `components.ResponseInputFile` + +```python +value: components.ResponseInputFile = /* values here */ +``` + +### `components.ResponseInputAudio` + +```python +value: components.ResponseInputAudio = /* values here */ +``` + diff --git a/docs/models/openairesponsesinputcontent2.md b/docs/components/openairesponsesinputcontent2.md similarity index 50% rename from docs/models/openairesponsesinputcontent2.md rename to docs/components/openairesponsesinputcontent2.md index 1877559..9c2ba94 100644 --- a/docs/models/openairesponsesinputcontent2.md +++ b/docs/components/openairesponsesinputcontent2.md @@ -3,10 +3,10 @@ ## Supported Types -### `List[models.OpenAIResponsesInputContent1]` +### `List[components.OpenAIResponsesInputContent1]` ```python -value: List[models.OpenAIResponsesInputContent1] = /* values here */ +value: List[components.OpenAIResponsesInputContent1] = /* values here */ ``` ### `str` diff --git a/docs/components/openairesponsesinputcontent3.md b/docs/components/openairesponsesinputcontent3.md new file mode 100644 index 0000000..19236dd --- /dev/null +++ b/docs/components/openairesponsesinputcontent3.md @@ -0,0 +1,29 @@ +# OpenAIResponsesInputContent3 + + +## Supported Types + +### `components.ResponseInputText` + +```python +value: components.ResponseInputText = /* values here */ +``` + +### `components.ResponseInputImage` + +```python +value: components.ResponseInputImage = /* values here */ +``` + +### `components.ResponseInputFile` + +```python +value: components.ResponseInputFile = /* values here */ +``` + +### `components.ResponseInputAudio` + +```python +value: components.ResponseInputAudio = /* values here */ +``` + diff --git a/docs/components/openairesponsesinputfunctioncall.md b/docs/components/openairesponsesinputfunctioncall.md new file mode 100644 index 0000000..9b571b1 --- /dev/null +++ b/docs/components/openairesponsesinputfunctioncall.md @@ -0,0 +1,13 @@ +# OpenAIResponsesInputFunctionCall + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `type` | [components.OpenAIResponsesInputTypeFunctionCall](../components/openairesponsesinputtypefunctioncall.md) | :heavy_check_mark: | N/A | | +| `call_id` | *str* | :heavy_check_mark: | N/A | | +| `name` | *str* | :heavy_check_mark: | N/A | | +| `arguments` | *str* | :heavy_check_mark: | N/A | | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `status` | [OptionalNullable[components.ToolCallStatus]](../components/toolcallstatus.md) | :heavy_minus_sign: | N/A | completed | \ No newline at end of file diff --git a/docs/models/openresponsesreasoningsummarytextdoneevent.md b/docs/components/openairesponsesinputfunctioncalloutput.md similarity index 57% rename from docs/models/openresponsesreasoningsummarytextdoneevent.md rename to docs/components/openairesponsesinputfunctioncalloutput.md index 6f38d1f..dde5cba 100644 --- a/docs/models/openresponsesreasoningsummarytextdoneevent.md +++ b/docs/components/openairesponsesinputfunctioncalloutput.md @@ -1,15 +1,12 @@ -# OpenResponsesReasoningSummaryTextDoneEvent - -Event emitted when reasoning summary text streaming is complete +# OpenAIResponsesInputFunctionCallOutput ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesReasoningSummaryTextDoneEventType](../models/openresponsesreasoningsummarytextdoneeventtype.md) | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `summary_index` | *float* | :heavy_check_mark: | N/A | -| `text` | *str* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `type` | [components.OpenAIResponsesInputTypeFunctionCallOutput](../components/openairesponsesinputtypefunctioncalloutput.md) | :heavy_check_mark: | N/A | | +| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `call_id` | *str* | :heavy_check_mark: | N/A | | +| `output` | *str* | :heavy_check_mark: | N/A | | +| `status` | [OptionalNullable[components.ToolCallStatus]](../components/toolcallstatus.md) | :heavy_minus_sign: | N/A | completed | \ No newline at end of file diff --git a/docs/components/openairesponsesinputmessage1.md b/docs/components/openairesponsesinputmessage1.md new file mode 100644 index 0000000..3bbf8a8 --- /dev/null +++ b/docs/components/openairesponsesinputmessage1.md @@ -0,0 +1,10 @@ +# OpenAIResponsesInputMessage1 + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `type` | [Optional[components.OpenAIResponsesInputTypeMessage1]](../components/openairesponsesinputtypemessage1.md) | :heavy_minus_sign: | N/A | +| `role` | [components.OpenAIResponsesInputRoleUnion1](../components/openairesponsesinputroleunion1.md) | :heavy_check_mark: | N/A | +| `content` | [components.OpenAIResponsesInputContent2](../components/openairesponsesinputcontent2.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/chatstreamingmessagetoolcall.md b/docs/components/openairesponsesinputmessage2.md similarity index 70% rename from docs/models/chatstreamingmessagetoolcall.md rename to docs/components/openairesponsesinputmessage2.md index dc26e85..d1e0783 100644 --- a/docs/models/chatstreamingmessagetoolcall.md +++ b/docs/components/openairesponsesinputmessage2.md @@ -1,11 +1,11 @@ -# ChatStreamingMessageToolCall +# OpenAIResponsesInputMessage2 ## Fields | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `index` | *float* | :heavy_check_mark: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `type` | *Optional[Literal["function"]]* | :heavy_minus_sign: | N/A | -| `function` | [Optional[models.ChatStreamingMessageToolCallFunction]](../models/chatstreamingmessagetoolcallfunction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | N/A | +| `type` | [Optional[components.OpenAIResponsesInputTypeMessage2]](../components/openairesponsesinputtypemessage2.md) | :heavy_minus_sign: | N/A | +| `role` | [components.OpenAIResponsesInputRoleUnion2](../components/openairesponsesinputroleunion2.md) | :heavy_check_mark: | N/A | +| `content` | List[[components.OpenAIResponsesInputContent3](../components/openairesponsesinputcontent3.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsesinputroleassistant.md b/docs/components/openairesponsesinputroleassistant.md similarity index 100% rename from docs/models/openairesponsesinputroleassistant.md rename to docs/components/openairesponsesinputroleassistant.md diff --git a/docs/models/openairesponsesinputroledeveloper1.md b/docs/components/openairesponsesinputroledeveloper1.md similarity index 100% rename from docs/models/openairesponsesinputroledeveloper1.md rename to docs/components/openairesponsesinputroledeveloper1.md diff --git a/docs/models/openairesponsesinputroledeveloper2.md b/docs/components/openairesponsesinputroledeveloper2.md similarity index 100% rename from docs/models/openairesponsesinputroledeveloper2.md rename to docs/components/openairesponsesinputroledeveloper2.md diff --git a/docs/models/openairesponsesinputrolesystem1.md b/docs/components/openairesponsesinputrolesystem1.md similarity index 100% rename from docs/models/openairesponsesinputrolesystem1.md rename to docs/components/openairesponsesinputrolesystem1.md diff --git a/docs/models/openairesponsesinputrolesystem2.md b/docs/components/openairesponsesinputrolesystem2.md similarity index 100% rename from docs/models/openairesponsesinputrolesystem2.md rename to docs/components/openairesponsesinputrolesystem2.md diff --git a/docs/components/openairesponsesinputroleunion1.md b/docs/components/openairesponsesinputroleunion1.md new file mode 100644 index 0000000..4dc7abd --- /dev/null +++ b/docs/components/openairesponsesinputroleunion1.md @@ -0,0 +1,29 @@ +# OpenAIResponsesInputRoleUnion1 + + +## Supported Types + +### `components.OpenAIResponsesInputRoleUser1` + +```python +value: components.OpenAIResponsesInputRoleUser1 = /* values here */ +``` + +### `components.OpenAIResponsesInputRoleSystem1` + +```python +value: components.OpenAIResponsesInputRoleSystem1 = /* values here */ +``` + +### `components.OpenAIResponsesInputRoleAssistant` + +```python +value: components.OpenAIResponsesInputRoleAssistant = /* values here */ +``` + +### `components.OpenAIResponsesInputRoleDeveloper1` + +```python +value: components.OpenAIResponsesInputRoleDeveloper1 = /* values here */ +``` + diff --git a/docs/components/openairesponsesinputroleunion2.md b/docs/components/openairesponsesinputroleunion2.md new file mode 100644 index 0000000..1e8af93 --- /dev/null +++ b/docs/components/openairesponsesinputroleunion2.md @@ -0,0 +1,23 @@ +# OpenAIResponsesInputRoleUnion2 + + +## Supported Types + +### `components.OpenAIResponsesInputRoleUser2` + +```python +value: components.OpenAIResponsesInputRoleUser2 = /* values here */ +``` + +### `components.OpenAIResponsesInputRoleSystem2` + +```python +value: components.OpenAIResponsesInputRoleSystem2 = /* values here */ +``` + +### `components.OpenAIResponsesInputRoleDeveloper2` + +```python +value: components.OpenAIResponsesInputRoleDeveloper2 = /* values here */ +``` + diff --git a/docs/models/openairesponsesinputroleuser1.md b/docs/components/openairesponsesinputroleuser1.md similarity index 100% rename from docs/models/openairesponsesinputroleuser1.md rename to docs/components/openairesponsesinputroleuser1.md diff --git a/docs/models/openairesponsesinputroleuser2.md b/docs/components/openairesponsesinputroleuser2.md similarity index 100% rename from docs/models/openairesponsesinputroleuser2.md rename to docs/components/openairesponsesinputroleuser2.md diff --git a/docs/models/openairesponsesinputtypefunctioncall.md b/docs/components/openairesponsesinputtypefunctioncall.md similarity index 100% rename from docs/models/openairesponsesinputtypefunctioncall.md rename to docs/components/openairesponsesinputtypefunctioncall.md diff --git a/docs/models/openairesponsesinputtypefunctioncalloutput.md b/docs/components/openairesponsesinputtypefunctioncalloutput.md similarity index 100% rename from docs/models/openairesponsesinputtypefunctioncalloutput.md rename to docs/components/openairesponsesinputtypefunctioncalloutput.md diff --git a/docs/models/openairesponsesinputtypemessage1.md b/docs/components/openairesponsesinputtypemessage1.md similarity index 100% rename from docs/models/openairesponsesinputtypemessage1.md rename to docs/components/openairesponsesinputtypemessage1.md diff --git a/docs/models/openairesponsesinputtypemessage2.md b/docs/components/openairesponsesinputtypemessage2.md similarity index 100% rename from docs/models/openairesponsesinputtypemessage2.md rename to docs/components/openairesponsesinputtypemessage2.md diff --git a/docs/models/openairesponsesinputunion.md b/docs/components/openairesponsesinputunion.md similarity index 59% rename from docs/models/openairesponsesinputunion.md rename to docs/components/openairesponsesinputunion.md index 16a1317..adecdc9 100644 --- a/docs/models/openairesponsesinputunion.md +++ b/docs/components/openairesponsesinputunion.md @@ -9,10 +9,10 @@ value: str = /* values here */ ``` -### `List[models.OpenAIResponsesInputUnion1]` +### `List[components.OpenAIResponsesInputUnion1]` ```python -value: List[models.OpenAIResponsesInputUnion1] = /* values here */ +value: List[components.OpenAIResponsesInputUnion1] = /* values here */ ``` ### `Any` diff --git a/docs/components/openairesponsesinputunion1.md b/docs/components/openairesponsesinputunion1.md new file mode 100644 index 0000000..2c9603f --- /dev/null +++ b/docs/components/openairesponsesinputunion1.md @@ -0,0 +1,41 @@ +# OpenAIResponsesInputUnion1 + + +## Supported Types + +### `components.OpenAIResponsesInputMessage1` + +```python +value: components.OpenAIResponsesInputMessage1 = /* values here */ +``` + +### `components.OpenAIResponsesInputMessage2` + +```python +value: components.OpenAIResponsesInputMessage2 = /* values here */ +``` + +### `components.OpenAIResponsesInputFunctionCallOutput` + +```python +value: components.OpenAIResponsesInputFunctionCallOutput = /* values here */ +``` + +### `components.OpenAIResponsesInputFunctionCall` + +```python +value: components.OpenAIResponsesInputFunctionCall = /* values here */ +``` + +### `components.OutputItemImageGenerationCall` + +```python +value: components.OutputItemImageGenerationCall = /* values here */ +``` + +### `components.OutputMessage` + +```python +value: components.OutputMessage = /* values here */ +``` + diff --git a/docs/components/openairesponsesprompt.md b/docs/components/openairesponsesprompt.md new file mode 100644 index 0000000..1398955 --- /dev/null +++ b/docs/components/openairesponsesprompt.md @@ -0,0 +1,9 @@ +# OpenAIResponsesPrompt + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | N/A | +| `variables` | Dict[str, [components.Variables](../components/variables.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesresponsetext.md b/docs/components/openairesponsesreasoningconfig.md similarity index 54% rename from docs/models/openresponsesresponsetext.md rename to docs/components/openairesponsesreasoningconfig.md index 91355d7..8858cfc 100644 --- a/docs/models/openresponsesresponsetext.md +++ b/docs/components/openairesponsesreasoningconfig.md @@ -1,11 +1,9 @@ -# OpenResponsesResponseText - -Text output configuration including format and verbosity +# OpenAIResponsesReasoningConfig ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `format_` | [Optional[models.ResponseFormatTextConfig]](../models/responseformattextconfig.md) | :heavy_minus_sign: | Text response format configuration | {
"type": "text"
} | -| `verbosity` | [OptionalNullable[models.OpenResponsesResponseTextVerbosity]](../models/openresponsesresponsetextverbosity.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `effort` | [OptionalNullable[components.OpenAIResponsesReasoningEffort]](../components/openairesponsesreasoningeffort.md) | :heavy_minus_sign: | N/A | +| `summary` | [Optional[components.ReasoningSummaryVerbosity]](../components/reasoningsummaryverbosity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsesreasoningeffort.md b/docs/components/openairesponsesreasoningeffort.md similarity index 100% rename from docs/models/openairesponsesreasoningeffort.md rename to docs/components/openairesponsesreasoningeffort.md diff --git a/docs/models/openairesponsestoolchoicefunction.md b/docs/components/openairesponsesrefusalcontent.md similarity index 82% rename from docs/models/openairesponsestoolchoicefunction.md rename to docs/components/openairesponsesrefusalcontent.md index a9d6714..4709b80 100644 --- a/docs/models/openairesponsestoolchoicefunction.md +++ b/docs/components/openairesponsesrefusalcontent.md @@ -1,9 +1,9 @@ -# OpenAIResponsesToolChoiceFunction +# OpenAIResponsesRefusalContent ## Fields | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `type` | [models.OpenAIResponsesToolChoiceTypeFunction](../models/openairesponsestoolchoicetypefunction.md) | :heavy_check_mark: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [components.OpenAIResponsesRefusalContentType](../components/openairesponsesrefusalcontenttype.md) | :heavy_check_mark: | N/A | +| `refusal` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsesrefusalcontenttype.md b/docs/components/openairesponsesrefusalcontenttype.md similarity index 100% rename from docs/models/openairesponsesrefusalcontenttype.md rename to docs/components/openairesponsesrefusalcontenttype.md diff --git a/docs/models/openairesponsesresponsestatus.md b/docs/components/openairesponsesresponsestatus.md similarity index 100% rename from docs/models/openairesponsesresponsestatus.md rename to docs/components/openairesponsesresponsestatus.md diff --git a/docs/models/openairesponsesservicetier.md b/docs/components/openairesponsesservicetier.md similarity index 100% rename from docs/models/openairesponsesservicetier.md rename to docs/components/openairesponsesservicetier.md diff --git a/docs/models/modelslistresponse.md b/docs/components/openairesponsestoolchoice.md similarity index 62% rename from docs/models/modelslistresponse.md rename to docs/components/openairesponsestoolchoice.md index a6fd460..72b8738 100644 --- a/docs/models/modelslistresponse.md +++ b/docs/components/openairesponsestoolchoice.md @@ -1,10 +1,8 @@ -# ModelsListResponse - -List of available models +# OpenAIResponsesToolChoice ## Fields | Field | Type | Required | Description | | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `data` | List[[models.Model](../models/model.md)] | :heavy_check_mark: | List of available models | \ No newline at end of file +| `type` | [components.Type](../components/type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsestoolchoiceauto.md b/docs/components/openairesponsestoolchoiceauto.md similarity index 100% rename from docs/models/openairesponsestoolchoiceauto.md rename to docs/components/openairesponsestoolchoiceauto.md diff --git a/docs/components/openairesponsestoolchoicefunction.md b/docs/components/openairesponsestoolchoicefunction.md new file mode 100644 index 0000000..6889a23 --- /dev/null +++ b/docs/components/openairesponsestoolchoicefunction.md @@ -0,0 +1,9 @@ +# OpenAIResponsesToolChoiceFunction + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `type` | [components.OpenAIResponsesToolChoiceTypeFunction](../components/openairesponsestoolchoicetypefunction.md) | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsestoolchoicenone.md b/docs/components/openairesponsestoolchoicenone.md similarity index 100% rename from docs/models/openairesponsestoolchoicenone.md rename to docs/components/openairesponsestoolchoicenone.md diff --git a/docs/models/openairesponsestoolchoicerequired.md b/docs/components/openairesponsestoolchoicerequired.md similarity index 100% rename from docs/models/openairesponsestoolchoicerequired.md rename to docs/components/openairesponsestoolchoicerequired.md diff --git a/docs/models/openairesponsestoolchoicetypefunction.md b/docs/components/openairesponsestoolchoicetypefunction.md similarity index 100% rename from docs/models/openairesponsestoolchoicetypefunction.md rename to docs/components/openairesponsestoolchoicetypefunction.md diff --git a/docs/models/openairesponsestoolchoicetypewebsearchpreview.md b/docs/components/openairesponsestoolchoicetypewebsearchpreview.md similarity index 100% rename from docs/models/openairesponsestoolchoicetypewebsearchpreview.md rename to docs/components/openairesponsestoolchoicetypewebsearchpreview.md diff --git a/docs/models/openairesponsestoolchoicetypewebsearchpreview20250311.md b/docs/components/openairesponsestoolchoicetypewebsearchpreview20250311.md similarity index 100% rename from docs/models/openairesponsestoolchoicetypewebsearchpreview20250311.md rename to docs/components/openairesponsestoolchoicetypewebsearchpreview20250311.md diff --git a/docs/components/openairesponsestoolchoiceunion.md b/docs/components/openairesponsestoolchoiceunion.md new file mode 100644 index 0000000..7ab787b --- /dev/null +++ b/docs/components/openairesponsestoolchoiceunion.md @@ -0,0 +1,35 @@ +# OpenAIResponsesToolChoiceUnion + + +## Supported Types + +### `components.OpenAIResponsesToolChoiceAuto` + +```python +value: components.OpenAIResponsesToolChoiceAuto = /* values here */ +``` + +### `components.OpenAIResponsesToolChoiceNone` + +```python +value: components.OpenAIResponsesToolChoiceNone = /* values here */ +``` + +### `components.OpenAIResponsesToolChoiceRequired` + +```python +value: components.OpenAIResponsesToolChoiceRequired = /* values here */ +``` + +### `components.OpenAIResponsesToolChoiceFunction` + +```python +value: components.OpenAIResponsesToolChoiceFunction = /* values here */ +``` + +### `components.OpenAIResponsesToolChoice` + +```python +value: components.OpenAIResponsesToolChoice = /* values here */ +``` + diff --git a/docs/models/openairesponsestruncation.md b/docs/components/openairesponsestruncation.md similarity index 100% rename from docs/models/openairesponsestruncation.md rename to docs/components/openairesponsestruncation.md diff --git a/docs/components/openresponseseasyinputmessage.md b/docs/components/openresponseseasyinputmessage.md new file mode 100644 index 0000000..5e3c942 --- /dev/null +++ b/docs/components/openresponseseasyinputmessage.md @@ -0,0 +1,10 @@ +# OpenResponsesEasyInputMessage + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `type` | [Optional[components.OpenResponsesEasyInputMessageType]](../components/openresponseseasyinputmessagetype.md) | :heavy_minus_sign: | N/A | +| `role` | [components.OpenResponsesEasyInputMessageRoleUnion](../components/openresponseseasyinputmessageroleunion.md) | :heavy_check_mark: | N/A | +| `content` | [components.OpenResponsesEasyInputMessageContent2](../components/openresponseseasyinputmessagecontent2.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/openresponseseasyinputmessagecontent1.md b/docs/components/openresponseseasyinputmessagecontent1.md new file mode 100644 index 0000000..dfbac04 --- /dev/null +++ b/docs/components/openresponseseasyinputmessagecontent1.md @@ -0,0 +1,29 @@ +# OpenResponsesEasyInputMessageContent1 + + +## Supported Types + +### `components.ResponseInputText` + +```python +value: components.ResponseInputText = /* values here */ +``` + +### `components.ResponseInputImage` + +```python +value: components.ResponseInputImage = /* values here */ +``` + +### `components.ResponseInputFile` + +```python +value: components.ResponseInputFile = /* values here */ +``` + +### `components.ResponseInputAudio` + +```python +value: components.ResponseInputAudio = /* values here */ +``` + diff --git a/docs/components/openresponseseasyinputmessagecontent2.md b/docs/components/openresponseseasyinputmessagecontent2.md new file mode 100644 index 0000000..1ed8f53 --- /dev/null +++ b/docs/components/openresponseseasyinputmessagecontent2.md @@ -0,0 +1,17 @@ +# OpenResponsesEasyInputMessageContent2 + + +## Supported Types + +### `List[components.OpenResponsesEasyInputMessageContent1]` + +```python +value: List[components.OpenResponsesEasyInputMessageContent1] = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/openresponseseasyinputmessageroleassistant.md b/docs/components/openresponseseasyinputmessageroleassistant.md similarity index 100% rename from docs/models/openresponseseasyinputmessageroleassistant.md rename to docs/components/openresponseseasyinputmessageroleassistant.md diff --git a/docs/models/openresponseseasyinputmessageroledeveloper.md b/docs/components/openresponseseasyinputmessageroledeveloper.md similarity index 100% rename from docs/models/openresponseseasyinputmessageroledeveloper.md rename to docs/components/openresponseseasyinputmessageroledeveloper.md diff --git a/docs/models/openresponseseasyinputmessagerolesystem.md b/docs/components/openresponseseasyinputmessagerolesystem.md similarity index 100% rename from docs/models/openresponseseasyinputmessagerolesystem.md rename to docs/components/openresponseseasyinputmessagerolesystem.md diff --git a/docs/components/openresponseseasyinputmessageroleunion.md b/docs/components/openresponseseasyinputmessageroleunion.md new file mode 100644 index 0000000..5214d0b --- /dev/null +++ b/docs/components/openresponseseasyinputmessageroleunion.md @@ -0,0 +1,29 @@ +# OpenResponsesEasyInputMessageRoleUnion + + +## Supported Types + +### `components.OpenResponsesEasyInputMessageRoleUser` + +```python +value: components.OpenResponsesEasyInputMessageRoleUser = /* values here */ +``` + +### `components.OpenResponsesEasyInputMessageRoleSystem` + +```python +value: components.OpenResponsesEasyInputMessageRoleSystem = /* values here */ +``` + +### `components.OpenResponsesEasyInputMessageRoleAssistant` + +```python +value: components.OpenResponsesEasyInputMessageRoleAssistant = /* values here */ +``` + +### `components.OpenResponsesEasyInputMessageRoleDeveloper` + +```python +value: components.OpenResponsesEasyInputMessageRoleDeveloper = /* values here */ +``` + diff --git a/docs/models/openresponseseasyinputmessageroleuser.md b/docs/components/openresponseseasyinputmessageroleuser.md similarity index 100% rename from docs/models/openresponseseasyinputmessageroleuser.md rename to docs/components/openresponseseasyinputmessageroleuser.md diff --git a/docs/models/openresponseseasyinputmessagetype.md b/docs/components/openresponseseasyinputmessagetype.md similarity index 100% rename from docs/models/openresponseseasyinputmessagetype.md rename to docs/components/openresponseseasyinputmessagetype.md diff --git a/docs/components/openresponseserrorevent.md b/docs/components/openresponseserrorevent.md new file mode 100644 index 0000000..bb360eb --- /dev/null +++ b/docs/components/openresponseserrorevent.md @@ -0,0 +1,14 @@ +# OpenResponsesErrorEvent + +Event emitted when an error occurs during streaming + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `type` | [components.OpenResponsesErrorEventType](../components/openresponseserroreventtype.md) | :heavy_check_mark: | N/A | +| `code` | *Nullable[str]* | :heavy_check_mark: | N/A | +| `message` | *str* | :heavy_check_mark: | N/A | +| `param` | *Nullable[str]* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponseserroreventtype.md b/docs/components/openresponseserroreventtype.md similarity index 100% rename from docs/models/openresponseserroreventtype.md rename to docs/components/openresponseserroreventtype.md diff --git a/docs/models/responsesformattextjsonschemaconfig.md b/docs/components/openresponsesfunctioncalloutput.md similarity index 51% rename from docs/models/responsesformattextjsonschemaconfig.md rename to docs/components/openresponsesfunctioncalloutput.md index 13b20b9..adf40a2 100644 --- a/docs/models/responsesformattextjsonschemaconfig.md +++ b/docs/components/openresponsesfunctioncalloutput.md @@ -1,14 +1,14 @@ -# ResponsesFormatTextJSONSchemaConfig +# OpenResponsesFunctionCallOutput -JSON schema constrained response format +The output from a function call execution ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `type` | [models.ResponsesFormatTextJSONSchemaConfigType](../models/responsesformattextjsonschemaconfigtype.md) | :heavy_check_mark: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `description` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `strict` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `schema_` | Dict[str, *Nullable[Any]*] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `type` | [components.OpenResponsesFunctionCallOutputType](../components/openresponsesfunctioncalloutputtype.md) | :heavy_check_mark: | N/A | | +| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `call_id` | *str* | :heavy_check_mark: | N/A | | +| `output` | *str* | :heavy_check_mark: | N/A | | +| `status` | [OptionalNullable[components.ToolCallStatus]](../components/toolcallstatus.md) | :heavy_minus_sign: | N/A | completed | \ No newline at end of file diff --git a/docs/models/openresponsesfunctioncalloutputtype.md b/docs/components/openresponsesfunctioncalloutputtype.md similarity index 100% rename from docs/models/openresponsesfunctioncalloutputtype.md rename to docs/components/openresponsesfunctioncalloutputtype.md diff --git a/docs/models/openresponsesstreameventresponsefunctioncallargumentsdone.md b/docs/components/openresponsesfunctiontoolcall.md similarity index 59% rename from docs/models/openresponsesstreameventresponsefunctioncallargumentsdone.md rename to docs/components/openresponsesfunctiontoolcall.md index bbdd489..7d2b5af 100644 --- a/docs/models/openresponsesstreameventresponsefunctioncallargumentsdone.md +++ b/docs/components/openresponsesfunctiontoolcall.md @@ -1,15 +1,15 @@ -# OpenResponsesStreamEventResponseFunctionCallArgumentsDone +# OpenResponsesFunctionToolCall -Event emitted when function call arguments streaming is complete +A function call initiated by the model ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `type` | [models.TypeResponseFunctionCallArgumentsDone](../models/typeresponsefunctioncallargumentsdone.md) | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `arguments` | *str* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `type` | [components.OpenResponsesFunctionToolCallType](../components/openresponsesfunctiontoolcalltype.md) | :heavy_check_mark: | N/A | | +| `call_id` | *str* | :heavy_check_mark: | N/A | | +| `name` | *str* | :heavy_check_mark: | N/A | | +| `arguments` | *str* | :heavy_check_mark: | N/A | | +| `id` | *str* | :heavy_check_mark: | N/A | | +| `status` | [OptionalNullable[components.ToolCallStatus]](../components/toolcallstatus.md) | :heavy_minus_sign: | N/A | completed | \ No newline at end of file diff --git a/docs/models/openresponsesfunctiontoolcalltype.md b/docs/components/openresponsesfunctiontoolcalltype.md similarity index 100% rename from docs/models/openresponsesfunctiontoolcalltype.md rename to docs/components/openresponsesfunctiontoolcalltype.md diff --git a/docs/components/openresponsesimagegencallcompleted.md b/docs/components/openresponsesimagegencallcompleted.md new file mode 100644 index 0000000..980e2a7 --- /dev/null +++ b/docs/components/openresponsesimagegencallcompleted.md @@ -0,0 +1,13 @@ +# OpenResponsesImageGenCallCompleted + +Image generation call completed + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `type` | [components.OpenResponsesImageGenCallCompletedType](../components/openresponsesimagegencallcompletedtype.md) | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesimagegencallcompletedtype.md b/docs/components/openresponsesimagegencallcompletedtype.md similarity index 100% rename from docs/models/openresponsesimagegencallcompletedtype.md rename to docs/components/openresponsesimagegencallcompletedtype.md diff --git a/docs/components/openresponsesimagegencallgenerating.md b/docs/components/openresponsesimagegencallgenerating.md new file mode 100644 index 0000000..cdd0be0 --- /dev/null +++ b/docs/components/openresponsesimagegencallgenerating.md @@ -0,0 +1,13 @@ +# OpenResponsesImageGenCallGenerating + +Image generation call is generating + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `type` | [components.OpenResponsesImageGenCallGeneratingType](../components/openresponsesimagegencallgeneratingtype.md) | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesimagegencallgeneratingtype.md b/docs/components/openresponsesimagegencallgeneratingtype.md similarity index 100% rename from docs/models/openresponsesimagegencallgeneratingtype.md rename to docs/components/openresponsesimagegencallgeneratingtype.md diff --git a/docs/components/openresponsesimagegencallinprogress.md b/docs/components/openresponsesimagegencallinprogress.md new file mode 100644 index 0000000..2d9acad --- /dev/null +++ b/docs/components/openresponsesimagegencallinprogress.md @@ -0,0 +1,13 @@ +# OpenResponsesImageGenCallInProgress + +Image generation call in progress + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `type` | [components.OpenResponsesImageGenCallInProgressType](../components/openresponsesimagegencallinprogresstype.md) | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesimagegencallinprogresstype.md b/docs/components/openresponsesimagegencallinprogresstype.md similarity index 100% rename from docs/models/openresponsesimagegencallinprogresstype.md rename to docs/components/openresponsesimagegencallinprogresstype.md diff --git a/docs/components/openresponsesimagegencallpartialimage.md b/docs/components/openresponsesimagegencallpartialimage.md new file mode 100644 index 0000000..ce1a61c --- /dev/null +++ b/docs/components/openresponsesimagegencallpartialimage.md @@ -0,0 +1,15 @@ +# OpenResponsesImageGenCallPartialImage + +Image generation call with partial image + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `type` | [components.OpenResponsesImageGenCallPartialImageType](../components/openresponsesimagegencallpartialimagetype.md) | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | +| `partial_image_b64` | *str* | :heavy_check_mark: | N/A | +| `partial_image_index` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesimagegencallpartialimagetype.md b/docs/components/openresponsesimagegencallpartialimagetype.md similarity index 100% rename from docs/models/openresponsesimagegencallpartialimagetype.md rename to docs/components/openresponsesimagegencallpartialimagetype.md diff --git a/docs/models/openresponsesinput.md b/docs/components/openresponsesinput.md similarity index 62% rename from docs/models/openresponsesinput.md rename to docs/components/openresponsesinput.md index 199b09d..ac87902 100644 --- a/docs/models/openresponsesinput.md +++ b/docs/components/openresponsesinput.md @@ -11,9 +11,9 @@ Input for a response request - can be a string or array of items value: str = /* values here */ ``` -### `List[models.OpenResponsesInput1]` +### `List[components.OpenResponsesInput1]` ```python -value: List[models.OpenResponsesInput1] = /* values here */ +value: List[components.OpenResponsesInput1] = /* values here */ ``` diff --git a/docs/components/openresponsesinput1.md b/docs/components/openresponsesinput1.md new file mode 100644 index 0000000..8144878 --- /dev/null +++ b/docs/components/openresponsesinput1.md @@ -0,0 +1,71 @@ +# OpenResponsesInput1 + + +## Supported Types + +### `components.OpenResponsesReasoning` + +```python +value: components.OpenResponsesReasoning = /* values here */ +``` + +### `components.OpenResponsesEasyInputMessage` + +```python +value: components.OpenResponsesEasyInputMessage = /* values here */ +``` + +### `components.OpenResponsesInputMessageItem` + +```python +value: components.OpenResponsesInputMessageItem = /* values here */ +``` + +### `components.OpenResponsesFunctionToolCall` + +```python +value: components.OpenResponsesFunctionToolCall = /* values here */ +``` + +### `components.OpenResponsesFunctionCallOutput` + +```python +value: components.OpenResponsesFunctionCallOutput = /* values here */ +``` + +### `components.ResponsesOutputMessage` + +```python +value: components.ResponsesOutputMessage = /* values here */ +``` + +### `components.ResponsesOutputItemReasoning` + +```python +value: components.ResponsesOutputItemReasoning = /* values here */ +``` + +### `components.ResponsesOutputItemFunctionCall` + +```python +value: components.ResponsesOutputItemFunctionCall = /* values here */ +``` + +### `components.ResponsesWebSearchCallOutput` + +```python +value: components.ResponsesWebSearchCallOutput = /* values here */ +``` + +### `components.ResponsesOutputItemFileSearchCall` + +```python +value: components.ResponsesOutputItemFileSearchCall = /* values here */ +``` + +### `components.ResponsesImageGenerationCall` + +```python +value: components.ResponsesImageGenerationCall = /* values here */ +``` + diff --git a/docs/components/openresponsesinputmessageitem.md b/docs/components/openresponsesinputmessageitem.md new file mode 100644 index 0000000..34f29f0 --- /dev/null +++ b/docs/components/openresponsesinputmessageitem.md @@ -0,0 +1,11 @@ +# OpenResponsesInputMessageItem + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `type` | [Optional[components.OpenResponsesInputMessageItemType]](../components/openresponsesinputmessageitemtype.md) | :heavy_minus_sign: | N/A | +| `role` | [components.OpenResponsesInputMessageItemRoleUnion](../components/openresponsesinputmessageitemroleunion.md) | :heavy_check_mark: | N/A | +| `content` | List[[components.OpenResponsesInputMessageItemContent](../components/openresponsesinputmessageitemcontent.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/openresponsesinputmessageitemcontent.md b/docs/components/openresponsesinputmessageitemcontent.md new file mode 100644 index 0000000..3d545a0 --- /dev/null +++ b/docs/components/openresponsesinputmessageitemcontent.md @@ -0,0 +1,29 @@ +# OpenResponsesInputMessageItemContent + + +## Supported Types + +### `components.ResponseInputText` + +```python +value: components.ResponseInputText = /* values here */ +``` + +### `components.ResponseInputImage` + +```python +value: components.ResponseInputImage = /* values here */ +``` + +### `components.ResponseInputFile` + +```python +value: components.ResponseInputFile = /* values here */ +``` + +### `components.ResponseInputAudio` + +```python +value: components.ResponseInputAudio = /* values here */ +``` + diff --git a/docs/models/openresponsesinputmessageitemroledeveloper.md b/docs/components/openresponsesinputmessageitemroledeveloper.md similarity index 100% rename from docs/models/openresponsesinputmessageitemroledeveloper.md rename to docs/components/openresponsesinputmessageitemroledeveloper.md diff --git a/docs/models/openresponsesinputmessageitemrolesystem.md b/docs/components/openresponsesinputmessageitemrolesystem.md similarity index 100% rename from docs/models/openresponsesinputmessageitemrolesystem.md rename to docs/components/openresponsesinputmessageitemrolesystem.md diff --git a/docs/components/openresponsesinputmessageitemroleunion.md b/docs/components/openresponsesinputmessageitemroleunion.md new file mode 100644 index 0000000..0e0f375 --- /dev/null +++ b/docs/components/openresponsesinputmessageitemroleunion.md @@ -0,0 +1,23 @@ +# OpenResponsesInputMessageItemRoleUnion + + +## Supported Types + +### `components.OpenResponsesInputMessageItemRoleUser` + +```python +value: components.OpenResponsesInputMessageItemRoleUser = /* values here */ +``` + +### `components.OpenResponsesInputMessageItemRoleSystem` + +```python +value: components.OpenResponsesInputMessageItemRoleSystem = /* values here */ +``` + +### `components.OpenResponsesInputMessageItemRoleDeveloper` + +```python +value: components.OpenResponsesInputMessageItemRoleDeveloper = /* values here */ +``` + diff --git a/docs/models/openresponsesinputmessageitemroleuser.md b/docs/components/openresponsesinputmessageitemroleuser.md similarity index 100% rename from docs/models/openresponsesinputmessageitemroleuser.md rename to docs/components/openresponsesinputmessageitemroleuser.md diff --git a/docs/models/openresponsesinputmessageitemtype.md b/docs/components/openresponsesinputmessageitemtype.md similarity index 100% rename from docs/models/openresponsesinputmessageitemtype.md rename to docs/components/openresponsesinputmessageitemtype.md diff --git a/docs/components/openresponseslogprobs.md b/docs/components/openresponseslogprobs.md new file mode 100644 index 0000000..205bcac --- /dev/null +++ b/docs/components/openresponseslogprobs.md @@ -0,0 +1,12 @@ +# OpenResponsesLogProbs + +Log probability information for a token + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `logprob` | *float* | :heavy_check_mark: | N/A | +| `token` | *str* | :heavy_check_mark: | N/A | +| `top_logprobs` | List[[components.OpenResponsesTopLogprobs](../components/openresponsestoplogprobs.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesnonstreamingresponse.md b/docs/components/openresponsesnonstreamingresponse.md similarity index 96% rename from docs/models/openresponsesnonstreamingresponse.md rename to docs/components/openresponsesnonstreamingresponse.md index f56ebfc..730d9b9 100644 --- a/docs/models/openresponsesnonstreamingresponse.md +++ b/docs/components/openresponsesnonstreamingresponse.md @@ -8,33 +8,33 @@ Complete non-streaming response from the Responses API | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `id` | *str* | :heavy_check_mark: | N/A | | -| `object` | [models.Object](../models/object.md) | :heavy_check_mark: | N/A | | +| `object` | [components.Object](../components/object.md) | :heavy_check_mark: | N/A | | | `created_at` | *float* | :heavy_check_mark: | N/A | | | `model` | *str* | :heavy_check_mark: | N/A | | -| `status` | [Optional[models.OpenAIResponsesResponseStatus]](../models/openairesponsesresponsestatus.md) | :heavy_minus_sign: | N/A | | -| `output` | List[[models.ResponsesOutputItem](../models/responsesoutputitem.md)] | :heavy_check_mark: | N/A | | +| `status` | [Optional[components.OpenAIResponsesResponseStatus]](../components/openairesponsesresponsestatus.md) | :heavy_minus_sign: | N/A | | +| `output` | List[[components.ResponsesOutputItem](../components/responsesoutputitem.md)] | :heavy_check_mark: | N/A | | | `user` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `output_text` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `prompt_cache_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `safety_identifier` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `error` | [Nullable[models.ResponsesErrorField]](../models/responseserrorfield.md) | :heavy_check_mark: | Error information returned from the API | {
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Please try again later."
} | -| `incomplete_details` | [Nullable[models.OpenAIResponsesIncompleteDetails]](../models/openairesponsesincompletedetails.md) | :heavy_check_mark: | N/A | | -| `usage` | [Optional[models.OpenResponsesUsage]](../models/openresponsesusage.md) | :heavy_minus_sign: | Token usage information for the response | {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
},
"cost": 0.0012,
"cost_details": {
"upstream_inference_cost": null,
"upstream_inference_input_cost": 0.0008,
"upstream_inference_output_cost": 0.0004
}
} | +| `error` | [Nullable[components.ResponsesErrorField]](../components/responseserrorfield.md) | :heavy_check_mark: | Error information returned from the API | {
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Please try again later."
} | +| `incomplete_details` | [Nullable[components.OpenAIResponsesIncompleteDetails]](../components/openairesponsesincompletedetails.md) | :heavy_check_mark: | N/A | | +| `usage` | [Optional[components.OpenResponsesUsage]](../components/openresponsesusage.md) | :heavy_minus_sign: | Token usage information for the response | {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
},
"cost": 0.0012,
"cost_details": {
"upstream_inference_cost": null,
"upstream_inference_input_cost": 0.0008,
"upstream_inference_output_cost": 0.0004
}
} | | `max_tool_calls` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | | | `top_logprobs` | *Optional[float]* | :heavy_minus_sign: | N/A | | | `max_output_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | | | `temperature` | *Nullable[float]* | :heavy_check_mark: | N/A | | | `top_p` | *Nullable[float]* | :heavy_check_mark: | N/A | | -| `instructions` | [Nullable[models.OpenAIResponsesInputUnion]](../models/openairesponsesinputunion.md) | :heavy_check_mark: | N/A | | +| `instructions` | [Nullable[components.OpenAIResponsesInputUnion]](../components/openairesponsesinputunion.md) | :heavy_check_mark: | N/A | | | `metadata` | Dict[str, *str*] | :heavy_check_mark: | Metadata key-value pairs for the request. Keys must be ≤64 characters and cannot contain brackets. Values must be ≤512 characters. Maximum 16 pairs allowed. | {
"user_id": "123",
"session_id": "abc-def-ghi"
} | -| `tools` | List[[models.OpenResponsesNonStreamingResponseToolUnion](../models/openresponsesnonstreamingresponsetoolunion.md)] | :heavy_check_mark: | N/A | | -| `tool_choice` | [models.OpenAIResponsesToolChoiceUnion](../models/openairesponsestoolchoiceunion.md) | :heavy_check_mark: | N/A | | +| `tools` | List[[components.OpenResponsesNonStreamingResponseToolUnion](../components/openresponsesnonstreamingresponsetoolunion.md)] | :heavy_check_mark: | N/A | | +| `tool_choice` | [components.OpenAIResponsesToolChoiceUnion](../components/openairesponsestoolchoiceunion.md) | :heavy_check_mark: | N/A | | | `parallel_tool_calls` | *bool* | :heavy_check_mark: | N/A | | -| `prompt` | [OptionalNullable[models.OpenAIResponsesPrompt]](../models/openairesponsesprompt.md) | :heavy_minus_sign: | N/A | | +| `prompt` | [OptionalNullable[components.OpenAIResponsesPrompt]](../components/openairesponsesprompt.md) | :heavy_minus_sign: | N/A | | | `background` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | | `previous_response_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `reasoning` | [OptionalNullable[models.OpenAIResponsesReasoningConfig]](../models/openairesponsesreasoningconfig.md) | :heavy_minus_sign: | N/A | | -| `service_tier` | [OptionalNullable[models.OpenAIResponsesServiceTier]](../models/openairesponsesservicetier.md) | :heavy_minus_sign: | N/A | | +| `reasoning` | [OptionalNullable[components.OpenAIResponsesReasoningConfig]](../components/openairesponsesreasoningconfig.md) | :heavy_minus_sign: | N/A | | +| `service_tier` | [OptionalNullable[components.OpenAIResponsesServiceTier]](../components/openairesponsesservicetier.md) | :heavy_minus_sign: | N/A | | | `store` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `truncation` | [OptionalNullable[models.OpenAIResponsesTruncation]](../models/openairesponsestruncation.md) | :heavy_minus_sign: | N/A | | -| `text` | [Optional[models.ResponseTextConfig]](../models/responsetextconfig.md) | :heavy_minus_sign: | Text output configuration including format and verbosity | {
"format": {
"type": "text"
},
"verbosity": "medium"
} | \ No newline at end of file +| `truncation` | [OptionalNullable[components.OpenAIResponsesTruncation]](../components/openairesponsestruncation.md) | :heavy_minus_sign: | N/A | | +| `text` | [Optional[components.ResponseTextConfig]](../components/responsetextconfig.md) | :heavy_minus_sign: | Text output configuration including format and verbosity | {
"format": {
"type": "text"
},
"verbosity": "medium"
} | \ No newline at end of file diff --git a/docs/components/openresponsesnonstreamingresponsetoolfunction.md b/docs/components/openresponsesnonstreamingresponsetoolfunction.md new file mode 100644 index 0000000..7ffb943 --- /dev/null +++ b/docs/components/openresponsesnonstreamingresponsetoolfunction.md @@ -0,0 +1,14 @@ +# OpenResponsesNonStreamingResponseToolFunction + +Function tool definition + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `type` | [components.OpenResponsesNonStreamingResponseType](../components/openresponsesnonstreamingresponsetype.md) | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `strict` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `parameters` | Dict[str, *Nullable[Any]*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/openresponsesnonstreamingresponsetoolunion.md b/docs/components/openresponsesnonstreamingresponsetoolunion.md new file mode 100644 index 0000000..cac4b7d --- /dev/null +++ b/docs/components/openresponsesnonstreamingresponsetoolunion.md @@ -0,0 +1,35 @@ +# OpenResponsesNonStreamingResponseToolUnion + + +## Supported Types + +### `components.OpenResponsesNonStreamingResponseToolFunction` + +```python +value: components.OpenResponsesNonStreamingResponseToolFunction = /* values here */ +``` + +### `components.OpenResponsesWebSearchPreviewTool` + +```python +value: components.OpenResponsesWebSearchPreviewTool = /* values here */ +``` + +### `components.OpenResponsesWebSearchPreview20250311Tool` + +```python +value: components.OpenResponsesWebSearchPreview20250311Tool = /* values here */ +``` + +### `components.OpenResponsesWebSearchTool` + +```python +value: components.OpenResponsesWebSearchTool = /* values here */ +``` + +### `components.OpenResponsesWebSearch20250826Tool` + +```python +value: components.OpenResponsesWebSearch20250826Tool = /* values here */ +``` + diff --git a/docs/models/openresponsesnonstreamingresponsetype.md b/docs/components/openresponsesnonstreamingresponsetype.md similarity index 100% rename from docs/models/openresponsesnonstreamingresponsetype.md rename to docs/components/openresponsesnonstreamingresponsetype.md diff --git a/docs/components/openresponsesreasoning.md b/docs/components/openresponsesreasoning.md new file mode 100644 index 0000000..5495d1b --- /dev/null +++ b/docs/components/openresponsesreasoning.md @@ -0,0 +1,17 @@ +# OpenResponsesReasoning + +Reasoning output item with signature and format extensions + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `type` | [components.OpenResponsesReasoningType](../components/openresponsesreasoningtype.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `content` | List[[components.ReasoningTextContent](../components/reasoningtextcontent.md)] | :heavy_minus_sign: | N/A | +| `summary` | List[[components.ReasoningSummaryText](../components/reasoningsummarytext.md)] | :heavy_check_mark: | N/A | +| `encrypted_content` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[components.OpenResponsesReasoningStatusUnion]](../components/openresponsesreasoningstatusunion.md) | :heavy_minus_sign: | N/A | +| `signature` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `format_` | [OptionalNullable[components.OpenResponsesReasoningFormat]](../components/openresponsesreasoningformat.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/components/openresponsesreasoningconfig.md b/docs/components/openresponsesreasoningconfig.md new file mode 100644 index 0000000..a5bdb09 --- /dev/null +++ b/docs/components/openresponsesreasoningconfig.md @@ -0,0 +1,13 @@ +# OpenResponsesReasoningConfig + +Configuration for reasoning mode in the response + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `effort` | [OptionalNullable[components.OpenAIResponsesReasoningEffort]](../components/openairesponsesreasoningeffort.md) | :heavy_minus_sign: | N/A | +| `summary` | [Optional[components.ReasoningSummaryVerbosity]](../components/reasoningsummaryverbosity.md) | :heavy_minus_sign: | N/A | +| `max_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `enabled` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/components/openresponsesreasoningdeltaevent.md b/docs/components/openresponsesreasoningdeltaevent.md new file mode 100644 index 0000000..ef02f21 --- /dev/null +++ b/docs/components/openresponsesreasoningdeltaevent.md @@ -0,0 +1,15 @@ +# OpenResponsesReasoningDeltaEvent + +Event emitted when reasoning text delta is streamed + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `type` | [components.OpenResponsesReasoningDeltaEventType](../components/openresponsesreasoningdeltaeventtype.md) | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `content_index` | *float* | :heavy_check_mark: | N/A | +| `delta` | *str* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesreasoningdeltaeventtype.md b/docs/components/openresponsesreasoningdeltaeventtype.md similarity index 100% rename from docs/models/openresponsesreasoningdeltaeventtype.md rename to docs/components/openresponsesreasoningdeltaeventtype.md diff --git a/docs/models/openresponsesimagegencallinprogress.md b/docs/components/openresponsesreasoningdoneevent.md similarity index 67% rename from docs/models/openresponsesimagegencallinprogress.md rename to docs/components/openresponsesreasoningdoneevent.md index 6db198f..107ae0c 100644 --- a/docs/models/openresponsesimagegencallinprogress.md +++ b/docs/components/openresponsesreasoningdoneevent.md @@ -1,13 +1,15 @@ -# OpenResponsesImageGenCallInProgress +# OpenResponsesReasoningDoneEvent -Image generation call in progress +Event emitted when reasoning text streaming is complete ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `type` | [models.OpenResponsesImageGenCallInProgressType](../models/openresponsesimagegencallinprogresstype.md) | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | +| `type` | [components.OpenResponsesReasoningDoneEventType](../components/openresponsesreasoningdoneeventtype.md) | :heavy_check_mark: | N/A | | `output_index` | *float* | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `content_index` | *float* | :heavy_check_mark: | N/A | +| `text` | *str* | :heavy_check_mark: | N/A | | `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesreasoningdoneeventtype.md b/docs/components/openresponsesreasoningdoneeventtype.md similarity index 100% rename from docs/models/openresponsesreasoningdoneeventtype.md rename to docs/components/openresponsesreasoningdoneeventtype.md diff --git a/docs/models/openresponsesreasoningformat.md b/docs/components/openresponsesreasoningformat.md similarity index 100% rename from docs/models/openresponsesreasoningformat.md rename to docs/components/openresponsesreasoningformat.md diff --git a/docs/models/openresponsesreasoningstatuscompleted.md b/docs/components/openresponsesreasoningstatuscompleted.md similarity index 100% rename from docs/models/openresponsesreasoningstatuscompleted.md rename to docs/components/openresponsesreasoningstatuscompleted.md diff --git a/docs/models/openresponsesreasoningstatusincomplete.md b/docs/components/openresponsesreasoningstatusincomplete.md similarity index 100% rename from docs/models/openresponsesreasoningstatusincomplete.md rename to docs/components/openresponsesreasoningstatusincomplete.md diff --git a/docs/models/openresponsesreasoningstatusinprogress.md b/docs/components/openresponsesreasoningstatusinprogress.md similarity index 100% rename from docs/models/openresponsesreasoningstatusinprogress.md rename to docs/components/openresponsesreasoningstatusinprogress.md diff --git a/docs/components/openresponsesreasoningstatusunion.md b/docs/components/openresponsesreasoningstatusunion.md new file mode 100644 index 0000000..7f60b8c --- /dev/null +++ b/docs/components/openresponsesreasoningstatusunion.md @@ -0,0 +1,23 @@ +# OpenResponsesReasoningStatusUnion + + +## Supported Types + +### `components.OpenResponsesReasoningStatusCompleted` + +```python +value: components.OpenResponsesReasoningStatusCompleted = /* values here */ +``` + +### `components.OpenResponsesReasoningStatusIncomplete` + +```python +value: components.OpenResponsesReasoningStatusIncomplete = /* values here */ +``` + +### `components.OpenResponsesReasoningStatusInProgress` + +```python +value: components.OpenResponsesReasoningStatusInProgress = /* values here */ +``` + diff --git a/docs/components/openresponsesreasoningsummarypartaddedevent.md b/docs/components/openresponsesreasoningsummarypartaddedevent.md new file mode 100644 index 0000000..b93704b --- /dev/null +++ b/docs/components/openresponsesreasoningsummarypartaddedevent.md @@ -0,0 +1,15 @@ +# OpenResponsesReasoningSummaryPartAddedEvent + +Event emitted when a reasoning summary part is added + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [components.OpenResponsesReasoningSummaryPartAddedEventType](../components/openresponsesreasoningsummarypartaddedeventtype.md) | :heavy_check_mark: | N/A | | +| `output_index` | *float* | :heavy_check_mark: | N/A | | +| `item_id` | *str* | :heavy_check_mark: | N/A | | +| `summary_index` | *float* | :heavy_check_mark: | N/A | | +| `part` | [components.ReasoningSummaryText](../components/reasoningsummarytext.md) | :heavy_check_mark: | N/A | {
"type": "summary_text",
"text": "Analyzed the problem using first principles"
} | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/openresponsesreasoningsummarypartaddedeventtype.md b/docs/components/openresponsesreasoningsummarypartaddedeventtype.md similarity index 100% rename from docs/models/openresponsesreasoningsummarypartaddedeventtype.md rename to docs/components/openresponsesreasoningsummarypartaddedeventtype.md diff --git a/docs/components/openresponsesreasoningsummarytextdeltaevent.md b/docs/components/openresponsesreasoningsummarytextdeltaevent.md new file mode 100644 index 0000000..902860d --- /dev/null +++ b/docs/components/openresponsesreasoningsummarytextdeltaevent.md @@ -0,0 +1,15 @@ +# OpenResponsesReasoningSummaryTextDeltaEvent + +Event emitted when reasoning summary text delta is streamed + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [components.OpenResponsesReasoningSummaryTextDeltaEventType](../components/openresponsesreasoningsummarytextdeltaeventtype.md) | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `summary_index` | *float* | :heavy_check_mark: | N/A | +| `delta` | *str* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesreasoningsummarytextdeltaeventtype.md b/docs/components/openresponsesreasoningsummarytextdeltaeventtype.md similarity index 100% rename from docs/models/openresponsesreasoningsummarytextdeltaeventtype.md rename to docs/components/openresponsesreasoningsummarytextdeltaeventtype.md diff --git a/docs/components/openresponsesreasoningsummarytextdoneevent.md b/docs/components/openresponsesreasoningsummarytextdoneevent.md new file mode 100644 index 0000000..9a64440 --- /dev/null +++ b/docs/components/openresponsesreasoningsummarytextdoneevent.md @@ -0,0 +1,15 @@ +# OpenResponsesReasoningSummaryTextDoneEvent + +Event emitted when reasoning summary text streaming is complete + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `type` | [components.OpenResponsesReasoningSummaryTextDoneEventType](../components/openresponsesreasoningsummarytextdoneeventtype.md) | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `summary_index` | *float* | :heavy_check_mark: | N/A | +| `text` | *str* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesreasoningsummarytextdoneeventtype.md b/docs/components/openresponsesreasoningsummarytextdoneeventtype.md similarity index 100% rename from docs/models/openresponsesreasoningsummarytextdoneeventtype.md rename to docs/components/openresponsesreasoningsummarytextdoneeventtype.md diff --git a/docs/models/openresponsesreasoningtype.md b/docs/components/openresponsesreasoningtype.md similarity index 100% rename from docs/models/openresponsesreasoningtype.md rename to docs/components/openresponsesreasoningtype.md diff --git a/docs/models/openresponsesrequest.md b/docs/components/openresponsesrequest.md similarity index 95% rename from docs/models/openresponsesrequest.md rename to docs/components/openresponsesrequest.md index 2f76d85..fcc6420 100644 --- a/docs/models/openresponsesrequest.md +++ b/docs/components/openresponsesrequest.md @@ -7,30 +7,30 @@ Request schema for Responses endpoint | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `input` | [Optional[models.OpenResponsesInput]](../models/openresponsesinput.md) | :heavy_minus_sign: | Input for a response request - can be a string or array of items | [
{
"role": "user",
"content": "What is the weather today?"
}
] | +| `input` | [Optional[components.OpenResponsesInput]](../components/openresponsesinput.md) | :heavy_minus_sign: | Input for a response request - can be a string or array of items | [
{
"role": "user",
"content": "What is the weather today?"
}
] | | `instructions` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Metadata key-value pairs for the request. Keys must be ≤64 characters and cannot contain brackets. Values must be ≤512 characters. Maximum 16 pairs allowed. | {
"user_id": "123",
"session_id": "abc-def-ghi"
} | -| `tools` | List[[models.OpenResponsesRequestToolUnion](../models/openresponsesrequesttoolunion.md)] | :heavy_minus_sign: | N/A | | -| `tool_choice` | [Optional[models.OpenAIResponsesToolChoiceUnion]](../models/openairesponsestoolchoiceunion.md) | :heavy_minus_sign: | N/A | | +| `tools` | List[[components.OpenResponsesRequestToolUnion](../components/openresponsesrequesttoolunion.md)] | :heavy_minus_sign: | N/A | | +| `tool_choice` | [Optional[components.OpenAIResponsesToolChoiceUnion]](../components/openairesponsestoolchoiceunion.md) | :heavy_minus_sign: | N/A | | | `parallel_tool_calls` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | | `model` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `models` | List[*str*] | :heavy_minus_sign: | N/A | | -| `text` | [Optional[models.OpenResponsesResponseText]](../models/openresponsesresponsetext.md) | :heavy_minus_sign: | Text output configuration including format and verbosity | {
"format": {
"type": "text"
},
"verbosity": "medium"
} | -| `reasoning` | [OptionalNullable[models.OpenResponsesReasoningConfig]](../models/openresponsesreasoningconfig.md) | :heavy_minus_sign: | Configuration for reasoning mode in the response | {
"summary": "auto",
"enabled": true
} | +| `text` | [Optional[components.OpenResponsesResponseText]](../components/openresponsesresponsetext.md) | :heavy_minus_sign: | Text output configuration including format and verbosity | {
"format": {
"type": "text"
},
"verbosity": "medium"
} | +| `reasoning` | [OptionalNullable[components.OpenResponsesReasoningConfig]](../components/openresponsesreasoningconfig.md) | :heavy_minus_sign: | Configuration for reasoning mode in the response | {
"summary": "auto",
"enabled": true
} | | `max_output_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | | | `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | | | `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | | | `top_k` | *Optional[float]* | :heavy_minus_sign: | N/A | | | `prompt_cache_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `previous_response_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `prompt` | [OptionalNullable[models.OpenAIResponsesPrompt]](../models/openairesponsesprompt.md) | :heavy_minus_sign: | N/A | | -| `include` | List[[models.OpenAIResponsesIncludable](../models/openairesponsesincludable.md)] | :heavy_minus_sign: | N/A | | +| `prompt` | [OptionalNullable[components.OpenAIResponsesPrompt]](../components/openairesponsesprompt.md) | :heavy_minus_sign: | N/A | | +| `include` | List[[components.OpenAIResponsesIncludable](../components/openairesponsesincludable.md)] | :heavy_minus_sign: | N/A | | | `background` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | | `safety_identifier` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `store` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | -| `service_tier` | [OptionalNullable[models.ServiceTier]](../models/servicetier.md) | :heavy_minus_sign: | N/A | auto | -| `truncation` | [OptionalNullable[models.Truncation]](../models/truncation.md) | :heavy_minus_sign: | N/A | auto | +| `service_tier` | [OptionalNullable[components.ServiceTier]](../components/servicetier.md) | :heavy_minus_sign: | N/A | auto | +| `truncation` | [OptionalNullable[components.Truncation]](../components/truncation.md) | :heavy_minus_sign: | N/A | auto | | `stream` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `provider` | [OptionalNullable[models.Provider]](../models/provider.md) | :heavy_minus_sign: | When multiple model providers are available, optionally indicate your routing preference. | | -| `plugins` | List[[models.Plugin](../models/plugin.md)] | :heavy_minus_sign: | Plugins you want to enable for this request, including their settings. | | +| `provider` | [OptionalNullable[components.Provider]](../components/provider.md) | :heavy_minus_sign: | When multiple model providers are available, optionally indicate your routing preference. | | +| `plugins` | List[[components.Plugin](../components/plugin.md)] | :heavy_minus_sign: | Plugins you want to enable for this request, including their settings. | | | `user` | *Optional[str]* | :heavy_minus_sign: | A unique identifier representing your end-user, which helps distinguish between different users of your app. This allows your app to identify specific users in case of abuse reports, preventing your entire app from being affected by the actions of individual users. Maximum of 128 characters. | | \ No newline at end of file diff --git a/docs/components/openresponsesrequesttoolfunction.md b/docs/components/openresponsesrequesttoolfunction.md new file mode 100644 index 0000000..cb13756 --- /dev/null +++ b/docs/components/openresponsesrequesttoolfunction.md @@ -0,0 +1,14 @@ +# OpenResponsesRequestToolFunction + +Function tool definition + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `type` | [components.OpenResponsesRequestType](../components/openresponsesrequesttype.md) | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `strict` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `parameters` | Dict[str, *Nullable[Any]*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/openresponsesrequesttoolunion.md b/docs/components/openresponsesrequesttoolunion.md new file mode 100644 index 0000000..d05f4d7 --- /dev/null +++ b/docs/components/openresponsesrequesttoolunion.md @@ -0,0 +1,35 @@ +# OpenResponsesRequestToolUnion + + +## Supported Types + +### `components.OpenResponsesRequestToolFunction` + +```python +value: components.OpenResponsesRequestToolFunction = /* values here */ +``` + +### `components.OpenResponsesWebSearchPreviewTool` + +```python +value: components.OpenResponsesWebSearchPreviewTool = /* values here */ +``` + +### `components.OpenResponsesWebSearchPreview20250311Tool` + +```python +value: components.OpenResponsesWebSearchPreview20250311Tool = /* values here */ +``` + +### `components.OpenResponsesWebSearchTool` + +```python +value: components.OpenResponsesWebSearchTool = /* values here */ +``` + +### `components.OpenResponsesWebSearch20250826Tool` + +```python +value: components.OpenResponsesWebSearch20250826Tool = /* values here */ +``` + diff --git a/docs/models/openresponsesrequesttype.md b/docs/components/openresponsesrequesttype.md similarity index 100% rename from docs/models/openresponsesrequesttype.md rename to docs/components/openresponsesrequesttype.md diff --git a/docs/components/openresponsesresponsetext.md b/docs/components/openresponsesresponsetext.md new file mode 100644 index 0000000..8199698 --- /dev/null +++ b/docs/components/openresponsesresponsetext.md @@ -0,0 +1,11 @@ +# OpenResponsesResponseText + +Text output configuration including format and verbosity + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `format_` | [Optional[components.ResponseFormatTextConfig]](../components/responseformattextconfig.md) | :heavy_minus_sign: | Text response format configuration | {
"type": "text"
} | +| `verbosity` | [OptionalNullable[components.OpenResponsesResponseTextVerbosity]](../components/openresponsesresponsetextverbosity.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/openresponsesresponsetextverbosity.md b/docs/components/openresponsesresponsetextverbosity.md similarity index 100% rename from docs/models/openresponsesresponsetextverbosity.md rename to docs/components/openresponsesresponsetextverbosity.md diff --git a/docs/components/openresponsesstreamevent.md b/docs/components/openresponsesstreamevent.md new file mode 100644 index 0000000..bc0a98a --- /dev/null +++ b/docs/components/openresponsesstreamevent.md @@ -0,0 +1,169 @@ +# OpenResponsesStreamEvent + +Union of all possible event types emitted during response streaming + + +## Supported Types + +### `components.OpenResponsesStreamEventResponseCreated` + +```python +value: components.OpenResponsesStreamEventResponseCreated = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseInProgress` + +```python +value: components.OpenResponsesStreamEventResponseInProgress = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseCompleted` + +```python +value: components.OpenResponsesStreamEventResponseCompleted = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseIncomplete` + +```python +value: components.OpenResponsesStreamEventResponseIncomplete = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseFailed` + +```python +value: components.OpenResponsesStreamEventResponseFailed = /* values here */ +``` + +### `components.OpenResponsesErrorEvent` + +```python +value: components.OpenResponsesErrorEvent = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseOutputItemAdded` + +```python +value: components.OpenResponsesStreamEventResponseOutputItemAdded = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseOutputItemDone` + +```python +value: components.OpenResponsesStreamEventResponseOutputItemDone = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseContentPartAdded` + +```python +value: components.OpenResponsesStreamEventResponseContentPartAdded = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseContentPartDone` + +```python +value: components.OpenResponsesStreamEventResponseContentPartDone = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseOutputTextDelta` + +```python +value: components.OpenResponsesStreamEventResponseOutputTextDelta = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseOutputTextDone` + +```python +value: components.OpenResponsesStreamEventResponseOutputTextDone = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseRefusalDelta` + +```python +value: components.OpenResponsesStreamEventResponseRefusalDelta = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseRefusalDone` + +```python +value: components.OpenResponsesStreamEventResponseRefusalDone = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseOutputTextAnnotationAdded` + +```python +value: components.OpenResponsesStreamEventResponseOutputTextAnnotationAdded = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseFunctionCallArgumentsDelta` + +```python +value: components.OpenResponsesStreamEventResponseFunctionCallArgumentsDelta = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseFunctionCallArgumentsDone` + +```python +value: components.OpenResponsesStreamEventResponseFunctionCallArgumentsDone = /* values here */ +``` + +### `components.OpenResponsesReasoningDeltaEvent` + +```python +value: components.OpenResponsesReasoningDeltaEvent = /* values here */ +``` + +### `components.OpenResponsesReasoningDoneEvent` + +```python +value: components.OpenResponsesReasoningDoneEvent = /* values here */ +``` + +### `components.OpenResponsesReasoningSummaryPartAddedEvent` + +```python +value: components.OpenResponsesReasoningSummaryPartAddedEvent = /* values here */ +``` + +### `components.OpenResponsesStreamEventResponseReasoningSummaryPartDone` + +```python +value: components.OpenResponsesStreamEventResponseReasoningSummaryPartDone = /* values here */ +``` + +### `components.OpenResponsesReasoningSummaryTextDeltaEvent` + +```python +value: components.OpenResponsesReasoningSummaryTextDeltaEvent = /* values here */ +``` + +### `components.OpenResponsesReasoningSummaryTextDoneEvent` + +```python +value: components.OpenResponsesReasoningSummaryTextDoneEvent = /* values here */ +``` + +### `components.OpenResponsesImageGenCallInProgress` + +```python +value: components.OpenResponsesImageGenCallInProgress = /* values here */ +``` + +### `components.OpenResponsesImageGenCallGenerating` + +```python +value: components.OpenResponsesImageGenCallGenerating = /* values here */ +``` + +### `components.OpenResponsesImageGenCallPartialImage` + +```python +value: components.OpenResponsesImageGenCallPartialImage = /* values here */ +``` + +### `components.OpenResponsesImageGenCallCompleted` + +```python +value: components.OpenResponsesImageGenCallCompleted = /* values here */ +``` + diff --git a/docs/models/openresponsesstreameventresponsecompleted.md b/docs/components/openresponsesstreameventresponsecompleted.md similarity index 98% rename from docs/models/openresponsesstreameventresponsecompleted.md rename to docs/components/openresponsesstreameventresponsecompleted.md index adf262d..e676145 100644 --- a/docs/models/openresponsesstreameventresponsecompleted.md +++ b/docs/components/openresponsesstreameventresponsecompleted.md @@ -7,6 +7,6 @@ Event emitted when a response has completed successfully | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.TypeResponseCompleted](../models/typeresponsecompleted.md) | :heavy_check_mark: | N/A | | -| `response` | [models.OpenResponsesNonStreamingResponse](../models/openresponsesnonstreamingresponse.md) | :heavy_check_mark: | Complete non-streaming response from the Responses API | {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "completed",
"output": [
{
"type": "message",
"id": "msg-abc123",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?",
"annotations": []
}
]
}
],
"usage": {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
}
},
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null,
"metadata": null,
"instructions": null
} | +| `type` | [components.TypeResponseCompleted](../components/typeresponsecompleted.md) | :heavy_check_mark: | N/A | | +| `response` | [components.OpenResponsesNonStreamingResponse](../components/openresponsesnonstreamingresponse.md) | :heavy_check_mark: | Complete non-streaming response from the Responses API | {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "completed",
"output": [
{
"type": "message",
"id": "msg-abc123",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?",
"annotations": []
}
]
}
],
"usage": {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
}
},
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null,
"metadata": null,
"instructions": null
} | | `sequence_number` | *float* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/chatgenerationtokenusage.md b/docs/components/openresponsesstreameventresponsecontentpartadded.md similarity index 61% rename from docs/models/chatgenerationtokenusage.md rename to docs/components/openresponsesstreameventresponsecontentpartadded.md index a4649cf..0b56c6d 100644 --- a/docs/models/chatgenerationtokenusage.md +++ b/docs/components/openresponsesstreameventresponsecontentpartadded.md @@ -1,12 +1,15 @@ -# ChatGenerationTokenUsage +# OpenResponsesStreamEventResponseContentPartAdded + +Event emitted when a new content part is added to an output item ## Fields | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `completion_tokens` | *float* | :heavy_check_mark: | N/A | -| `prompt_tokens` | *float* | :heavy_check_mark: | N/A | -| `total_tokens` | *float* | :heavy_check_mark: | N/A | -| `completion_tokens_details` | [OptionalNullable[models.CompletionTokensDetails]](../models/completiontokensdetails.md) | :heavy_minus_sign: | N/A | -| `prompt_tokens_details` | [OptionalNullable[models.PromptTokensDetails]](../models/prompttokensdetails.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `type` | [components.TypeResponseContentPartAdded](../components/typeresponsecontentpartadded.md) | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `content_index` | *float* | :heavy_check_mark: | N/A | +| `part` | [components.Part1](../components/part1.md) | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/openresponsesstreameventresponsecontentpartdone.md b/docs/components/openresponsesstreameventresponsecontentpartdone.md new file mode 100644 index 0000000..5c6bc60 --- /dev/null +++ b/docs/components/openresponsesstreameventresponsecontentpartdone.md @@ -0,0 +1,15 @@ +# OpenResponsesStreamEventResponseContentPartDone + +Event emitted when a content part is complete + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `type` | [components.TypeResponseContentPartDone](../components/typeresponsecontentpartdone.md) | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `content_index` | *float* | :heavy_check_mark: | N/A | +| `part` | [components.Part2](../components/part2.md) | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponsecreated.md b/docs/components/openresponsesstreameventresponsecreated.md similarity index 98% rename from docs/models/openresponsesstreameventresponsecreated.md rename to docs/components/openresponsesstreameventresponsecreated.md index c8d1983..1a07bc7 100644 --- a/docs/models/openresponsesstreameventresponsecreated.md +++ b/docs/components/openresponsesstreameventresponsecreated.md @@ -7,6 +7,6 @@ Event emitted when a response is created | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.TypeResponseCreated](../models/typeresponsecreated.md) | :heavy_check_mark: | N/A | | -| `response` | [models.OpenResponsesNonStreamingResponse](../models/openresponsesnonstreamingresponse.md) | :heavy_check_mark: | Complete non-streaming response from the Responses API | {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "completed",
"output": [
{
"type": "message",
"id": "msg-abc123",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?",
"annotations": []
}
]
}
],
"usage": {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
}
},
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null,
"metadata": null,
"instructions": null
} | +| `type` | [components.TypeResponseCreated](../components/typeresponsecreated.md) | :heavy_check_mark: | N/A | | +| `response` | [components.OpenResponsesNonStreamingResponse](../components/openresponsesnonstreamingresponse.md) | :heavy_check_mark: | Complete non-streaming response from the Responses API | {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "completed",
"output": [
{
"type": "message",
"id": "msg-abc123",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?",
"annotations": []
}
]
}
],
"usage": {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
}
},
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null,
"metadata": null,
"instructions": null
} | | `sequence_number` | *float* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponsefailed.md b/docs/components/openresponsesstreameventresponsefailed.md similarity index 98% rename from docs/models/openresponsesstreameventresponsefailed.md rename to docs/components/openresponsesstreameventresponsefailed.md index d9ffe02..e273174 100644 --- a/docs/models/openresponsesstreameventresponsefailed.md +++ b/docs/components/openresponsesstreameventresponsefailed.md @@ -7,6 +7,6 @@ Event emitted when a response has failed | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.TypeResponseFailed](../models/typeresponsefailed.md) | :heavy_check_mark: | N/A | | -| `response` | [models.OpenResponsesNonStreamingResponse](../models/openresponsesnonstreamingresponse.md) | :heavy_check_mark: | Complete non-streaming response from the Responses API | {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "completed",
"output": [
{
"type": "message",
"id": "msg-abc123",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?",
"annotations": []
}
]
}
],
"usage": {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
}
},
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null,
"metadata": null,
"instructions": null
} | +| `type` | [components.TypeResponseFailed](../components/typeresponsefailed.md) | :heavy_check_mark: | N/A | | +| `response` | [components.OpenResponsesNonStreamingResponse](../components/openresponsesnonstreamingresponse.md) | :heavy_check_mark: | Complete non-streaming response from the Responses API | {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "completed",
"output": [
{
"type": "message",
"id": "msg-abc123",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?",
"annotations": []
}
]
}
],
"usage": {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
}
},
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null,
"metadata": null,
"instructions": null
} | | `sequence_number` | *float* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/components/openresponsesstreameventresponsefunctioncallargumentsdelta.md b/docs/components/openresponsesstreameventresponsefunctioncallargumentsdelta.md new file mode 100644 index 0000000..601709a --- /dev/null +++ b/docs/components/openresponsesstreameventresponsefunctioncallargumentsdelta.md @@ -0,0 +1,14 @@ +# OpenResponsesStreamEventResponseFunctionCallArgumentsDelta + +Event emitted when function call arguments are being streamed + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `type` | [components.TypeResponseFunctionCallArgumentsDelta](../components/typeresponsefunctioncallargumentsdelta.md) | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `delta` | *str* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesimagegencallpartialimage.md b/docs/components/openresponsesstreameventresponsefunctioncallargumentsdone.md similarity index 86% rename from docs/models/openresponsesimagegencallpartialimage.md rename to docs/components/openresponsesstreameventresponsefunctioncallargumentsdone.md index c0e325d..2515ace 100644 --- a/docs/models/openresponsesimagegencallpartialimage.md +++ b/docs/components/openresponsesstreameventresponsefunctioncallargumentsdone.md @@ -1,15 +1,15 @@ -# OpenResponsesImageGenCallPartialImage +# OpenResponsesStreamEventResponseFunctionCallArgumentsDone -Image generation call with partial image +Event emitted when function call arguments streaming is complete ## Fields | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesImageGenCallPartialImageType](../models/openresponsesimagegencallpartialimagetype.md) | :heavy_check_mark: | N/A | +| `type` | [components.TypeResponseFunctionCallArgumentsDone](../components/typeresponsefunctioncallargumentsdone.md) | :heavy_check_mark: | N/A | | `item_id` | *str* | :heavy_check_mark: | N/A | | `output_index` | *float* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | -| `partial_image_b64` | *str* | :heavy_check_mark: | N/A | -| `partial_image_index` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file +| `name` | *str* | :heavy_check_mark: | N/A | +| `arguments` | *str* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponseincomplete.md b/docs/components/openresponsesstreameventresponseincomplete.md similarity index 98% rename from docs/models/openresponsesstreameventresponseincomplete.md rename to docs/components/openresponsesstreameventresponseincomplete.md index b90b2bc..f93968d 100644 --- a/docs/models/openresponsesstreameventresponseincomplete.md +++ b/docs/components/openresponsesstreameventresponseincomplete.md @@ -7,6 +7,6 @@ Event emitted when a response is incomplete | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.TypeResponseIncomplete](../models/typeresponseincomplete.md) | :heavy_check_mark: | N/A | | -| `response` | [models.OpenResponsesNonStreamingResponse](../models/openresponsesnonstreamingresponse.md) | :heavy_check_mark: | Complete non-streaming response from the Responses API | {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "completed",
"output": [
{
"type": "message",
"id": "msg-abc123",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?",
"annotations": []
}
]
}
],
"usage": {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
}
},
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null,
"metadata": null,
"instructions": null
} | +| `type` | [components.TypeResponseIncomplete](../components/typeresponseincomplete.md) | :heavy_check_mark: | N/A | | +| `response` | [components.OpenResponsesNonStreamingResponse](../components/openresponsesnonstreamingresponse.md) | :heavy_check_mark: | Complete non-streaming response from the Responses API | {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "completed",
"output": [
{
"type": "message",
"id": "msg-abc123",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?",
"annotations": []
}
]
}
],
"usage": {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
}
},
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null,
"metadata": null,
"instructions": null
} | | `sequence_number` | *float* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponseinprogress.md b/docs/components/openresponsesstreameventresponseinprogress.md similarity index 98% rename from docs/models/openresponsesstreameventresponseinprogress.md rename to docs/components/openresponsesstreameventresponseinprogress.md index ecc2a76..372d5a2 100644 --- a/docs/models/openresponsesstreameventresponseinprogress.md +++ b/docs/components/openresponsesstreameventresponseinprogress.md @@ -7,6 +7,6 @@ Event emitted when a response is in progress | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.TypeResponseInProgress](../models/typeresponseinprogress.md) | :heavy_check_mark: | N/A | | -| `response` | [models.OpenResponsesNonStreamingResponse](../models/openresponsesnonstreamingresponse.md) | :heavy_check_mark: | Complete non-streaming response from the Responses API | {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "completed",
"output": [
{
"type": "message",
"id": "msg-abc123",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?",
"annotations": []
}
]
}
],
"usage": {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
}
},
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null,
"metadata": null,
"instructions": null
} | +| `type` | [components.TypeResponseInProgress](../components/typeresponseinprogress.md) | :heavy_check_mark: | N/A | | +| `response` | [components.OpenResponsesNonStreamingResponse](../components/openresponsesnonstreamingresponse.md) | :heavy_check_mark: | Complete non-streaming response from the Responses API | {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "completed",
"output": [
{
"type": "message",
"id": "msg-abc123",
"status": "completed",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?",
"annotations": []
}
]
}
],
"usage": {
"input_tokens": 10,
"output_tokens": 25,
"total_tokens": 35,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 0
}
},
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null,
"metadata": null,
"instructions": null
} | | `sequence_number` | *float* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponseoutputitemadded.md b/docs/components/openresponsesstreameventresponseoutputitemadded.md similarity index 94% rename from docs/models/openresponsesstreameventresponseoutputitemadded.md rename to docs/components/openresponsesstreameventresponseoutputitemadded.md index 3b1c7df..c9b357b 100644 --- a/docs/models/openresponsesstreameventresponseoutputitemadded.md +++ b/docs/components/openresponsesstreameventresponseoutputitemadded.md @@ -7,7 +7,7 @@ Event emitted when a new output item is added to the response | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.TypeResponseOutputItemAdded](../models/typeresponseoutputitemadded.md) | :heavy_check_mark: | N/A | | +| `type` | [components.TypeResponseOutputItemAdded](../components/typeresponseoutputitemadded.md) | :heavy_check_mark: | N/A | | | `output_index` | *float* | :heavy_check_mark: | N/A | | -| `item` | [models.ResponsesOutputItem](../models/responsesoutputitem.md) | :heavy_check_mark: | An output item from the response | {
"id": "msg-abc123",
"role": "assistant",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?"
}
]
} | +| `item` | [components.ResponsesOutputItem](../components/responsesoutputitem.md) | :heavy_check_mark: | An output item from the response | {
"id": "msg-abc123",
"role": "assistant",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?"
}
]
} | | `sequence_number` | *float* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponseoutputitemdone.md b/docs/components/openresponsesstreameventresponseoutputitemdone.md similarity index 94% rename from docs/models/openresponsesstreameventresponseoutputitemdone.md rename to docs/components/openresponsesstreameventresponseoutputitemdone.md index e878780..4355cc9 100644 --- a/docs/models/openresponsesstreameventresponseoutputitemdone.md +++ b/docs/components/openresponsesstreameventresponseoutputitemdone.md @@ -7,7 +7,7 @@ Event emitted when an output item is complete | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.TypeResponseOutputItemDone](../models/typeresponseoutputitemdone.md) | :heavy_check_mark: | N/A | | +| `type` | [components.TypeResponseOutputItemDone](../components/typeresponseoutputitemdone.md) | :heavy_check_mark: | N/A | | | `output_index` | *float* | :heavy_check_mark: | N/A | | -| `item` | [models.ResponsesOutputItem](../models/responsesoutputitem.md) | :heavy_check_mark: | An output item from the response | {
"id": "msg-abc123",
"role": "assistant",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?"
}
]
} | +| `item` | [components.ResponsesOutputItem](../components/responsesoutputitem.md) | :heavy_check_mark: | An output item from the response | {
"id": "msg-abc123",
"role": "assistant",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"text": "Hello! How can I help you today?"
}
]
} | | `sequence_number` | *float* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/components/openresponsesstreameventresponseoutputtextannotationadded.md b/docs/components/openresponsesstreameventresponseoutputtextannotationadded.md new file mode 100644 index 0000000..7723df5 --- /dev/null +++ b/docs/components/openresponsesstreameventresponseoutputtextannotationadded.md @@ -0,0 +1,16 @@ +# OpenResponsesStreamEventResponseOutputTextAnnotationAdded + +Event emitted when a text annotation is added to output + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `type` | [components.TypeResponseOutputTextAnnotationAdded](../components/typeresponseoutputtextannotationadded.md) | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `content_index` | *float* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | +| `annotation_index` | *float* | :heavy_check_mark: | N/A | +| `annotation` | [components.OpenAIResponsesAnnotation](../components/openairesponsesannotation.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/openresponsesstreameventresponseoutputtextdelta.md b/docs/components/openresponsesstreameventresponseoutputtextdelta.md new file mode 100644 index 0000000..c2567ea --- /dev/null +++ b/docs/components/openresponsesstreameventresponseoutputtextdelta.md @@ -0,0 +1,16 @@ +# OpenResponsesStreamEventResponseOutputTextDelta + +Event emitted when a text delta is streamed + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `type` | [components.TypeResponseOutputTextDelta](../components/typeresponseoutputtextdelta.md) | :heavy_check_mark: | N/A | +| `logprobs` | List[[components.OpenResponsesLogProbs](../components/openresponseslogprobs.md)] | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `content_index` | *float* | :heavy_check_mark: | N/A | +| `delta` | *str* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/openresponsesstreameventresponseoutputtextdone.md b/docs/components/openresponsesstreameventresponseoutputtextdone.md new file mode 100644 index 0000000..eefdc29 --- /dev/null +++ b/docs/components/openresponsesstreameventresponseoutputtextdone.md @@ -0,0 +1,16 @@ +# OpenResponsesStreamEventResponseOutputTextDone + +Event emitted when text streaming is complete + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `type` | [components.TypeResponseOutputTextDone](../components/typeresponseoutputtextdone.md) | :heavy_check_mark: | N/A | +| `output_index` | *float* | :heavy_check_mark: | N/A | +| `item_id` | *str* | :heavy_check_mark: | N/A | +| `content_index` | *float* | :heavy_check_mark: | N/A | +| `text` | *str* | :heavy_check_mark: | N/A | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | +| `logprobs` | List[[components.OpenResponsesLogProbs](../components/openresponseslogprobs.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/openresponsesstreameventresponsereasoningsummarypartdone.md b/docs/components/openresponsesstreameventresponsereasoningsummarypartdone.md new file mode 100644 index 0000000..abfe881 --- /dev/null +++ b/docs/components/openresponsesstreameventresponsereasoningsummarypartdone.md @@ -0,0 +1,15 @@ +# OpenResponsesStreamEventResponseReasoningSummaryPartDone + +Event emitted when a reasoning summary part is complete + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `type` | [components.TypeResponseReasoningSummaryPartDone](../components/typeresponsereasoningsummarypartdone.md) | :heavy_check_mark: | N/A | | +| `output_index` | *float* | :heavy_check_mark: | N/A | | +| `item_id` | *str* | :heavy_check_mark: | N/A | | +| `summary_index` | *float* | :heavy_check_mark: | N/A | | +| `part` | [components.ReasoningSummaryText](../components/reasoningsummarytext.md) | :heavy_check_mark: | N/A | {
"type": "summary_text",
"text": "Analyzed the problem using first principles"
} | +| `sequence_number` | *float* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponsecontentpartadded.md b/docs/components/openresponsesstreameventresponserefusaldelta.md similarity index 86% rename from docs/models/openresponsesstreameventresponsecontentpartadded.md rename to docs/components/openresponsesstreameventresponserefusaldelta.md index adf5300..c645c4e 100644 --- a/docs/models/openresponsesstreameventresponsecontentpartadded.md +++ b/docs/components/openresponsesstreameventresponserefusaldelta.md @@ -1,15 +1,15 @@ -# OpenResponsesStreamEventResponseContentPartAdded +# OpenResponsesStreamEventResponseRefusalDelta -Event emitted when a new content part is added to an output item +Event emitted when a refusal delta is streamed ## Fields | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `type` | [models.TypeResponseContentPartAdded](../models/typeresponsecontentpartadded.md) | :heavy_check_mark: | N/A | +| `type` | [components.TypeResponseRefusalDelta](../components/typeresponserefusaldelta.md) | :heavy_check_mark: | N/A | | `output_index` | *float* | :heavy_check_mark: | N/A | | `item_id` | *str* | :heavy_check_mark: | N/A | | `content_index` | *float* | :heavy_check_mark: | N/A | -| `part` | [models.Part1](../models/part1.md) | :heavy_check_mark: | N/A | +| `delta` | *str* | :heavy_check_mark: | N/A | | `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponsecontentpartdone.md b/docs/components/openresponsesstreameventresponserefusaldone.md similarity index 87% rename from docs/models/openresponsesstreameventresponsecontentpartdone.md rename to docs/components/openresponsesstreameventresponserefusaldone.md index f137df7..4ac3b11 100644 --- a/docs/models/openresponsesstreameventresponsecontentpartdone.md +++ b/docs/components/openresponsesstreameventresponserefusaldone.md @@ -1,15 +1,15 @@ -# OpenResponsesStreamEventResponseContentPartDone +# OpenResponsesStreamEventResponseRefusalDone -Event emitted when a content part is complete +Event emitted when refusal streaming is complete ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `type` | [models.TypeResponseContentPartDone](../models/typeresponsecontentpartdone.md) | :heavy_check_mark: | N/A | +| `type` | [components.TypeResponseRefusalDone](../components/typeresponserefusaldone.md) | :heavy_check_mark: | N/A | | `output_index` | *float* | :heavy_check_mark: | N/A | | `item_id` | *str* | :heavy_check_mark: | N/A | | `content_index` | *float* | :heavy_check_mark: | N/A | -| `part` | [models.Part2](../models/part2.md) | :heavy_check_mark: | N/A | +| `refusal` | *str* | :heavy_check_mark: | N/A | | `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsestoplogprobs.md b/docs/components/openresponsestoplogprobs.md similarity index 100% rename from docs/models/openresponsestoplogprobs.md rename to docs/components/openresponsestoplogprobs.md diff --git a/docs/models/openresponsesstreameventresponserefusaldone.md b/docs/components/openresponsesusage.md similarity index 52% rename from docs/models/openresponsesstreameventresponserefusaldone.md rename to docs/components/openresponsesusage.md index adef6db..bab0ec3 100644 --- a/docs/models/openresponsesstreameventresponserefusaldone.md +++ b/docs/components/openresponsesusage.md @@ -1,15 +1,17 @@ -# OpenResponsesStreamEventResponseRefusalDone +# OpenResponsesUsage -Event emitted when refusal streaming is complete +Token usage information for the response ## Fields | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `type` | [models.TypeResponseRefusalDone](../models/typeresponserefusaldone.md) | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `content_index` | *float* | :heavy_check_mark: | N/A | -| `refusal` | *str* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file +| `input_tokens` | *float* | :heavy_check_mark: | N/A | +| `input_tokens_details` | [components.InputTokensDetails](../components/inputtokensdetails.md) | :heavy_check_mark: | N/A | +| `output_tokens` | *float* | :heavy_check_mark: | N/A | +| `output_tokens_details` | [components.OutputTokensDetails](../components/outputtokensdetails.md) | :heavy_check_mark: | N/A | +| `total_tokens` | *float* | :heavy_check_mark: | N/A | +| `cost` | *OptionalNullable[float]* | :heavy_minus_sign: | Cost of the completion | +| `is_byok` | *Optional[bool]* | :heavy_minus_sign: | Whether a request was made using a Bring Your Own Key configuration | +| `cost_details` | [Optional[components.CostDetails]](../components/costdetails.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/components/openresponseswebsearch20250826tool.md b/docs/components/openresponseswebsearch20250826tool.md new file mode 100644 index 0000000..8ba9326 --- /dev/null +++ b/docs/components/openresponseswebsearch20250826tool.md @@ -0,0 +1,13 @@ +# OpenResponsesWebSearch20250826Tool + +Web search tool configuration (2025-08-26 version) + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [components.OpenResponsesWebSearch20250826ToolType](../components/openresponseswebsearch20250826tooltype.md) | :heavy_check_mark: | N/A | | +| `filters` | [OptionalNullable[components.OpenResponsesWebSearch20250826ToolFilters]](../components/openresponseswebsearch20250826toolfilters.md) | :heavy_minus_sign: | N/A | | +| `search_context_size` | [Optional[components.ResponsesSearchContextSize]](../components/responsessearchcontextsize.md) | :heavy_minus_sign: | Size of the search context for web search tools | medium | +| `user_location` | [OptionalNullable[components.ResponsesWebSearchUserLocation]](../components/responseswebsearchuserlocation.md) | :heavy_minus_sign: | User location information for web search | {
"type": "approximate",
"city": "San Francisco",
"country": "USA",
"region": "California",
"timezone": "America/Los_Angeles"
} | \ No newline at end of file diff --git a/docs/models/openresponseswebsearch20250826toolfilters.md b/docs/components/openresponseswebsearch20250826toolfilters.md similarity index 100% rename from docs/models/openresponseswebsearch20250826toolfilters.md rename to docs/components/openresponseswebsearch20250826toolfilters.md diff --git a/docs/models/openresponseswebsearch20250826tooltype.md b/docs/components/openresponseswebsearch20250826tooltype.md similarity index 100% rename from docs/models/openresponseswebsearch20250826tooltype.md rename to docs/components/openresponseswebsearch20250826tooltype.md diff --git a/docs/components/openresponseswebsearchpreview20250311tool.md b/docs/components/openresponseswebsearchpreview20250311tool.md new file mode 100644 index 0000000..1b63f77 --- /dev/null +++ b/docs/components/openresponseswebsearchpreview20250311tool.md @@ -0,0 +1,12 @@ +# OpenResponsesWebSearchPreview20250311Tool + +Web search preview tool configuration (2025-03-11 version) + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `type` | [components.OpenResponsesWebSearchPreview20250311ToolType](../components/openresponseswebsearchpreview20250311tooltype.md) | :heavy_check_mark: | N/A | | +| `search_context_size` | [Optional[components.ResponsesSearchContextSize]](../components/responsessearchcontextsize.md) | :heavy_minus_sign: | Size of the search context for web search tools | medium | +| `user_location` | [OptionalNullable[components.WebSearchPreviewToolUserLocation]](../components/websearchpreviewtooluserlocation.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/openresponseswebsearchpreview20250311tooltype.md b/docs/components/openresponseswebsearchpreview20250311tooltype.md similarity index 100% rename from docs/models/openresponseswebsearchpreview20250311tooltype.md rename to docs/components/openresponseswebsearchpreview20250311tooltype.md diff --git a/docs/models/openresponseswebsearchpreview20250311tool.md b/docs/components/openresponseswebsearchpreviewtool.md similarity index 81% rename from docs/models/openresponseswebsearchpreview20250311tool.md rename to docs/components/openresponseswebsearchpreviewtool.md index 5a53cdd..67b7a4f 100644 --- a/docs/models/openresponseswebsearchpreview20250311tool.md +++ b/docs/components/openresponseswebsearchpreviewtool.md @@ -1,12 +1,12 @@ -# OpenResponsesWebSearchPreview20250311Tool +# OpenResponsesWebSearchPreviewTool -Web search preview tool configuration (2025-03-11 version) +Web search preview tool configuration ## Fields | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `type` | [models.OpenResponsesWebSearchPreview20250311ToolType](../models/openresponseswebsearchpreview20250311tooltype.md) | :heavy_check_mark: | N/A | | -| `search_context_size` | [Optional[models.ResponsesSearchContextSize]](../models/responsessearchcontextsize.md) | :heavy_minus_sign: | Size of the search context for web search tools | medium | -| `user_location` | [OptionalNullable[models.WebSearchPreviewToolUserLocation]](../models/websearchpreviewtooluserlocation.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `type` | [components.OpenResponsesWebSearchPreviewToolType](../components/openresponseswebsearchpreviewtooltype.md) | :heavy_check_mark: | N/A | | +| `search_context_size` | [Optional[components.ResponsesSearchContextSize]](../components/responsessearchcontextsize.md) | :heavy_minus_sign: | Size of the search context for web search tools | medium | +| `user_location` | [OptionalNullable[components.WebSearchPreviewToolUserLocation]](../components/websearchpreviewtooluserlocation.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/openresponseswebsearchpreviewtooltype.md b/docs/components/openresponseswebsearchpreviewtooltype.md similarity index 100% rename from docs/models/openresponseswebsearchpreviewtooltype.md rename to docs/components/openresponseswebsearchpreviewtooltype.md diff --git a/docs/models/openresponseswebsearchtool.md b/docs/components/openresponseswebsearchtool.md similarity index 87% rename from docs/models/openresponseswebsearchtool.md rename to docs/components/openresponseswebsearchtool.md index 1854f49..94eeb60 100644 --- a/docs/models/openresponseswebsearchtool.md +++ b/docs/components/openresponseswebsearchtool.md @@ -7,7 +7,7 @@ Web search tool configuration | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesWebSearchToolType](../models/openresponseswebsearchtooltype.md) | :heavy_check_mark: | N/A | | -| `filters` | [OptionalNullable[models.OpenResponsesWebSearchToolFilters]](../models/openresponseswebsearchtoolfilters.md) | :heavy_minus_sign: | N/A | | -| `search_context_size` | [Optional[models.ResponsesSearchContextSize]](../models/responsessearchcontextsize.md) | :heavy_minus_sign: | Size of the search context for web search tools | medium | -| `user_location` | [OptionalNullable[models.ResponsesWebSearchUserLocation]](../models/responseswebsearchuserlocation.md) | :heavy_minus_sign: | User location information for web search | {
"type": "approximate",
"city": "San Francisco",
"country": "USA",
"region": "California",
"timezone": "America/Los_Angeles"
} | \ No newline at end of file +| `type` | [components.OpenResponsesWebSearchToolType](../components/openresponseswebsearchtooltype.md) | :heavy_check_mark: | N/A | | +| `filters` | [OptionalNullable[components.OpenResponsesWebSearchToolFilters]](../components/openresponseswebsearchtoolfilters.md) | :heavy_minus_sign: | N/A | | +| `search_context_size` | [Optional[components.ResponsesSearchContextSize]](../components/responsessearchcontextsize.md) | :heavy_minus_sign: | Size of the search context for web search tools | medium | +| `user_location` | [OptionalNullable[components.ResponsesWebSearchUserLocation]](../components/responseswebsearchuserlocation.md) | :heavy_minus_sign: | User location information for web search | {
"type": "approximate",
"city": "San Francisco",
"country": "USA",
"region": "California",
"timezone": "America/Los_Angeles"
} | \ No newline at end of file diff --git a/docs/models/openresponseswebsearchtoolfilters.md b/docs/components/openresponseswebsearchtoolfilters.md similarity index 100% rename from docs/models/openresponseswebsearchtoolfilters.md rename to docs/components/openresponseswebsearchtoolfilters.md diff --git a/docs/models/openresponseswebsearchtooltype.md b/docs/components/openresponseswebsearchtooltype.md similarity index 100% rename from docs/models/openresponseswebsearchtooltype.md rename to docs/components/openresponseswebsearchtooltype.md diff --git a/docs/models/order.md b/docs/components/order.md similarity index 55% rename from docs/models/order.md rename to docs/components/order.md index cdd0388..b0e21fa 100644 --- a/docs/models/order.md +++ b/docs/components/order.md @@ -3,10 +3,10 @@ ## Supported Types -### `models.ProviderName` +### `components.ProviderName` ```python -value: models.ProviderName = /* values here */ +value: components.ProviderName = /* values here */ ``` ### `str` diff --git a/docs/models/responsesoutputitemfilesearchcall.md b/docs/components/outputitemimagegenerationcall.md similarity index 84% rename from docs/models/responsesoutputitemfilesearchcall.md rename to docs/components/outputitemimagegenerationcall.md index 01877d4..125c363 100644 --- a/docs/models/responsesoutputitemfilesearchcall.md +++ b/docs/components/outputitemimagegenerationcall.md @@ -1,11 +1,11 @@ -# ResponsesOutputItemFileSearchCall +# OutputItemImageGenerationCall ## Fields | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `type` | [models.ResponsesOutputItemFileSearchCallType](../models/responsesoutputitemfilesearchcalltype.md) | :heavy_check_mark: | N/A | | +| `type` | [components.OutputItemImageGenerationCallType](../components/outputitemimagegenerationcalltype.md) | :heavy_check_mark: | N/A | | | `id` | *str* | :heavy_check_mark: | N/A | | -| `queries` | List[*str*] | :heavy_check_mark: | N/A | | -| `status` | [models.WebSearchStatus](../models/websearchstatus.md) | :heavy_check_mark: | N/A | completed | \ No newline at end of file +| `result` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `status` | [components.ImageGenerationStatus](../components/imagegenerationstatus.md) | :heavy_check_mark: | N/A | completed | \ No newline at end of file diff --git a/docs/models/outputitemimagegenerationcalltype.md b/docs/components/outputitemimagegenerationcalltype.md similarity index 100% rename from docs/models/outputitemimagegenerationcalltype.md rename to docs/components/outputitemimagegenerationcalltype.md diff --git a/docs/models/chatstreamingchoice.md b/docs/components/outputmessage.md similarity index 58% rename from docs/models/chatstreamingchoice.md rename to docs/components/outputmessage.md index 6176cca..4ce0ea9 100644 --- a/docs/models/chatstreamingchoice.md +++ b/docs/components/outputmessage.md @@ -1,11 +1,12 @@ -# ChatStreamingChoice +# OutputMessage ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `delta` | [models.ChatStreamingMessageChunk](../models/chatstreamingmessagechunk.md) | :heavy_check_mark: | N/A | -| `finish_reason` | [Nullable[models.ChatCompletionFinishReason]](../models/chatcompletionfinishreason.md) | :heavy_check_mark: | N/A | -| `index` | *float* | :heavy_check_mark: | N/A | -| `logprobs` | [OptionalNullable[models.ChatMessageTokenLogprobs]](../models/chatmessagetokenlogprobs.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | N/A | +| `role` | [components.OutputMessageRole](../components/outputmessagerole.md) | :heavy_check_mark: | N/A | +| `type` | [components.OutputMessageType](../components/outputmessagetype.md) | :heavy_check_mark: | N/A | +| `status` | [Optional[components.OutputMessageStatusUnion]](../components/outputmessagestatusunion.md) | :heavy_minus_sign: | N/A | +| `content` | List[[components.OutputMessageContent](../components/outputmessagecontent.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/outputmessagecontent.md b/docs/components/outputmessagecontent.md new file mode 100644 index 0000000..d8ae814 --- /dev/null +++ b/docs/components/outputmessagecontent.md @@ -0,0 +1,17 @@ +# OutputMessageContent + + +## Supported Types + +### `components.ResponseOutputText` + +```python +value: components.ResponseOutputText = /* values here */ +``` + +### `components.OpenAIResponsesRefusalContent` + +```python +value: components.OpenAIResponsesRefusalContent = /* values here */ +``` + diff --git a/docs/models/outputmessagerole.md b/docs/components/outputmessagerole.md similarity index 100% rename from docs/models/outputmessagerole.md rename to docs/components/outputmessagerole.md diff --git a/docs/models/outputmessagestatuscompleted.md b/docs/components/outputmessagestatuscompleted.md similarity index 100% rename from docs/models/outputmessagestatuscompleted.md rename to docs/components/outputmessagestatuscompleted.md diff --git a/docs/models/outputmessagestatusincomplete.md b/docs/components/outputmessagestatusincomplete.md similarity index 100% rename from docs/models/outputmessagestatusincomplete.md rename to docs/components/outputmessagestatusincomplete.md diff --git a/docs/models/outputmessagestatusinprogress.md b/docs/components/outputmessagestatusinprogress.md similarity index 100% rename from docs/models/outputmessagestatusinprogress.md rename to docs/components/outputmessagestatusinprogress.md diff --git a/docs/components/outputmessagestatusunion.md b/docs/components/outputmessagestatusunion.md new file mode 100644 index 0000000..6dae9ad --- /dev/null +++ b/docs/components/outputmessagestatusunion.md @@ -0,0 +1,23 @@ +# OutputMessageStatusUnion + + +## Supported Types + +### `components.OutputMessageStatusCompleted` + +```python +value: components.OutputMessageStatusCompleted = /* values here */ +``` + +### `components.OutputMessageStatusIncomplete` + +```python +value: components.OutputMessageStatusIncomplete = /* values here */ +``` + +### `components.OutputMessageStatusInProgress` + +```python +value: components.OutputMessageStatusInProgress = /* values here */ +``` + diff --git a/docs/models/outputmessagetype.md b/docs/components/outputmessagetype.md similarity index 100% rename from docs/models/outputmessagetype.md rename to docs/components/outputmessagetype.md diff --git a/docs/models/outputmodality.md b/docs/components/outputmodality.md similarity index 100% rename from docs/models/outputmodality.md rename to docs/components/outputmodality.md diff --git a/docs/models/outputtokensdetails.md b/docs/components/outputtokensdetails.md similarity index 100% rename from docs/models/outputtokensdetails.md rename to docs/components/outputtokensdetails.md diff --git a/docs/models/parameter.md b/docs/components/parameter.md similarity index 100% rename from docs/models/parameter.md rename to docs/components/parameter.md diff --git a/docs/components/part1.md b/docs/components/part1.md new file mode 100644 index 0000000..263bf74 --- /dev/null +++ b/docs/components/part1.md @@ -0,0 +1,23 @@ +# Part1 + + +## Supported Types + +### `components.ResponseOutputText` + +```python +value: components.ResponseOutputText = /* values here */ +``` + +### `components.ReasoningTextContent` + +```python +value: components.ReasoningTextContent = /* values here */ +``` + +### `components.OpenAIResponsesRefusalContent` + +```python +value: components.OpenAIResponsesRefusalContent = /* values here */ +``` + diff --git a/docs/components/part2.md b/docs/components/part2.md new file mode 100644 index 0000000..37c9d6f --- /dev/null +++ b/docs/components/part2.md @@ -0,0 +1,23 @@ +# Part2 + + +## Supported Types + +### `components.ResponseOutputText` + +```python +value: components.ResponseOutputText = /* values here */ +``` + +### `components.ReasoningTextContent` + +```python +value: components.ReasoningTextContent = /* values here */ +``` + +### `components.OpenAIResponsesRefusalContent` + +```python +value: components.OpenAIResponsesRefusalContent = /* values here */ +``` + diff --git a/docs/models/payloadtoolargeresponseerrordata.md b/docs/components/payloadtoolargeresponseerrordata.md similarity index 100% rename from docs/models/payloadtoolargeresponseerrordata.md rename to docs/components/payloadtoolargeresponseerrordata.md diff --git a/docs/models/paymentrequiredresponseerrordata.md b/docs/components/paymentrequiredresponseerrordata.md similarity index 100% rename from docs/models/paymentrequiredresponseerrordata.md rename to docs/components/paymentrequiredresponseerrordata.md diff --git a/docs/components/pdf.md b/docs/components/pdf.md new file mode 100644 index 0000000..b039762 --- /dev/null +++ b/docs/components/pdf.md @@ -0,0 +1,8 @@ +# Pdf + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `engine` | [Optional[components.PdfEngine]](../components/pdfengine.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/pdfengine.md b/docs/components/pdfengine.md similarity index 100% rename from docs/models/pdfengine.md rename to docs/components/pdfengine.md diff --git a/docs/models/perrequestlimits.md b/docs/components/perrequestlimits.md similarity index 100% rename from docs/models/perrequestlimits.md rename to docs/components/perrequestlimits.md diff --git a/docs/components/plugin.md b/docs/components/plugin.md new file mode 100644 index 0000000..7f6e744 --- /dev/null +++ b/docs/components/plugin.md @@ -0,0 +1,23 @@ +# Plugin + + +## Supported Types + +### `components.PluginModeration` + +```python +value: components.PluginModeration = /* values here */ +``` + +### `components.PluginWeb` + +```python +value: components.PluginWeb = /* values here */ +``` + +### `components.PluginFileParser` + +```python +value: components.PluginFileParser = /* values here */ +``` + diff --git a/docs/components/pluginfileparser.md b/docs/components/pluginfileparser.md new file mode 100644 index 0000000..309f072 --- /dev/null +++ b/docs/components/pluginfileparser.md @@ -0,0 +1,10 @@ +# PluginFileParser + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `id` | [components.IDFileParser](../components/idfileparser.md) | :heavy_check_mark: | N/A | +| `max_files` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `pdf` | [Optional[components.Pdf]](../components/pdf.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responseformatjsonschema.md b/docs/components/pluginmoderation.md similarity index 60% rename from docs/models/responseformatjsonschema.md rename to docs/components/pluginmoderation.md index df70191..e1b99e8 100644 --- a/docs/models/responseformatjsonschema.md +++ b/docs/components/pluginmoderation.md @@ -1,9 +1,8 @@ -# ResponseFormatJSONSchema +# PluginModeration ## Fields | Field | Type | Required | Description | | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `type` | *Literal["json_schema"]* | :heavy_check_mark: | N/A | -| `json_schema` | [models.JSONSchemaConfig](../models/jsonschemaconfig.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `id` | [components.IDModeration](../components/idmoderation.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createembeddingsdata.md b/docs/components/pluginweb.md similarity index 55% rename from docs/models/createembeddingsdata.md rename to docs/components/pluginweb.md index 27f78d9..734729a 100644 --- a/docs/models/createembeddingsdata.md +++ b/docs/components/pluginweb.md @@ -1,10 +1,11 @@ -# CreateEmbeddingsData +# PluginWeb ## Fields | Field | Type | Required | Description | | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `object` | [models.ObjectEmbedding](../models/objectembedding.md) | :heavy_check_mark: | N/A | -| `embedding` | [models.Embedding](../models/embedding.md) | :heavy_check_mark: | N/A | -| `index` | *Optional[float]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `id` | [components.IDWeb](../components/idweb.md) | :heavy_check_mark: | N/A | +| `max_results` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `search_prompt` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `engine` | [Optional[components.Engine]](../components/engine.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/pricing.md b/docs/components/pricing.md similarity index 100% rename from docs/models/pricing.md rename to docs/components/pricing.md diff --git a/docs/models/prompt.md b/docs/components/prompt.md similarity index 100% rename from docs/models/prompt.md rename to docs/components/prompt.md diff --git a/docs/models/prompttokensdetails.md b/docs/components/prompttokensdetails.md similarity index 100% rename from docs/models/prompttokensdetails.md rename to docs/components/prompttokensdetails.md diff --git a/docs/models/provider.md b/docs/components/provider.md similarity index 95% rename from docs/models/provider.md rename to docs/components/provider.md index 068f99d..b9292f4 100644 --- a/docs/models/provider.md +++ b/docs/components/provider.md @@ -9,12 +9,12 @@ When multiple model providers are available, optionally indicate your routing pr | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `allow_fallbacks` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to allow backup providers to serve requests
- true: (default) when the primary provider (or your custom providers in "order") is unavailable, use the next best provider.
- false: use only the primary/custom provider, and return the upstream error if it's unavailable.
| | | `require_parameters` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to filter providers to only those that support the parameters you've provided. If this setting is omitted or set to false, then providers will receive only the parameters they support, and ignore the rest. | | -| `data_collection` | [OptionalNullable[models.DataCollection]](../models/datacollection.md) | :heavy_minus_sign: | Data collection setting. If no available model provider meets the requirement, your request will return an error.
- allow: (default) allow providers which store user data non-transiently and may train on it
- deny: use only providers which do not collect user data.
| deny | +| `data_collection` | [OptionalNullable[components.DataCollection]](../components/datacollection.md) | :heavy_minus_sign: | Data collection setting. If no available model provider meets the requirement, your request will return an error.
- allow: (default) allow providers which store user data non-transiently and may train on it
- deny: use only providers which do not collect user data.
| deny | | `zdr` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used. | true | | `enforce_distillable_text` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to restrict routing to only models that allow text distillation. When true, only models where the author has allowed distillation will be used. | true | -| `order` | List[[models.Order](../models/order.md)] | :heavy_minus_sign: | An ordered list of provider slugs. The router will attempt to use the first provider in the subset of this list that supports your requested model, and fall back to the next if it is unavailable. If no providers are available, the request will fail with an error message. | | -| `only` | List[[models.Only](../models/only.md)] | :heavy_minus_sign: | List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request. | | -| `ignore` | List[[models.Ignore](../models/ignore.md)] | :heavy_minus_sign: | List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request. | | -| `quantizations` | List[[models.Quantization](../models/quantization.md)] | :heavy_minus_sign: | A list of quantization levels to filter the provider by. | | -| `sort` | [OptionalNullable[models.Sort]](../models/sort.md) | :heavy_minus_sign: | The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed. | price | -| `max_price` | [Optional[models.MaxPrice]](../models/maxprice.md) | :heavy_minus_sign: | The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion. | | \ No newline at end of file +| `order` | List[[components.Order](../components/order.md)] | :heavy_minus_sign: | An ordered list of provider slugs. The router will attempt to use the first provider in the subset of this list that supports your requested model, and fall back to the next if it is unavailable. If no providers are available, the request will fail with an error message. | | +| `only` | List[[components.Only](../components/only.md)] | :heavy_minus_sign: | List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request. | | +| `ignore` | List[[components.Ignore](../components/ignore.md)] | :heavy_minus_sign: | List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request. | | +| `quantizations` | List[[components.Quantization](../components/quantization.md)] | :heavy_minus_sign: | A list of quantization levels to filter the provider by. | | +| `sort` | [OptionalNullable[components.Sort]](../components/sort.md) | :heavy_minus_sign: | The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed. | price | +| `max_price` | [Optional[components.MaxPrice]](../components/maxprice.md) | :heavy_minus_sign: | The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion. | | \ No newline at end of file diff --git a/docs/models/providername.md b/docs/components/providername.md similarity index 100% rename from docs/models/providername.md rename to docs/components/providername.md diff --git a/docs/models/provideroverloadedresponseerrordata.md b/docs/components/provideroverloadedresponseerrordata.md similarity index 100% rename from docs/models/provideroverloadedresponseerrordata.md rename to docs/components/provideroverloadedresponseerrordata.md diff --git a/docs/components/publicendpoint.md b/docs/components/publicendpoint.md new file mode 100644 index 0000000..3f39e39 --- /dev/null +++ b/docs/components/publicendpoint.md @@ -0,0 +1,22 @@ +# PublicEndpoint + +Information about a specific model endpoint + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `name` | *str* | :heavy_check_mark: | N/A | | +| `model_name` | *str* | :heavy_check_mark: | N/A | | +| `context_length` | *float* | :heavy_check_mark: | N/A | | +| `pricing` | [components.Pricing](../components/pricing.md) | :heavy_check_mark: | N/A | | +| `provider_name` | [components.ProviderName](../components/providername.md) | :heavy_check_mark: | N/A | OpenAI | +| `tag` | *str* | :heavy_check_mark: | N/A | | +| `quantization` | [Nullable[components.PublicEndpointQuantization]](../components/publicendpointquantization.md) | :heavy_check_mark: | N/A | fp16 | +| `max_completion_tokens` | *Nullable[float]* | :heavy_check_mark: | N/A | | +| `max_prompt_tokens` | *Nullable[float]* | :heavy_check_mark: | N/A | | +| `supported_parameters` | List[[components.Parameter](../components/parameter.md)] | :heavy_check_mark: | N/A | | +| `status` | [Optional[components.EndpointStatus]](../components/endpointstatus.md) | :heavy_minus_sign: | N/A | 0 | +| `uptime_last_30m` | *Nullable[float]* | :heavy_check_mark: | N/A | | +| `supports_implicit_caching` | *bool* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/publicendpointquantization.md b/docs/components/publicendpointquantization.md similarity index 100% rename from docs/models/publicendpointquantization.md rename to docs/components/publicendpointquantization.md diff --git a/docs/models/publicpricing.md b/docs/components/publicpricing.md similarity index 100% rename from docs/models/publicpricing.md rename to docs/components/publicpricing.md diff --git a/docs/models/quantization.md b/docs/components/quantization.md similarity index 100% rename from docs/models/quantization.md rename to docs/components/quantization.md diff --git a/docs/models/reason.md b/docs/components/reason.md similarity index 100% rename from docs/models/reason.md rename to docs/components/reason.md diff --git a/docs/models/imageurl.md b/docs/components/reasoning.md similarity index 68% rename from docs/models/imageurl.md rename to docs/components/reasoning.md index dcc57eb..b0e14a2 100644 --- a/docs/models/imageurl.md +++ b/docs/components/reasoning.md @@ -1,9 +1,9 @@ -# ImageURL +# Reasoning ## Fields | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `url` | *str* | :heavy_check_mark: | N/A | -| `detail` | [Optional[models.ChatMessageContentItemImageDetail]](../models/chatmessagecontentitemimagedetail.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `effort` | [OptionalNullable[components.Effort]](../components/effort.md) | :heavy_minus_sign: | N/A | +| `summary` | [OptionalNullable[components.ReasoningSummaryVerbosity]](../components/reasoningsummaryverbosity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responseinputaudio.md b/docs/components/reasoningsummarytext.md similarity index 73% rename from docs/models/responseinputaudio.md rename to docs/components/reasoningsummarytext.md index bccbe0d..7bee8c5 100644 --- a/docs/models/responseinputaudio.md +++ b/docs/components/reasoningsummarytext.md @@ -1,11 +1,9 @@ -# ResponseInputAudio - -Audio input content item +# ReasoningSummaryText ## Fields | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `type` | [models.ResponseInputAudioType](../models/responseinputaudiotype.md) | :heavy_check_mark: | N/A | -| `input_audio` | [models.ResponseInputAudioInputAudio](../models/responseinputaudioinputaudio.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [components.ReasoningSummaryTextType](../components/reasoningsummarytexttype.md) | :heavy_check_mark: | N/A | +| `text` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/reasoningsummarytexttype.md b/docs/components/reasoningsummarytexttype.md similarity index 100% rename from docs/models/reasoningsummarytexttype.md rename to docs/components/reasoningsummarytexttype.md diff --git a/docs/models/reasoningsummaryverbosity.md b/docs/components/reasoningsummaryverbosity.md similarity index 100% rename from docs/models/reasoningsummaryverbosity.md rename to docs/components/reasoningsummaryverbosity.md diff --git a/docs/models/responseoutputtext.md b/docs/components/reasoningtextcontent.md similarity index 71% rename from docs/models/responseoutputtext.md rename to docs/components/reasoningtextcontent.md index 737d392..40aa10a 100644 --- a/docs/models/responseoutputtext.md +++ b/docs/components/reasoningtextcontent.md @@ -1,10 +1,9 @@ -# ResponseOutputText +# ReasoningTextContent ## Fields | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `type` | [models.ResponseOutputTextType](../models/responseoutputtexttype.md) | :heavy_check_mark: | N/A | -| `text` | *str* | :heavy_check_mark: | N/A | -| `annotations` | List[[models.OpenAIResponsesAnnotation](../models/openairesponsesannotation.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `type` | [components.ReasoningTextContentType](../components/reasoningtextcontenttype.md) | :heavy_check_mark: | N/A | +| `text` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/reasoningtextcontenttype.md b/docs/components/reasoningtextcontenttype.md similarity index 100% rename from docs/models/reasoningtextcontenttype.md rename to docs/components/reasoningtextcontenttype.md diff --git a/docs/models/requesttimeoutresponseerrordata.md b/docs/components/requesttimeoutresponseerrordata.md similarity index 100% rename from docs/models/requesttimeoutresponseerrordata.md rename to docs/components/requesttimeoutresponseerrordata.md diff --git a/docs/models/listprovidersresponse.md b/docs/components/responseformatjsonschema.md similarity index 56% rename from docs/models/listprovidersresponse.md rename to docs/components/responseformatjsonschema.md index bbd7209..680a7ff 100644 --- a/docs/models/listprovidersresponse.md +++ b/docs/components/responseformatjsonschema.md @@ -1,10 +1,9 @@ -# ListProvidersResponse - -Returns a list of providers +# ResponseFormatJSONSchema ## Fields | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `data` | List[[models.ListProvidersData](../models/listprovidersdata.md)] | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | *Literal["json_schema"]* | :heavy_check_mark: | N/A | +| `json_schema` | [components.JSONSchemaConfig](../components/jsonschemaconfig.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/responseformattextconfig.md b/docs/components/responseformattextconfig.md new file mode 100644 index 0000000..1cfcf64 --- /dev/null +++ b/docs/components/responseformattextconfig.md @@ -0,0 +1,25 @@ +# ResponseFormatTextConfig + +Text response format configuration + + +## Supported Types + +### `components.ResponsesFormatText` + +```python +value: components.ResponsesFormatText = /* values here */ +``` + +### `components.ResponsesFormatJSONObject` + +```python +value: components.ResponsesFormatJSONObject = /* values here */ +``` + +### `components.ResponsesFormatTextJSONSchemaConfig` + +```python +value: components.ResponsesFormatTextJSONSchemaConfig = /* values here */ +``` + diff --git a/docs/models/responseformattextgrammar.md b/docs/components/responseformattextgrammar.md similarity index 100% rename from docs/models/responseformattextgrammar.md rename to docs/components/responseformattextgrammar.md diff --git a/docs/components/responseinputaudio.md b/docs/components/responseinputaudio.md new file mode 100644 index 0000000..5a74b81 --- /dev/null +++ b/docs/components/responseinputaudio.md @@ -0,0 +1,11 @@ +# ResponseInputAudio + +Audio input content item + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `type` | [components.ResponseInputAudioType](../components/responseinputaudiotype.md) | :heavy_check_mark: | N/A | +| `input_audio` | [components.ResponseInputAudioInputAudio](../components/responseinputaudioinputaudio.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responseinputaudioformat.md b/docs/components/responseinputaudioformat.md similarity index 100% rename from docs/models/responseinputaudioformat.md rename to docs/components/responseinputaudioformat.md diff --git a/docs/components/responseinputaudioinputaudio.md b/docs/components/responseinputaudioinputaudio.md new file mode 100644 index 0000000..cb7396f --- /dev/null +++ b/docs/components/responseinputaudioinputaudio.md @@ -0,0 +1,9 @@ +# ResponseInputAudioInputAudio + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `data` | *str* | :heavy_check_mark: | N/A | +| `format_` | [components.ResponseInputAudioFormat](../components/responseinputaudioformat.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responseinputaudiotype.md b/docs/components/responseinputaudiotype.md similarity index 100% rename from docs/models/responseinputaudiotype.md rename to docs/components/responseinputaudiotype.md diff --git a/docs/components/responseinputfile.md b/docs/components/responseinputfile.md new file mode 100644 index 0000000..e8b0308 --- /dev/null +++ b/docs/components/responseinputfile.md @@ -0,0 +1,14 @@ +# ResponseInputFile + +File input content item + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `type` | [components.ResponseInputFileType](../components/responseinputfiletype.md) | :heavy_check_mark: | N/A | +| `file_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `file_data` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `filename` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `file_url` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responseinputfiletype.md b/docs/components/responseinputfiletype.md similarity index 100% rename from docs/models/responseinputfiletype.md rename to docs/components/responseinputfiletype.md diff --git a/docs/components/responseinputimage.md b/docs/components/responseinputimage.md new file mode 100644 index 0000000..5c7dcaf --- /dev/null +++ b/docs/components/responseinputimage.md @@ -0,0 +1,12 @@ +# ResponseInputImage + +Image input content item + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `type` | [components.ResponseInputImageType](../components/responseinputimagetype.md) | :heavy_check_mark: | N/A | +| `detail` | [components.ResponseInputImageDetail](../components/responseinputimagedetail.md) | :heavy_check_mark: | N/A | +| `image_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responseinputimagedetail.md b/docs/components/responseinputimagedetail.md similarity index 100% rename from docs/models/responseinputimagedetail.md rename to docs/components/responseinputimagedetail.md diff --git a/docs/models/responseinputimagetype.md b/docs/components/responseinputimagetype.md similarity index 100% rename from docs/models/responseinputimagetype.md rename to docs/components/responseinputimagetype.md diff --git a/docs/components/responseinputtext.md b/docs/components/responseinputtext.md new file mode 100644 index 0000000..9c974a9 --- /dev/null +++ b/docs/components/responseinputtext.md @@ -0,0 +1,11 @@ +# ResponseInputText + +Text input content item + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `type` | [components.ResponseInputTextType](../components/responseinputtexttype.md) | :heavy_check_mark: | N/A | +| `text` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responseinputtexttype.md b/docs/components/responseinputtexttype.md similarity index 100% rename from docs/models/responseinputtexttype.md rename to docs/components/responseinputtexttype.md diff --git a/docs/models/responseswebsearchcalloutput.md b/docs/components/responseoutputtext.md similarity index 50% rename from docs/models/responseswebsearchcalloutput.md rename to docs/components/responseoutputtext.md index 31b7fad..0570778 100644 --- a/docs/models/responseswebsearchcalloutput.md +++ b/docs/components/responseoutputtext.md @@ -1,10 +1,10 @@ -# ResponsesWebSearchCallOutput +# ResponseOutputText ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `type` | [models.ResponsesWebSearchCallOutputType](../models/responseswebsearchcalloutputtype.md) | :heavy_check_mark: | N/A | | -| `id` | *str* | :heavy_check_mark: | N/A | | -| `status` | [models.WebSearchStatus](../models/websearchstatus.md) | :heavy_check_mark: | N/A | completed | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `type` | [components.ResponseOutputTextType](../components/responseoutputtexttype.md) | :heavy_check_mark: | N/A | +| `text` | *str* | :heavy_check_mark: | N/A | +| `annotations` | List[[components.OpenAIResponsesAnnotation](../components/openairesponsesannotation.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responseoutputtexttype.md b/docs/components/responseoutputtexttype.md similarity index 100% rename from docs/models/responseoutputtexttype.md rename to docs/components/responseoutputtexttype.md diff --git a/docs/components/responseserrorfield.md b/docs/components/responseserrorfield.md new file mode 100644 index 0000000..52d3492 --- /dev/null +++ b/docs/components/responseserrorfield.md @@ -0,0 +1,11 @@ +# ResponsesErrorField + +Error information returned from the API + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `code` | [components.CodeEnum](../components/codeenum.md) | :heavy_check_mark: | N/A | +| `message` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsesrefusalcontent.md b/docs/components/responsesformatjsonobject.md similarity index 65% rename from docs/models/openairesponsesrefusalcontent.md rename to docs/components/responsesformatjsonobject.md index 5b3d9b4..f1b0e7a 100644 --- a/docs/models/openairesponsesrefusalcontent.md +++ b/docs/components/responsesformatjsonobject.md @@ -1,9 +1,10 @@ -# OpenAIResponsesRefusalContent +# ResponsesFormatJSONObject + +JSON object response format ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `type` | [models.OpenAIResponsesRefusalContentType](../models/openairesponsesrefusalcontenttype.md) | :heavy_check_mark: | N/A | -| `refusal` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [components.ResponsesFormatJSONObjectType](../components/responsesformatjsonobjecttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responsesformatjsonobjecttype.md b/docs/components/responsesformatjsonobjecttype.md similarity index 100% rename from docs/models/responsesformatjsonobjecttype.md rename to docs/components/responsesformatjsonobjecttype.md diff --git a/docs/components/responsesformattext.md b/docs/components/responsesformattext.md new file mode 100644 index 0000000..1d9a7d5 --- /dev/null +++ b/docs/components/responsesformattext.md @@ -0,0 +1,10 @@ +# ResponsesFormatText + +Plain text response format + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `type` | [components.ResponsesFormatTextType](../components/responsesformattexttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/responsesformattextjsonschemaconfig.md b/docs/components/responsesformattextjsonschemaconfig.md new file mode 100644 index 0000000..e72a368 --- /dev/null +++ b/docs/components/responsesformattextjsonschemaconfig.md @@ -0,0 +1,14 @@ +# ResponsesFormatTextJSONSchemaConfig + +JSON schema constrained response format + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `type` | [components.ResponsesFormatTextJSONSchemaConfigType](../components/responsesformattextjsonschemaconfigtype.md) | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `strict` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `schema_` | Dict[str, *Nullable[Any]*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responsesformattextjsonschemaconfigtype.md b/docs/components/responsesformattextjsonschemaconfigtype.md similarity index 100% rename from docs/models/responsesformattextjsonschemaconfigtype.md rename to docs/components/responsesformattextjsonschemaconfigtype.md diff --git a/docs/models/responsesformattexttype.md b/docs/components/responsesformattexttype.md similarity index 100% rename from docs/models/responsesformattexttype.md rename to docs/components/responsesformattexttype.md diff --git a/docs/models/openairesponsesinputfunctioncall.md b/docs/components/responsesimagegenerationcall.md similarity index 63% rename from docs/models/openairesponsesinputfunctioncall.md rename to docs/components/responsesimagegenerationcall.md index 677c4da..ab0af1e 100644 --- a/docs/models/openairesponsesinputfunctioncall.md +++ b/docs/components/responsesimagegenerationcall.md @@ -1,13 +1,11 @@ -# OpenAIResponsesInputFunctionCall +# ResponsesImageGenerationCall ## Fields | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `type` | [models.OpenAIResponsesInputTypeFunctionCall](../models/openairesponsesinputtypefunctioncall.md) | :heavy_check_mark: | N/A | | -| `call_id` | *str* | :heavy_check_mark: | N/A | | -| `name` | *str* | :heavy_check_mark: | N/A | | -| `arguments` | *str* | :heavy_check_mark: | N/A | | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `status` | [OptionalNullable[models.ToolCallStatus]](../models/toolcallstatus.md) | :heavy_minus_sign: | N/A | completed | \ No newline at end of file +| `type` | [components.ResponsesImageGenerationCallType](../components/responsesimagegenerationcalltype.md) | :heavy_check_mark: | N/A | | +| `id` | *str* | :heavy_check_mark: | N/A | | +| `result` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `status` | [components.ImageGenerationStatus](../components/imagegenerationstatus.md) | :heavy_check_mark: | N/A | completed | \ No newline at end of file diff --git a/docs/models/responsesimagegenerationcalltype.md b/docs/components/responsesimagegenerationcalltype.md similarity index 100% rename from docs/models/responsesimagegenerationcalltype.md rename to docs/components/responsesimagegenerationcalltype.md diff --git a/docs/components/responsesoutputitem.md b/docs/components/responsesoutputitem.md new file mode 100644 index 0000000..01b3528 --- /dev/null +++ b/docs/components/responsesoutputitem.md @@ -0,0 +1,43 @@ +# ResponsesOutputItem + +An output item from the response + + +## Supported Types + +### `components.ResponsesOutputMessage` + +```python +value: components.ResponsesOutputMessage = /* values here */ +``` + +### `components.ResponsesOutputItemReasoning` + +```python +value: components.ResponsesOutputItemReasoning = /* values here */ +``` + +### `components.ResponsesOutputItemFunctionCall` + +```python +value: components.ResponsesOutputItemFunctionCall = /* values here */ +``` + +### `components.ResponsesWebSearchCallOutput` + +```python +value: components.ResponsesWebSearchCallOutput = /* values here */ +``` + +### `components.ResponsesOutputItemFileSearchCall` + +```python +value: components.ResponsesOutputItemFileSearchCall = /* values here */ +``` + +### `components.ResponsesImageGenerationCall` + +```python +value: components.ResponsesImageGenerationCall = /* values here */ +``` + diff --git a/docs/models/openresponseswebsearchpreviewtool.md b/docs/components/responsesoutputitemfilesearchcall.md similarity index 57% rename from docs/models/openresponseswebsearchpreviewtool.md rename to docs/components/responsesoutputitemfilesearchcall.md index bdeff67..b173fb7 100644 --- a/docs/models/openresponseswebsearchpreviewtool.md +++ b/docs/components/responsesoutputitemfilesearchcall.md @@ -1,12 +1,11 @@ -# OpenResponsesWebSearchPreviewTool - -Web search preview tool configuration +# ResponsesOutputItemFileSearchCall ## Fields | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesWebSearchPreviewToolType](../models/openresponseswebsearchpreviewtooltype.md) | :heavy_check_mark: | N/A | | -| `search_context_size` | [Optional[models.ResponsesSearchContextSize]](../models/responsessearchcontextsize.md) | :heavy_minus_sign: | Size of the search context for web search tools | medium | -| `user_location` | [OptionalNullable[models.WebSearchPreviewToolUserLocation]](../models/websearchpreviewtooluserlocation.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `type` | [components.ResponsesOutputItemFileSearchCallType](../components/responsesoutputitemfilesearchcalltype.md) | :heavy_check_mark: | N/A | | +| `id` | *str* | :heavy_check_mark: | N/A | | +| `queries` | List[*str*] | :heavy_check_mark: | N/A | | +| `status` | [components.WebSearchStatus](../components/websearchstatus.md) | :heavy_check_mark: | N/A | completed | \ No newline at end of file diff --git a/docs/models/responsesoutputitemfilesearchcalltype.md b/docs/components/responsesoutputitemfilesearchcalltype.md similarity index 100% rename from docs/models/responsesoutputitemfilesearchcalltype.md rename to docs/components/responsesoutputitemfilesearchcalltype.md diff --git a/docs/components/responsesoutputitemfunctioncall.md b/docs/components/responsesoutputitemfunctioncall.md new file mode 100644 index 0000000..5a605c4 --- /dev/null +++ b/docs/components/responsesoutputitemfunctioncall.md @@ -0,0 +1,13 @@ +# ResponsesOutputItemFunctionCall + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [components.ResponsesOutputItemFunctionCallType](../components/responsesoutputitemfunctioncalltype.md) | :heavy_check_mark: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `arguments` | *str* | :heavy_check_mark: | N/A | +| `call_id` | *str* | :heavy_check_mark: | N/A | +| `status` | [Optional[components.ResponsesOutputItemFunctionCallStatusUnion]](../components/responsesoutputitemfunctioncallstatusunion.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responsesoutputitemfunctioncallstatuscompleted.md b/docs/components/responsesoutputitemfunctioncallstatuscompleted.md similarity index 100% rename from docs/models/responsesoutputitemfunctioncallstatuscompleted.md rename to docs/components/responsesoutputitemfunctioncallstatuscompleted.md diff --git a/docs/models/responsesoutputitemfunctioncallstatusincomplete.md b/docs/components/responsesoutputitemfunctioncallstatusincomplete.md similarity index 100% rename from docs/models/responsesoutputitemfunctioncallstatusincomplete.md rename to docs/components/responsesoutputitemfunctioncallstatusincomplete.md diff --git a/docs/models/responsesoutputitemfunctioncallstatusinprogress.md b/docs/components/responsesoutputitemfunctioncallstatusinprogress.md similarity index 100% rename from docs/models/responsesoutputitemfunctioncallstatusinprogress.md rename to docs/components/responsesoutputitemfunctioncallstatusinprogress.md diff --git a/docs/components/responsesoutputitemfunctioncallstatusunion.md b/docs/components/responsesoutputitemfunctioncallstatusunion.md new file mode 100644 index 0000000..2fb5ba3 --- /dev/null +++ b/docs/components/responsesoutputitemfunctioncallstatusunion.md @@ -0,0 +1,23 @@ +# ResponsesOutputItemFunctionCallStatusUnion + + +## Supported Types + +### `components.ResponsesOutputItemFunctionCallStatusCompleted` + +```python +value: components.ResponsesOutputItemFunctionCallStatusCompleted = /* values here */ +``` + +### `components.ResponsesOutputItemFunctionCallStatusIncomplete` + +```python +value: components.ResponsesOutputItemFunctionCallStatusIncomplete = /* values here */ +``` + +### `components.ResponsesOutputItemFunctionCallStatusInProgress` + +```python +value: components.ResponsesOutputItemFunctionCallStatusInProgress = /* values here */ +``` + diff --git a/docs/models/responsesoutputitemfunctioncalltype.md b/docs/components/responsesoutputitemfunctioncalltype.md similarity index 100% rename from docs/models/responsesoutputitemfunctioncalltype.md rename to docs/components/responsesoutputitemfunctioncalltype.md diff --git a/docs/components/responsesoutputitemreasoning.md b/docs/components/responsesoutputitemreasoning.md new file mode 100644 index 0000000..986ba71 --- /dev/null +++ b/docs/components/responsesoutputitemreasoning.md @@ -0,0 +1,15 @@ +# ResponsesOutputItemReasoning + +An output item containing reasoning + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `type` | [components.ResponsesOutputItemReasoningType](../components/responsesoutputitemreasoningtype.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `content` | List[[components.ReasoningTextContent](../components/reasoningtextcontent.md)] | :heavy_minus_sign: | N/A | +| `summary` | List[[components.ReasoningSummaryText](../components/reasoningsummarytext.md)] | :heavy_check_mark: | N/A | +| `encrypted_content` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[components.ResponsesOutputItemReasoningStatusUnion]](../components/responsesoutputitemreasoningstatusunion.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responsesoutputitemreasoningstatuscompleted.md b/docs/components/responsesoutputitemreasoningstatuscompleted.md similarity index 100% rename from docs/models/responsesoutputitemreasoningstatuscompleted.md rename to docs/components/responsesoutputitemreasoningstatuscompleted.md diff --git a/docs/models/responsesoutputitemreasoningstatusincomplete.md b/docs/components/responsesoutputitemreasoningstatusincomplete.md similarity index 100% rename from docs/models/responsesoutputitemreasoningstatusincomplete.md rename to docs/components/responsesoutputitemreasoningstatusincomplete.md diff --git a/docs/models/responsesoutputitemreasoningstatusinprogress.md b/docs/components/responsesoutputitemreasoningstatusinprogress.md similarity index 100% rename from docs/models/responsesoutputitemreasoningstatusinprogress.md rename to docs/components/responsesoutputitemreasoningstatusinprogress.md diff --git a/docs/components/responsesoutputitemreasoningstatusunion.md b/docs/components/responsesoutputitemreasoningstatusunion.md new file mode 100644 index 0000000..399d174 --- /dev/null +++ b/docs/components/responsesoutputitemreasoningstatusunion.md @@ -0,0 +1,23 @@ +# ResponsesOutputItemReasoningStatusUnion + + +## Supported Types + +### `components.ResponsesOutputItemReasoningStatusCompleted` + +```python +value: components.ResponsesOutputItemReasoningStatusCompleted = /* values here */ +``` + +### `components.ResponsesOutputItemReasoningStatusIncomplete` + +```python +value: components.ResponsesOutputItemReasoningStatusIncomplete = /* values here */ +``` + +### `components.ResponsesOutputItemReasoningStatusInProgress` + +```python +value: components.ResponsesOutputItemReasoningStatusInProgress = /* values here */ +``` + diff --git a/docs/models/responsesoutputitemreasoningtype.md b/docs/components/responsesoutputitemreasoningtype.md similarity index 100% rename from docs/models/responsesoutputitemreasoningtype.md rename to docs/components/responsesoutputitemreasoningtype.md diff --git a/docs/components/responsesoutputmessage.md b/docs/components/responsesoutputmessage.md new file mode 100644 index 0000000..84766c4 --- /dev/null +++ b/docs/components/responsesoutputmessage.md @@ -0,0 +1,14 @@ +# ResponsesOutputMessage + +An output message item + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `id` | *str* | :heavy_check_mark: | N/A | +| `role` | [components.ResponsesOutputMessageRole](../components/responsesoutputmessagerole.md) | :heavy_check_mark: | N/A | +| `type` | [components.ResponsesOutputMessageType](../components/responsesoutputmessagetype.md) | :heavy_check_mark: | N/A | +| `status` | [Optional[components.ResponsesOutputMessageStatusUnion]](../components/responsesoutputmessagestatusunion.md) | :heavy_minus_sign: | N/A | +| `content` | List[[components.ResponsesOutputMessageContent](../components/responsesoutputmessagecontent.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/components/responsesoutputmessagecontent.md b/docs/components/responsesoutputmessagecontent.md new file mode 100644 index 0000000..4986f39 --- /dev/null +++ b/docs/components/responsesoutputmessagecontent.md @@ -0,0 +1,17 @@ +# ResponsesOutputMessageContent + + +## Supported Types + +### `components.ResponseOutputText` + +```python +value: components.ResponseOutputText = /* values here */ +``` + +### `components.OpenAIResponsesRefusalContent` + +```python +value: components.OpenAIResponsesRefusalContent = /* values here */ +``` + diff --git a/docs/models/responsesoutputmessagerole.md b/docs/components/responsesoutputmessagerole.md similarity index 100% rename from docs/models/responsesoutputmessagerole.md rename to docs/components/responsesoutputmessagerole.md diff --git a/docs/models/responsesoutputmessagestatuscompleted.md b/docs/components/responsesoutputmessagestatuscompleted.md similarity index 100% rename from docs/models/responsesoutputmessagestatuscompleted.md rename to docs/components/responsesoutputmessagestatuscompleted.md diff --git a/docs/models/responsesoutputmessagestatusincomplete.md b/docs/components/responsesoutputmessagestatusincomplete.md similarity index 100% rename from docs/models/responsesoutputmessagestatusincomplete.md rename to docs/components/responsesoutputmessagestatusincomplete.md diff --git a/docs/models/responsesoutputmessagestatusinprogress.md b/docs/components/responsesoutputmessagestatusinprogress.md similarity index 100% rename from docs/models/responsesoutputmessagestatusinprogress.md rename to docs/components/responsesoutputmessagestatusinprogress.md diff --git a/docs/components/responsesoutputmessagestatusunion.md b/docs/components/responsesoutputmessagestatusunion.md new file mode 100644 index 0000000..dfc1594 --- /dev/null +++ b/docs/components/responsesoutputmessagestatusunion.md @@ -0,0 +1,23 @@ +# ResponsesOutputMessageStatusUnion + + +## Supported Types + +### `components.ResponsesOutputMessageStatusCompleted` + +```python +value: components.ResponsesOutputMessageStatusCompleted = /* values here */ +``` + +### `components.ResponsesOutputMessageStatusIncomplete` + +```python +value: components.ResponsesOutputMessageStatusIncomplete = /* values here */ +``` + +### `components.ResponsesOutputMessageStatusInProgress` + +```python +value: components.ResponsesOutputMessageStatusInProgress = /* values here */ +``` + diff --git a/docs/models/responsesoutputmessagetype.md b/docs/components/responsesoutputmessagetype.md similarity index 100% rename from docs/models/responsesoutputmessagetype.md rename to docs/components/responsesoutputmessagetype.md diff --git a/docs/models/responsessearchcontextsize.md b/docs/components/responsessearchcontextsize.md similarity index 100% rename from docs/models/responsessearchcontextsize.md rename to docs/components/responsessearchcontextsize.md diff --git a/docs/models/responsetextconfig.md b/docs/components/responseswebsearchcalloutput.md similarity index 51% rename from docs/models/responsetextconfig.md rename to docs/components/responseswebsearchcalloutput.md index 3150dde..3514d2f 100644 --- a/docs/models/responsetextconfig.md +++ b/docs/components/responseswebsearchcalloutput.md @@ -1,11 +1,10 @@ -# ResponseTextConfig - -Text output configuration including format and verbosity +# ResponsesWebSearchCallOutput ## Fields | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `format_` | [Optional[models.ResponseFormatTextConfig]](../models/responseformattextconfig.md) | :heavy_minus_sign: | Text response format configuration | {
"type": "text"
} | -| `verbosity` | [OptionalNullable[models.ResponseTextConfigVerbosity]](../models/responsetextconfigverbosity.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `type` | [components.ResponsesWebSearchCallOutputType](../components/responseswebsearchcalloutputtype.md) | :heavy_check_mark: | N/A | | +| `id` | *str* | :heavy_check_mark: | N/A | | +| `status` | [components.WebSearchStatus](../components/websearchstatus.md) | :heavy_check_mark: | N/A | completed | \ No newline at end of file diff --git a/docs/models/responseswebsearchcalloutputtype.md b/docs/components/responseswebsearchcalloutputtype.md similarity index 100% rename from docs/models/responseswebsearchcalloutputtype.md rename to docs/components/responseswebsearchcalloutputtype.md diff --git a/docs/components/responseswebsearchuserlocation.md b/docs/components/responseswebsearchuserlocation.md new file mode 100644 index 0000000..144eecc --- /dev/null +++ b/docs/components/responseswebsearchuserlocation.md @@ -0,0 +1,14 @@ +# ResponsesWebSearchUserLocation + +User location information for web search + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `type` | [Optional[components.ResponsesWebSearchUserLocationType]](../components/responseswebsearchuserlocationtype.md) | :heavy_minus_sign: | N/A | +| `city` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `country` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `region` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `timezone` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responseswebsearchuserlocationtype.md b/docs/components/responseswebsearchuserlocationtype.md similarity index 100% rename from docs/models/responseswebsearchuserlocationtype.md rename to docs/components/responseswebsearchuserlocationtype.md diff --git a/docs/components/responsetextconfig.md b/docs/components/responsetextconfig.md new file mode 100644 index 0000000..f91172c --- /dev/null +++ b/docs/components/responsetextconfig.md @@ -0,0 +1,11 @@ +# ResponseTextConfig + +Text output configuration including format and verbosity + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `format_` | [Optional[components.ResponseFormatTextConfig]](../components/responseformattextconfig.md) | :heavy_minus_sign: | Text response format configuration | {
"type": "text"
} | +| `verbosity` | [OptionalNullable[components.ResponseTextConfigVerbosity]](../components/responsetextconfigverbosity.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/responsetextconfigverbosity.md b/docs/components/responsetextconfigverbosity.md similarity index 100% rename from docs/models/responsetextconfigverbosity.md rename to docs/components/responsetextconfigverbosity.md diff --git a/docs/models/security.md b/docs/components/security.md similarity index 100% rename from docs/models/security.md rename to docs/components/security.md diff --git a/docs/models/servicetier.md b/docs/components/servicetier.md similarity index 100% rename from docs/models/servicetier.md rename to docs/components/servicetier.md diff --git a/docs/models/serviceunavailableresponseerrordata.md b/docs/components/serviceunavailableresponseerrordata.md similarity index 100% rename from docs/models/serviceunavailableresponseerrordata.md rename to docs/components/serviceunavailableresponseerrordata.md diff --git a/docs/models/sort.md b/docs/components/sort.md similarity index 100% rename from docs/models/sort.md rename to docs/components/sort.md diff --git a/docs/models/streamoptions.md b/docs/components/streamoptions.md similarity index 100% rename from docs/models/streamoptions.md rename to docs/components/streamoptions.md diff --git a/docs/models/responseinputimage.md b/docs/components/systemmessage.md similarity index 64% rename from docs/models/responseinputimage.md rename to docs/components/systemmessage.md index 19a3c73..c9180c7 100644 --- a/docs/models/responseinputimage.md +++ b/docs/components/systemmessage.md @@ -1,12 +1,10 @@ -# ResponseInputImage - -Image input content item +# SystemMessage ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `type` | [models.ResponseInputImageType](../models/responseinputimagetype.md) | :heavy_check_mark: | N/A | -| `detail` | [models.ResponseInputImageDetail](../models/responseinputimagedetail.md) | :heavy_check_mark: | N/A | -| `image_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `role` | *Literal["system"]* | :heavy_check_mark: | N/A | +| `content` | [components.SystemMessageContent](../components/systemmessagecontent.md) | :heavy_check_mark: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/components/systemmessagecontent.md b/docs/components/systemmessagecontent.md new file mode 100644 index 0000000..e39433d --- /dev/null +++ b/docs/components/systemmessagecontent.md @@ -0,0 +1,17 @@ +# SystemMessageContent + + +## Supported Types + +### `str` + +```python +value: str = /* values here */ +``` + +### `List[components.ChatMessageContentItemText]` + +```python +value: List[components.ChatMessageContentItemText] = /* values here */ +``` + diff --git a/docs/models/tokenizer.md b/docs/components/tokenizer.md similarity index 100% rename from docs/models/tokenizer.md rename to docs/components/tokenizer.md diff --git a/docs/models/toolcallstatus.md b/docs/components/toolcallstatus.md similarity index 100% rename from docs/models/toolcallstatus.md rename to docs/components/toolcallstatus.md diff --git a/docs/models/chatstreamingresponsechunk.md b/docs/components/tooldefinitionjson.md similarity index 60% rename from docs/models/chatstreamingresponsechunk.md rename to docs/components/tooldefinitionjson.md index 3df63d1..ec7db42 100644 --- a/docs/models/chatstreamingresponsechunk.md +++ b/docs/components/tooldefinitionjson.md @@ -1,8 +1,9 @@ -# ChatStreamingResponseChunk +# ToolDefinitionJSON ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `data` | [models.ChatStreamingResponseChunkData](../models/chatstreamingresponsechunkdata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | *Literal["function"]* | :heavy_check_mark: | N/A | +| `function` | [components.ToolDefinitionJSONFunction](../components/tooldefinitionjsonfunction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/tooldefinitionjsonfunction.md b/docs/components/tooldefinitionjsonfunction.md similarity index 100% rename from docs/models/tooldefinitionjsonfunction.md rename to docs/components/tooldefinitionjsonfunction.md diff --git a/docs/components/toolresponsemessage.md b/docs/components/toolresponsemessage.md new file mode 100644 index 0000000..d91b507 --- /dev/null +++ b/docs/components/toolresponsemessage.md @@ -0,0 +1,10 @@ +# ToolResponseMessage + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `role` | *Literal["tool"]* | :heavy_check_mark: | N/A | +| `content` | [components.ToolResponseMessageContent](../components/toolresponsemessagecontent.md) | :heavy_check_mark: | N/A | +| `tool_call_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/toolresponsemessagecontent.md b/docs/components/toolresponsemessagecontent.md similarity index 52% rename from docs/models/toolresponsemessagecontent.md rename to docs/components/toolresponsemessagecontent.md index a542003..522f856 100644 --- a/docs/models/toolresponsemessagecontent.md +++ b/docs/components/toolresponsemessagecontent.md @@ -9,9 +9,9 @@ value: str = /* values here */ ``` -### `List[models.ChatMessageContentItem]` +### `List[components.ChatMessageContentItem]` ```python -value: List[models.ChatMessageContentItem] = /* values here */ +value: List[components.ChatMessageContentItem] = /* values here */ ``` diff --git a/docs/models/toomanyrequestsresponseerrordata.md b/docs/components/toomanyrequestsresponseerrordata.md similarity index 100% rename from docs/models/toomanyrequestsresponseerrordata.md rename to docs/components/toomanyrequestsresponseerrordata.md diff --git a/docs/models/toplogprob.md b/docs/components/toplogprob.md similarity index 100% rename from docs/models/toplogprob.md rename to docs/components/toplogprob.md diff --git a/docs/models/topproviderinfo.md b/docs/components/topproviderinfo.md similarity index 100% rename from docs/models/topproviderinfo.md rename to docs/components/topproviderinfo.md diff --git a/docs/models/truncation.md b/docs/components/truncation.md similarity index 100% rename from docs/models/truncation.md rename to docs/components/truncation.md diff --git a/docs/components/type.md b/docs/components/type.md new file mode 100644 index 0000000..6eaadff --- /dev/null +++ b/docs/components/type.md @@ -0,0 +1,17 @@ +# Type + + +## Supported Types + +### `components.OpenAIResponsesToolChoiceTypeWebSearchPreview20250311` + +```python +value: components.OpenAIResponsesToolChoiceTypeWebSearchPreview20250311 = /* values here */ +``` + +### `components.OpenAIResponsesToolChoiceTypeWebSearchPreview` + +```python +value: components.OpenAIResponsesToolChoiceTypeWebSearchPreview = /* values here */ +``` + diff --git a/docs/models/typeresponsecompleted.md b/docs/components/typeresponsecompleted.md similarity index 100% rename from docs/models/typeresponsecompleted.md rename to docs/components/typeresponsecompleted.md diff --git a/docs/models/typeresponsecontentpartadded.md b/docs/components/typeresponsecontentpartadded.md similarity index 100% rename from docs/models/typeresponsecontentpartadded.md rename to docs/components/typeresponsecontentpartadded.md diff --git a/docs/models/typeresponsecontentpartdone.md b/docs/components/typeresponsecontentpartdone.md similarity index 100% rename from docs/models/typeresponsecontentpartdone.md rename to docs/components/typeresponsecontentpartdone.md diff --git a/docs/models/typeresponsecreated.md b/docs/components/typeresponsecreated.md similarity index 100% rename from docs/models/typeresponsecreated.md rename to docs/components/typeresponsecreated.md diff --git a/docs/models/typeresponsefailed.md b/docs/components/typeresponsefailed.md similarity index 100% rename from docs/models/typeresponsefailed.md rename to docs/components/typeresponsefailed.md diff --git a/docs/models/typeresponsefunctioncallargumentsdelta.md b/docs/components/typeresponsefunctioncallargumentsdelta.md similarity index 100% rename from docs/models/typeresponsefunctioncallargumentsdelta.md rename to docs/components/typeresponsefunctioncallargumentsdelta.md diff --git a/docs/models/typeresponsefunctioncallargumentsdone.md b/docs/components/typeresponsefunctioncallargumentsdone.md similarity index 100% rename from docs/models/typeresponsefunctioncallargumentsdone.md rename to docs/components/typeresponsefunctioncallargumentsdone.md diff --git a/docs/models/typeresponseincomplete.md b/docs/components/typeresponseincomplete.md similarity index 100% rename from docs/models/typeresponseincomplete.md rename to docs/components/typeresponseincomplete.md diff --git a/docs/models/typeresponseinprogress.md b/docs/components/typeresponseinprogress.md similarity index 100% rename from docs/models/typeresponseinprogress.md rename to docs/components/typeresponseinprogress.md diff --git a/docs/models/typeresponseoutputitemadded.md b/docs/components/typeresponseoutputitemadded.md similarity index 100% rename from docs/models/typeresponseoutputitemadded.md rename to docs/components/typeresponseoutputitemadded.md diff --git a/docs/models/typeresponseoutputitemdone.md b/docs/components/typeresponseoutputitemdone.md similarity index 100% rename from docs/models/typeresponseoutputitemdone.md rename to docs/components/typeresponseoutputitemdone.md diff --git a/docs/models/typeresponseoutputtextannotationadded.md b/docs/components/typeresponseoutputtextannotationadded.md similarity index 100% rename from docs/models/typeresponseoutputtextannotationadded.md rename to docs/components/typeresponseoutputtextannotationadded.md diff --git a/docs/models/typeresponseoutputtextdelta.md b/docs/components/typeresponseoutputtextdelta.md similarity index 100% rename from docs/models/typeresponseoutputtextdelta.md rename to docs/components/typeresponseoutputtextdelta.md diff --git a/docs/models/typeresponseoutputtextdone.md b/docs/components/typeresponseoutputtextdone.md similarity index 100% rename from docs/models/typeresponseoutputtextdone.md rename to docs/components/typeresponseoutputtextdone.md diff --git a/docs/models/typeresponsereasoningsummarypartdone.md b/docs/components/typeresponsereasoningsummarypartdone.md similarity index 100% rename from docs/models/typeresponsereasoningsummarypartdone.md rename to docs/components/typeresponsereasoningsummarypartdone.md diff --git a/docs/models/typeresponserefusaldelta.md b/docs/components/typeresponserefusaldelta.md similarity index 100% rename from docs/models/typeresponserefusaldelta.md rename to docs/components/typeresponserefusaldelta.md diff --git a/docs/models/typeresponserefusaldone.md b/docs/components/typeresponserefusaldone.md similarity index 100% rename from docs/models/typeresponserefusaldone.md rename to docs/components/typeresponserefusaldone.md diff --git a/docs/models/unauthorizedresponseerrordata.md b/docs/components/unauthorizedresponseerrordata.md similarity index 100% rename from docs/models/unauthorizedresponseerrordata.md rename to docs/components/unauthorizedresponseerrordata.md diff --git a/docs/models/unprocessableentityresponseerrordata.md b/docs/components/unprocessableentityresponseerrordata.md similarity index 100% rename from docs/models/unprocessableentityresponseerrordata.md rename to docs/components/unprocessableentityresponseerrordata.md diff --git a/docs/components/urlcitation.md b/docs/components/urlcitation.md new file mode 100644 index 0000000..d98eb3b --- /dev/null +++ b/docs/components/urlcitation.md @@ -0,0 +1,12 @@ +# URLCitation + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `type` | [components.URLCitationType](../components/urlcitationtype.md) | :heavy_check_mark: | N/A | +| `url` | *str* | :heavy_check_mark: | N/A | +| `title` | *str* | :heavy_check_mark: | N/A | +| `start_index` | *float* | :heavy_check_mark: | N/A | +| `end_index` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/urlcitationtype.md b/docs/components/urlcitationtype.md similarity index 100% rename from docs/models/urlcitationtype.md rename to docs/components/urlcitationtype.md diff --git a/docs/components/usermessage.md b/docs/components/usermessage.md new file mode 100644 index 0000000..b0da4b0 --- /dev/null +++ b/docs/components/usermessage.md @@ -0,0 +1,10 @@ +# UserMessage + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `role` | *Literal["user"]* | :heavy_check_mark: | N/A | +| `content` | [components.UserMessageContent](../components/usermessagecontent.md) | :heavy_check_mark: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usermessagecontent.md b/docs/components/usermessagecontent.md similarity index 50% rename from docs/models/usermessagecontent.md rename to docs/components/usermessagecontent.md index 3542905..bed6ace 100644 --- a/docs/models/usermessagecontent.md +++ b/docs/components/usermessagecontent.md @@ -9,9 +9,9 @@ value: str = /* values here */ ``` -### `List[models.ChatMessageContentItem]` +### `List[components.ChatMessageContentItem]` ```python -value: List[models.ChatMessageContentItem] = /* values here */ +value: List[components.ChatMessageContentItem] = /* values here */ ``` diff --git a/docs/components/variables.md b/docs/components/variables.md new file mode 100644 index 0000000..7d76762 --- /dev/null +++ b/docs/components/variables.md @@ -0,0 +1,29 @@ +# Variables + + +## Supported Types + +### `str` + +```python +value: str = /* values here */ +``` + +### `components.ResponseInputText` + +```python +value: components.ResponseInputText = /* values here */ +``` + +### `components.ResponseInputImage` + +```python +value: components.ResponseInputImage = /* values here */ +``` + +### `components.ResponseInputFile` + +```python +value: components.ResponseInputFile = /* values here */ +``` + diff --git a/docs/models/videourl.md b/docs/components/videourl.md similarity index 100% rename from docs/models/videourl.md rename to docs/components/videourl.md diff --git a/docs/components/websearchpreviewtooluserlocation.md b/docs/components/websearchpreviewtooluserlocation.md new file mode 100644 index 0000000..e2768b0 --- /dev/null +++ b/docs/components/websearchpreviewtooluserlocation.md @@ -0,0 +1,12 @@ +# WebSearchPreviewToolUserLocation + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `type` | [components.WebSearchPreviewToolUserLocationType](../components/websearchpreviewtooluserlocationtype.md) | :heavy_check_mark: | N/A | +| `city` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `country` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `region` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `timezone` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/websearchpreviewtooluserlocationtype.md b/docs/components/websearchpreviewtooluserlocationtype.md similarity index 100% rename from docs/models/websearchpreviewtooluserlocationtype.md rename to docs/components/websearchpreviewtooluserlocationtype.md diff --git a/docs/models/websearchstatus.md b/docs/components/websearchstatus.md similarity index 100% rename from docs/models/websearchstatus.md rename to docs/components/websearchstatus.md diff --git a/docs/errors/badgatewayresponseerror.md b/docs/errors/badgatewayresponseerror.md index adea628..54c51b9 100644 --- a/docs/errors/badgatewayresponseerror.md +++ b/docs/errors/badgatewayresponseerror.md @@ -5,7 +5,7 @@ Bad Gateway - Provider/upstream API failure ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `error` | [models.BadGatewayResponseErrorData](../models/badgatewayresponseerrordata.md) | :heavy_check_mark: | Error data for BadGatewayResponse | {
"code": 502,
"message": "Provider returned error"
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `error` | [components.BadGatewayResponseErrorData](../components/badgatewayresponseerrordata.md) | :heavy_check_mark: | Error data for BadGatewayResponse | {
"code": 502,
"message": "Provider returned error"
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/badrequestresponseerror.md b/docs/errors/badrequestresponseerror.md index 65cbd40..b7ca5ac 100644 --- a/docs/errors/badrequestresponseerror.md +++ b/docs/errors/badrequestresponseerror.md @@ -5,7 +5,7 @@ Bad Request - Invalid request parameters or malformed input ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `error` | [models.BadRequestResponseErrorData](../models/badrequestresponseerrordata.md) | :heavy_check_mark: | Error data for BadRequestResponse | {
"code": 400,
"message": "Invalid request parameters"
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `error` | [components.BadRequestResponseErrorData](../components/badrequestresponseerrordata.md) | :heavy_check_mark: | Error data for BadRequestResponse | {
"code": 400,
"message": "Invalid request parameters"
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/chaterror.md b/docs/errors/chaterror.md index 7eeb7f4..b0b2ac3 100644 --- a/docs/errors/chaterror.md +++ b/docs/errors/chaterror.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `error` | [models.ChatErrorError](../models/chaterrorerror.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `error` | [components.ChatErrorError](../components/chaterrorerror.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/errors/edgenetworktimeoutresponseerror.md b/docs/errors/edgenetworktimeoutresponseerror.md index b77d47b..b12eb06 100644 --- a/docs/errors/edgenetworktimeoutresponseerror.md +++ b/docs/errors/edgenetworktimeoutresponseerror.md @@ -5,7 +5,7 @@ Infrastructure Timeout - Provider request timed out at edge network ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `error` | [models.EdgeNetworkTimeoutResponseErrorData](../models/edgenetworktimeoutresponseerrordata.md) | :heavy_check_mark: | Error data for EdgeNetworkTimeoutResponse | {
"code": 524,
"message": "Request timed out. Please try again later."
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `error` | [components.EdgeNetworkTimeoutResponseErrorData](../components/edgenetworktimeoutresponseerrordata.md) | :heavy_check_mark: | Error data for EdgeNetworkTimeoutResponse | {
"code": 524,
"message": "Request timed out. Please try again later."
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/forbiddenresponseerror.md b/docs/errors/forbiddenresponseerror.md index 8aed20d..c1e93ec 100644 --- a/docs/errors/forbiddenresponseerror.md +++ b/docs/errors/forbiddenresponseerror.md @@ -5,7 +5,7 @@ Forbidden - Authentication successful but insufficient permissions ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `error` | [models.ForbiddenResponseErrorData](../models/forbiddenresponseerrordata.md) | :heavy_check_mark: | Error data for ForbiddenResponse | {
"code": 403,
"message": "Only provisioning keys can perform this operation"
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `error` | [components.ForbiddenResponseErrorData](../components/forbiddenresponseerrordata.md) | :heavy_check_mark: | Error data for ForbiddenResponse | {
"code": 403,
"message": "Only provisioning keys can perform this operation"
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/internalserverresponseerror.md b/docs/errors/internalserverresponseerror.md index 7040337..b625175 100644 --- a/docs/errors/internalserverresponseerror.md +++ b/docs/errors/internalserverresponseerror.md @@ -5,7 +5,7 @@ Internal Server Error - Unexpected server error ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `error` | [models.InternalServerResponseErrorData](../models/internalserverresponseerrordata.md) | :heavy_check_mark: | Error data for InternalServerResponse | {
"code": 500,
"message": "Internal Server Error"
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `error` | [components.InternalServerResponseErrorData](../components/internalserverresponseerrordata.md) | :heavy_check_mark: | Error data for InternalServerResponse | {
"code": 500,
"message": "Internal Server Error"
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/notfoundresponseerror.md b/docs/errors/notfoundresponseerror.md index 973d421..80d0191 100644 --- a/docs/errors/notfoundresponseerror.md +++ b/docs/errors/notfoundresponseerror.md @@ -5,7 +5,7 @@ Not Found - Resource does not exist ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `error` | [models.NotFoundResponseErrorData](../models/notfoundresponseerrordata.md) | :heavy_check_mark: | Error data for NotFoundResponse | {
"code": 404,
"message": "Resource not found"
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `error` | [components.NotFoundResponseErrorData](../components/notfoundresponseerrordata.md) | :heavy_check_mark: | Error data for NotFoundResponse | {
"code": 404,
"message": "Resource not found"
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/payloadtoolargeresponseerror.md b/docs/errors/payloadtoolargeresponseerror.md index b05367e..322cefe 100644 --- a/docs/errors/payloadtoolargeresponseerror.md +++ b/docs/errors/payloadtoolargeresponseerror.md @@ -5,7 +5,7 @@ Payload Too Large - Request payload exceeds size limits ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `error` | [models.PayloadTooLargeResponseErrorData](../models/payloadtoolargeresponseerrordata.md) | :heavy_check_mark: | Error data for PayloadTooLargeResponse | {
"code": 413,
"message": "Request payload too large"
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `error` | [components.PayloadTooLargeResponseErrorData](../components/payloadtoolargeresponseerrordata.md) | :heavy_check_mark: | Error data for PayloadTooLargeResponse | {
"code": 413,
"message": "Request payload too large"
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/paymentrequiredresponseerror.md b/docs/errors/paymentrequiredresponseerror.md index 9c2a77c..1cf4c3f 100644 --- a/docs/errors/paymentrequiredresponseerror.md +++ b/docs/errors/paymentrequiredresponseerror.md @@ -7,5 +7,5 @@ Payment Required - Insufficient credits or quota to complete request | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `error` | [models.PaymentRequiredResponseErrorData](../models/paymentrequiredresponseerrordata.md) | :heavy_check_mark: | Error data for PaymentRequiredResponse | {
"code": 402,
"message": "Insufficient credits. Add more using https://openrouter.ai/credits"
} | +| `error` | [components.PaymentRequiredResponseErrorData](../components/paymentrequiredresponseerrordata.md) | :heavy_check_mark: | Error data for PaymentRequiredResponse | {
"code": 402,
"message": "Insufficient credits. Add more using https://openrouter.ai/credits"
} | | `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/provideroverloadedresponseerror.md b/docs/errors/provideroverloadedresponseerror.md index 4d27c2e..9eff488 100644 --- a/docs/errors/provideroverloadedresponseerror.md +++ b/docs/errors/provideroverloadedresponseerror.md @@ -5,7 +5,7 @@ Provider Overloaded - Provider is temporarily overloaded ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `error` | [models.ProviderOverloadedResponseErrorData](../models/provideroverloadedresponseerrordata.md) | :heavy_check_mark: | Error data for ProviderOverloadedResponse | {
"code": 529,
"message": "Provider returned error"
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `error` | [components.ProviderOverloadedResponseErrorData](../components/provideroverloadedresponseerrordata.md) | :heavy_check_mark: | Error data for ProviderOverloadedResponse | {
"code": 529,
"message": "Provider returned error"
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/requesttimeoutresponseerror.md b/docs/errors/requesttimeoutresponseerror.md index f28755f..4f5d8f7 100644 --- a/docs/errors/requesttimeoutresponseerror.md +++ b/docs/errors/requesttimeoutresponseerror.md @@ -5,7 +5,7 @@ Request Timeout - Operation exceeded time limit ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `error` | [models.RequestTimeoutResponseErrorData](../models/requesttimeoutresponseerrordata.md) | :heavy_check_mark: | Error data for RequestTimeoutResponse | {
"code": 408,
"message": "Operation timed out. Please try again later."
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `error` | [components.RequestTimeoutResponseErrorData](../components/requesttimeoutresponseerrordata.md) | :heavy_check_mark: | Error data for RequestTimeoutResponse | {
"code": 408,
"message": "Operation timed out. Please try again later."
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/serviceunavailableresponseerror.md b/docs/errors/serviceunavailableresponseerror.md index b2a5043..ecd703a 100644 --- a/docs/errors/serviceunavailableresponseerror.md +++ b/docs/errors/serviceunavailableresponseerror.md @@ -5,7 +5,7 @@ Service Unavailable - Service temporarily unavailable ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `error` | [models.ServiceUnavailableResponseErrorData](../models/serviceunavailableresponseerrordata.md) | :heavy_check_mark: | Error data for ServiceUnavailableResponse | {
"code": 503,
"message": "Service temporarily unavailable"
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `error` | [components.ServiceUnavailableResponseErrorData](../components/serviceunavailableresponseerrordata.md) | :heavy_check_mark: | Error data for ServiceUnavailableResponse | {
"code": 503,
"message": "Service temporarily unavailable"
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/toomanyrequestsresponseerror.md b/docs/errors/toomanyrequestsresponseerror.md index fb533b5..d03ed75 100644 --- a/docs/errors/toomanyrequestsresponseerror.md +++ b/docs/errors/toomanyrequestsresponseerror.md @@ -5,7 +5,7 @@ Too Many Requests - Rate limit exceeded ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `error` | [models.TooManyRequestsResponseErrorData](../models/toomanyrequestsresponseerrordata.md) | :heavy_check_mark: | Error data for TooManyRequestsResponse | {
"code": 429,
"message": "Rate limit exceeded"
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `error` | [components.TooManyRequestsResponseErrorData](../components/toomanyrequestsresponseerrordata.md) | :heavy_check_mark: | Error data for TooManyRequestsResponse | {
"code": 429,
"message": "Rate limit exceeded"
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/unauthorizedresponseerror.md b/docs/errors/unauthorizedresponseerror.md index 1f6b55e..7dd7744 100644 --- a/docs/errors/unauthorizedresponseerror.md +++ b/docs/errors/unauthorizedresponseerror.md @@ -5,7 +5,7 @@ Unauthorized - Authentication required or invalid credentials ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `error` | [models.UnauthorizedResponseErrorData](../models/unauthorizedresponseerrordata.md) | :heavy_check_mark: | Error data for UnauthorizedResponse | {
"code": 401,
"message": "Missing Authentication header"
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `error` | [components.UnauthorizedResponseErrorData](../components/unauthorizedresponseerrordata.md) | :heavy_check_mark: | Error data for UnauthorizedResponse | {
"code": 401,
"message": "Missing Authentication header"
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/errors/unprocessableentityresponseerror.md b/docs/errors/unprocessableentityresponseerror.md index 1355f82..33f001c 100644 --- a/docs/errors/unprocessableentityresponseerror.md +++ b/docs/errors/unprocessableentityresponseerror.md @@ -5,7 +5,7 @@ Unprocessable Entity - Semantic validation failure ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `error` | [models.UnprocessableEntityResponseErrorData](../models/unprocessableentityresponseerrordata.md) | :heavy_check_mark: | Error data for UnprocessableEntityResponse | {
"code": 422,
"message": "Invalid argument"
} | -| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `error` | [components.UnprocessableEntityResponseErrorData](../components/unprocessableentityresponseerrordata.md) | :heavy_check_mark: | Error data for UnprocessableEntityResponse | {
"code": 422,
"message": "Invalid argument"
} | +| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/architecture.md b/docs/models/architecture.md deleted file mode 100644 index b74d518..0000000 --- a/docs/models/architecture.md +++ /dev/null @@ -1,14 +0,0 @@ -# Architecture - -Model architecture information - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `tokenizer` | [Nullable[models.Tokenizer]](../models/tokenizer.md) | :heavy_check_mark: | N/A | GPT | -| `instruct_type` | [Nullable[models.InstructType]](../models/instructtype.md) | :heavy_check_mark: | Instruction format type | | -| `modality` | *Nullable[str]* | :heavy_check_mark: | Primary modality of the model | text | -| `input_modalities` | List[[models.InputModality](../models/inputmodality.md)] | :heavy_check_mark: | Supported input modalities | | -| `output_modalities` | List[[models.OutputModality](../models/outputmodality.md)] | :heavy_check_mark: | Supported output modalities | | \ No newline at end of file diff --git a/docs/models/assistantmessage.md b/docs/models/assistantmessage.md deleted file mode 100644 index bd17f09..0000000 --- a/docs/models/assistantmessage.md +++ /dev/null @@ -1,13 +0,0 @@ -# AssistantMessage - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `role` | *Literal["assistant"]* | :heavy_check_mark: | N/A | -| `content` | [OptionalNullable[models.AssistantMessageContent]](../models/assistantmessagecontent.md) | :heavy_minus_sign: | N/A | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `tool_calls` | List[[models.ChatMessageToolCall](../models/chatmessagetoolcall.md)] | :heavy_minus_sign: | N/A | -| `refusal` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `reasoning` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/chaterrorerror.md b/docs/models/chaterrorerror.md deleted file mode 100644 index 6deb553..0000000 --- a/docs/models/chaterrorerror.md +++ /dev/null @@ -1,11 +0,0 @@ -# ChatErrorError - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `code` | [Nullable[models.Code]](../models/code.md) | :heavy_check_mark: | N/A | -| `message` | *str* | :heavy_check_mark: | N/A | -| `param` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/chatgenerationparams.md b/docs/models/chatgenerationparams.md deleted file mode 100644 index 04b80d9..0000000 --- a/docs/models/chatgenerationparams.md +++ /dev/null @@ -1,29 +0,0 @@ -# ChatGenerationParams - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `messages` | List[[models.Message](../models/message.md)] | :heavy_check_mark: | N/A | -| `model` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `models` | List[*str*] | :heavy_minus_sign: | N/A | -| `frequency_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `logit_bias` | Dict[str, *float*] | :heavy_minus_sign: | N/A | -| `logprobs` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `top_logprobs` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `max_completion_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `max_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `metadata` | Dict[str, *str*] | :heavy_minus_sign: | N/A | -| `presence_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `reasoning` | [Optional[models.Reasoning]](../models/reasoning.md) | :heavy_minus_sign: | N/A | -| `response_format` | [Optional[models.ChatGenerationParamsResponseFormatUnion]](../models/chatgenerationparamsresponseformatunion.md) | :heavy_minus_sign: | N/A | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `stop` | [OptionalNullable[models.ChatGenerationParamsStop]](../models/chatgenerationparamsstop.md) | :heavy_minus_sign: | N/A | -| `stream` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `stream_options` | [OptionalNullable[models.ChatStreamOptions]](../models/chatstreamoptions.md) | :heavy_minus_sign: | N/A | -| `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `tool_choice` | *Optional[Any]* | :heavy_minus_sign: | N/A | -| `tools` | List[[models.ToolDefinitionJSON](../models/tooldefinitionjson.md)] | :heavy_minus_sign: | N/A | -| `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/chatgenerationparamsresponseformatunion.md b/docs/models/chatgenerationparamsresponseformatunion.md deleted file mode 100644 index 4e25dff..0000000 --- a/docs/models/chatgenerationparamsresponseformatunion.md +++ /dev/null @@ -1,35 +0,0 @@ -# ChatGenerationParamsResponseFormatUnion - - -## Supported Types - -### `models.ChatGenerationParamsResponseFormatText` - -```python -value: models.ChatGenerationParamsResponseFormatText = /* values here */ -``` - -### `models.ChatGenerationParamsResponseFormatJSONObject` - -```python -value: models.ChatGenerationParamsResponseFormatJSONObject = /* values here */ -``` - -### `models.ResponseFormatJSONSchema` - -```python -value: models.ResponseFormatJSONSchema = /* values here */ -``` - -### `models.ResponseFormatTextGrammar` - -```python -value: models.ResponseFormatTextGrammar = /* values here */ -``` - -### `models.ChatGenerationParamsResponseFormatPython` - -```python -value: models.ChatGenerationParamsResponseFormatPython = /* values here */ -``` - diff --git a/docs/models/chatmessagecontentitem.md b/docs/models/chatmessagecontentitem.md deleted file mode 100644 index f0e3850..0000000 --- a/docs/models/chatmessagecontentitem.md +++ /dev/null @@ -1,29 +0,0 @@ -# ChatMessageContentItem - - -## Supported Types - -### `models.ChatMessageContentItemText` - -```python -value: models.ChatMessageContentItemText = /* values here */ -``` - -### `models.ChatMessageContentItemImage` - -```python -value: models.ChatMessageContentItemImage = /* values here */ -``` - -### `models.ChatMessageContentItemAudio` - -```python -value: models.ChatMessageContentItemAudio = /* values here */ -``` - -### `models.ChatMessageContentItemVideo` - -```python -value: models.ChatMessageContentItemVideo = /* values here */ -``` - diff --git a/docs/models/chatmessagecontentitemaudioinputaudio.md b/docs/models/chatmessagecontentitemaudioinputaudio.md deleted file mode 100644 index 20479a9..0000000 --- a/docs/models/chatmessagecontentitemaudioinputaudio.md +++ /dev/null @@ -1,9 +0,0 @@ -# ChatMessageContentItemAudioInputAudio - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `data` | *str* | :heavy_check_mark: | N/A | -| `format_` | [models.ChatMessageContentItemAudioFormat](../models/chatmessagecontentitemaudioformat.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/chatmessagecontentitemimage.md b/docs/models/chatmessagecontentitemimage.md deleted file mode 100644 index 351244b..0000000 --- a/docs/models/chatmessagecontentitemimage.md +++ /dev/null @@ -1,9 +0,0 @@ -# ChatMessageContentItemImage - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `type` | *Literal["image_url"]* | :heavy_check_mark: | N/A | -| `image_url` | [models.ImageURL](../models/imageurl.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/chatmessagecontentitemvideo.md b/docs/models/chatmessagecontentitemvideo.md deleted file mode 100644 index a997158..0000000 --- a/docs/models/chatmessagecontentitemvideo.md +++ /dev/null @@ -1,9 +0,0 @@ -# ChatMessageContentItemVideo - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `type` | *Literal["input_video"]* | :heavy_check_mark: | N/A | -| `video_url` | [models.VideoURL](../models/videourl.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/chatmessagetokenlogprobs.md b/docs/models/chatmessagetokenlogprobs.md deleted file mode 100644 index 2ed48e4..0000000 --- a/docs/models/chatmessagetokenlogprobs.md +++ /dev/null @@ -1,9 +0,0 @@ -# ChatMessageTokenLogprobs - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `content` | List[[models.ChatMessageTokenLogprob](../models/chatmessagetokenlogprob.md)] | :heavy_check_mark: | N/A | -| `refusal` | List[[models.ChatMessageTokenLogprob](../models/chatmessagetokenlogprob.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/chatresponse.md b/docs/models/chatresponse.md deleted file mode 100644 index 2a654c1..0000000 --- a/docs/models/chatresponse.md +++ /dev/null @@ -1,14 +0,0 @@ -# ChatResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | N/A | -| `choices` | List[[models.ChatResponseChoice](../models/chatresponsechoice.md)] | :heavy_check_mark: | N/A | -| `created` | *float* | :heavy_check_mark: | N/A | -| `model` | *str* | :heavy_check_mark: | N/A | -| `object` | *Literal["chat.completion"]* | :heavy_check_mark: | N/A | -| `system_fingerprint` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `usage` | [Optional[models.ChatGenerationTokenUsage]](../models/chatgenerationtokenusage.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/chatstreamingmessagechunk.md b/docs/models/chatstreamingmessagechunk.md deleted file mode 100644 index ce2730e..0000000 --- a/docs/models/chatstreamingmessagechunk.md +++ /dev/null @@ -1,12 +0,0 @@ -# ChatStreamingMessageChunk - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `role` | [Optional[models.ChatStreamingMessageChunkRole]](../models/chatstreamingmessagechunkrole.md) | :heavy_minus_sign: | N/A | -| `content` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `reasoning` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `refusal` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `tool_calls` | List[[models.ChatStreamingMessageToolCall](../models/chatstreamingmessagetoolcall.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/chatstreamingresponsechunkdata.md b/docs/models/chatstreamingresponsechunkdata.md deleted file mode 100644 index 8936ee3..0000000 --- a/docs/models/chatstreamingresponsechunkdata.md +++ /dev/null @@ -1,15 +0,0 @@ -# ChatStreamingResponseChunkData - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `id` | *str* | :heavy_check_mark: | N/A | -| `choices` | List[[models.ChatStreamingChoice](../models/chatstreamingchoice.md)] | :heavy_check_mark: | N/A | -| `created` | *float* | :heavy_check_mark: | N/A | -| `model` | *str* | :heavy_check_mark: | N/A | -| `object` | *Literal["chat.completion.chunk"]* | :heavy_check_mark: | N/A | -| `system_fingerprint` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `error` | [Optional[models.ChatStreamingResponseChunkError]](../models/chatstreamingresponsechunkerror.md) | :heavy_minus_sign: | N/A | -| `usage` | [Optional[models.ChatGenerationTokenUsage]](../models/chatgenerationtokenusage.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/completionchoice.md b/docs/models/completionchoice.md deleted file mode 100644 index 4e252b9..0000000 --- a/docs/models/completionchoice.md +++ /dev/null @@ -1,11 +0,0 @@ -# CompletionChoice - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `text` | *str* | :heavy_check_mark: | N/A | -| `index` | *float* | :heavy_check_mark: | N/A | -| `logprobs` | [Nullable[models.CompletionLogprobs]](../models/completionlogprobs.md) | :heavy_check_mark: | N/A | -| `finish_reason` | [Nullable[models.CompletionFinishReason]](../models/completionfinishreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/completioncreateparams.md b/docs/models/completioncreateparams.md deleted file mode 100644 index 460abf3..0000000 --- a/docs/models/completioncreateparams.md +++ /dev/null @@ -1,28 +0,0 @@ -# CompletionCreateParams - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `model` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `models` | List[*str*] | :heavy_minus_sign: | N/A | -| `prompt` | [models.Prompt](../models/prompt.md) | :heavy_check_mark: | N/A | -| `best_of` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `echo` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `frequency_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `logit_bias` | Dict[str, *float*] | :heavy_minus_sign: | N/A | -| `logprobs` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `max_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `n` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `presence_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `stop` | [OptionalNullable[models.CompletionCreateParamsStop]](../models/completioncreateparamsstop.md) | :heavy_minus_sign: | N/A | -| `stream` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `stream_options` | [OptionalNullable[models.StreamOptions]](../models/streamoptions.md) | :heavy_minus_sign: | N/A | -| `suffix` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `metadata` | Dict[str, *str*] | :heavy_minus_sign: | N/A | -| `response_format` | [OptionalNullable[models.CompletionCreateParamsResponseFormatUnion]](../models/completioncreateparamsresponseformatunion.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/completioncreateparamsresponseformatunion.md b/docs/models/completioncreateparamsresponseformatunion.md deleted file mode 100644 index bc32737..0000000 --- a/docs/models/completioncreateparamsresponseformatunion.md +++ /dev/null @@ -1,35 +0,0 @@ -# CompletionCreateParamsResponseFormatUnion - - -## Supported Types - -### `models.CompletionCreateParamsResponseFormatText` - -```python -value: models.CompletionCreateParamsResponseFormatText = /* values here */ -``` - -### `models.CompletionCreateParamsResponseFormatJSONObject` - -```python -value: models.CompletionCreateParamsResponseFormatJSONObject = /* values here */ -``` - -### `models.ResponseFormatJSONSchema` - -```python -value: models.ResponseFormatJSONSchema = /* values here */ -``` - -### `models.ResponseFormatTextGrammar` - -```python -value: models.ResponseFormatTextGrammar = /* values here */ -``` - -### `models.CompletionCreateParamsResponseFormatPython` - -```python -value: models.CompletionCreateParamsResponseFormatPython = /* values here */ -``` - diff --git a/docs/models/completionresponse.md b/docs/models/completionresponse.md deleted file mode 100644 index b1d5883..0000000 --- a/docs/models/completionresponse.md +++ /dev/null @@ -1,14 +0,0 @@ -# CompletionResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | N/A | -| `object` | *Literal["text_completion"]* | :heavy_check_mark: | N/A | -| `created` | *float* | :heavy_check_mark: | N/A | -| `model` | *str* | :heavy_check_mark: | N/A | -| `system_fingerprint` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `choices` | List[[models.CompletionChoice](../models/completionchoice.md)] | :heavy_check_mark: | N/A | -| `usage` | [Optional[models.CompletionUsage]](../models/completionusage.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createauthkeyscoderequest.md b/docs/models/createauthkeyscoderequest.md deleted file mode 100644 index f27502b..0000000 --- a/docs/models/createauthkeyscoderequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# CreateAuthKeysCodeRequest - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `callback_url` | *str* | :heavy_check_mark: | The callback URL to redirect to after authorization. Note, only https URLs on ports 443 and 3000 are allowed. | https://myapp.com/auth/callback | -| `code_challenge` | *Optional[str]* | :heavy_minus_sign: | PKCE code challenge for enhanced security | E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM | -| `code_challenge_method` | [Optional[models.CreateAuthKeysCodeCodeChallengeMethod]](../models/createauthkeyscodecodechallengemethod.md) | :heavy_minus_sign: | The method used to generate the code challenge | S256 | -| `limit` | *Optional[float]* | :heavy_minus_sign: | Credit limit for the API key to be created | 100 | -| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional expiration time for the API key to be created | | \ No newline at end of file diff --git a/docs/models/createchargerequest.md b/docs/models/createchargerequest.md deleted file mode 100644 index f532eef..0000000 --- a/docs/models/createchargerequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# CreateChargeRequest - -Create a Coinbase charge for crypto payment - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `amount` | *float* | :heavy_check_mark: | N/A | -| `sender` | *str* | :heavy_check_mark: | N/A | -| `chain_id` | [models.ChainID](../models/chainid.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createcoinbasechargedata.md b/docs/models/createcoinbasechargedata.md deleted file mode 100644 index d4c4385..0000000 --- a/docs/models/createcoinbasechargedata.md +++ /dev/null @@ -1,11 +0,0 @@ -# CreateCoinbaseChargeData - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `id` | *str* | :heavy_check_mark: | N/A | -| `created_at` | *str* | :heavy_check_mark: | N/A | -| `expires_at` | *str* | :heavy_check_mark: | N/A | -| `web3_data` | [models.Web3Data](../models/web3data.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createembeddingsignore.md b/docs/models/createembeddingsignore.md deleted file mode 100644 index a71ce57..0000000 --- a/docs/models/createembeddingsignore.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateEmbeddingsIgnore - - -## Supported Types - -### `models.ProviderName` - -```python -value: models.ProviderName = /* values here */ -``` - -### `str` - -```python -value: str = /* values here */ -``` - diff --git a/docs/models/createembeddingsonly.md b/docs/models/createembeddingsonly.md deleted file mode 100644 index 2ec1289..0000000 --- a/docs/models/createembeddingsonly.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateEmbeddingsOnly - - -## Supported Types - -### `models.ProviderName` - -```python -value: models.ProviderName = /* values here */ -``` - -### `str` - -```python -value: str = /* values here */ -``` - diff --git a/docs/models/createembeddingsorder.md b/docs/models/createembeddingsorder.md deleted file mode 100644 index ffaa8ac..0000000 --- a/docs/models/createembeddingsorder.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateEmbeddingsOrder - - -## Supported Types - -### `models.ProviderName` - -```python -value: models.ProviderName = /* values here */ -``` - -### `str` - -```python -value: str = /* values here */ -``` - diff --git a/docs/models/createembeddingsrequest.md b/docs/models/createembeddingsrequest.md deleted file mode 100644 index 77d58ac..0000000 --- a/docs/models/createembeddingsrequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# CreateEmbeddingsRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `input` | [models.Input](../models/input.md) | :heavy_check_mark: | N/A | -| `model` | *str* | :heavy_check_mark: | N/A | -| `provider` | [Optional[models.CreateEmbeddingsProvider]](../models/createembeddingsprovider.md) | :heavy_minus_sign: | N/A | -| `encoding_format` | [Optional[models.EncodingFormat]](../models/encodingformat.md) | :heavy_minus_sign: | N/A | -| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createembeddingsresponsebody.md b/docs/models/createembeddingsresponsebody.md deleted file mode 100644 index fa578ac..0000000 --- a/docs/models/createembeddingsresponsebody.md +++ /dev/null @@ -1,14 +0,0 @@ -# CreateEmbeddingsResponseBody - -Embedding response - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `object` | [models.CreateEmbeddingsObject](../models/createembeddingsobject.md) | :heavy_check_mark: | N/A | -| `data` | List[[models.CreateEmbeddingsData](../models/createembeddingsdata.md)] | :heavy_check_mark: | N/A | -| `model` | *str* | :heavy_check_mark: | N/A | -| `usage` | [Optional[models.Usage]](../models/usage.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createresponsesresponse.md b/docs/models/createresponsesresponse.md deleted file mode 100644 index cc2224d..0000000 --- a/docs/models/createresponsesresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateResponsesResponse - - -## Supported Types - -### `models.OpenResponsesNonStreamingResponse` - -```python -value: models.OpenResponsesNonStreamingResponse = /* values here */ -``` - -### `Union[eventstreaming.EventStream[models.OpenResponsesStreamEvent], eventstreaming.EventStreamAsync[models.OpenResponsesStreamEvent]]` - -```python -value: Union[eventstreaming.EventStream[models.OpenResponsesStreamEvent], eventstreaming.EventStreamAsync[models.OpenResponsesStreamEvent]] = /* values here */ -``` - diff --git a/docs/models/encodingformat.md b/docs/models/encodingformat.md deleted file mode 100644 index 1083105..0000000 --- a/docs/models/encodingformat.md +++ /dev/null @@ -1,17 +0,0 @@ -# EncodingFormat - - -## Supported Types - -### `models.EncodingFormatFloat` - -```python -value: models.EncodingFormatFloat = /* values here */ -``` - -### `models.EncodingFormatBase64` - -```python -value: models.EncodingFormatBase64 = /* values here */ -``` - diff --git a/docs/models/exchangeauthcodeforapikeyrequest.md b/docs/models/exchangeauthcodeforapikeyrequest.md deleted file mode 100644 index a189fbc..0000000 --- a/docs/models/exchangeauthcodeforapikeyrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# ExchangeAuthCodeForAPIKeyRequest - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `code` | *str* | :heavy_check_mark: | The authorization code received from the OAuth redirect | auth_code_abc123def456 | -| `code_verifier` | *Optional[str]* | :heavy_minus_sign: | The code verifier if code_challenge was used in the authorization request | dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk | -| `code_challenge_method` | [OptionalNullable[models.ExchangeAuthCodeForAPIKeyCodeChallengeMethod]](../models/exchangeauthcodeforapikeycodechallengemethod.md) | :heavy_minus_sign: | The method used to generate the code challenge | S256 | \ No newline at end of file diff --git a/docs/models/getgenerationdata.md b/docs/models/getgenerationdata.md deleted file mode 100644 index d68c548..0000000 --- a/docs/models/getgenerationdata.md +++ /dev/null @@ -1,41 +0,0 @@ -# GetGenerationData - -Generation data - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `id` | *str* | :heavy_check_mark: | Unique identifier for the generation | gen-3bhGkxlo4XFrqiabUM7NDtwDzWwG | -| `upstream_id` | *Nullable[str]* | :heavy_check_mark: | Upstream provider's identifier for this generation | chatcmpl-791bcf62-080e-4568-87d0-94c72e3b4946 | -| `total_cost` | *float* | :heavy_check_mark: | Total cost of the generation in USD | 0.0015 | -| `cache_discount` | *Nullable[float]* | :heavy_check_mark: | Discount applied due to caching | 0.0002 | -| `upstream_inference_cost` | *Nullable[float]* | :heavy_check_mark: | Cost charged by the upstream provider | 0.0012 | -| `created_at` | *str* | :heavy_check_mark: | ISO 8601 timestamp of when the generation was created | 2024-07-15T23:33:19.433273+00:00 | -| `model` | *str* | :heavy_check_mark: | Model used for the generation | sao10k/l3-stheno-8b | -| `app_id` | *Nullable[float]* | :heavy_check_mark: | ID of the app that made the request | 12345 | -| `streamed` | *Nullable[bool]* | :heavy_check_mark: | Whether the response was streamed | true | -| `cancelled` | *Nullable[bool]* | :heavy_check_mark: | Whether the generation was cancelled | false | -| `provider_name` | *Nullable[str]* | :heavy_check_mark: | Name of the provider that served the request | Infermatic | -| `latency` | *Nullable[float]* | :heavy_check_mark: | Total latency in milliseconds | 1250 | -| `moderation_latency` | *Nullable[float]* | :heavy_check_mark: | Moderation latency in milliseconds | 50 | -| `generation_time` | *Nullable[float]* | :heavy_check_mark: | Time taken for generation in milliseconds | 1200 | -| `finish_reason` | *Nullable[str]* | :heavy_check_mark: | Reason the generation finished | stop | -| `tokens_prompt` | *Nullable[float]* | :heavy_check_mark: | Number of tokens in the prompt | 10 | -| `tokens_completion` | *Nullable[float]* | :heavy_check_mark: | Number of tokens in the completion | 25 | -| `native_tokens_prompt` | *Nullable[float]* | :heavy_check_mark: | Native prompt tokens as reported by provider | 10 | -| `native_tokens_completion` | *Nullable[float]* | :heavy_check_mark: | Native completion tokens as reported by provider | 25 | -| `native_tokens_completion_images` | *Nullable[float]* | :heavy_check_mark: | Native completion image tokens as reported by provider | 0 | -| `native_tokens_reasoning` | *Nullable[float]* | :heavy_check_mark: | Native reasoning tokens as reported by provider | 5 | -| `native_tokens_cached` | *Nullable[float]* | :heavy_check_mark: | Native cached tokens as reported by provider | 3 | -| `num_media_prompt` | *Nullable[float]* | :heavy_check_mark: | Number of media items in the prompt | 1 | -| `num_input_audio_prompt` | *Nullable[float]* | :heavy_check_mark: | Number of audio inputs in the prompt | 0 | -| `num_media_completion` | *Nullable[float]* | :heavy_check_mark: | Number of media items in the completion | 0 | -| `num_search_results` | *Nullable[float]* | :heavy_check_mark: | Number of search results included | 5 | -| `origin` | *str* | :heavy_check_mark: | Origin URL of the request | https://openrouter.ai/ | -| `usage` | *float* | :heavy_check_mark: | Usage amount in USD | 0.0015 | -| `is_byok` | *bool* | :heavy_check_mark: | Whether this used bring-your-own-key | false | -| `native_finish_reason` | *Nullable[str]* | :heavy_check_mark: | Native finish reason as reported by provider | stop | -| `external_user` | *Nullable[str]* | :heavy_check_mark: | External user identifier | user-123 | -| `api_type` | [Nullable[models.APIType]](../models/apitype.md) | :heavy_check_mark: | Type of API used for the generation | | \ No newline at end of file diff --git a/docs/models/getgenerationresponse.md b/docs/models/getgenerationresponse.md deleted file mode 100644 index f44a3e9..0000000 --- a/docs/models/getgenerationresponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# GetGenerationResponse - -Generation response - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `data` | [models.GetGenerationData](../models/getgenerationdata.md) | :heavy_check_mark: | Generation data | \ No newline at end of file diff --git a/docs/models/getparametersdata.md b/docs/models/getparametersdata.md deleted file mode 100644 index c2a542c..0000000 --- a/docs/models/getparametersdata.md +++ /dev/null @@ -1,11 +0,0 @@ -# GetParametersData - -Parameter analytics data - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `model` | *str* | :heavy_check_mark: | Model identifier | openai/gpt-4 | -| `supported_parameters` | List[[models.SupportedParameter](../models/supportedparameter.md)] | :heavy_check_mark: | List of parameters supported by this model | [
"temperature",
"top_p",
"max_tokens"
] | \ No newline at end of file diff --git a/docs/models/getparametersrequest.md b/docs/models/getparametersrequest.md deleted file mode 100644 index f84578f..0000000 --- a/docs/models/getparametersrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# GetParametersRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `author` | *str* | :heavy_check_mark: | N/A | -| `slug` | *str* | :heavy_check_mark: | N/A | -| `provider` | [Optional[models.GetParametersProvider]](../models/getparametersprovider.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/listendpointszdrresponse.md b/docs/models/listendpointszdrresponse.md deleted file mode 100644 index eaae76c..0000000 --- a/docs/models/listendpointszdrresponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# ListEndpointsZdrResponse - -Returns a list of endpoints - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `data` | List[[models.PublicEndpoint](../models/publicendpoint.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listresponse.md b/docs/models/listresponse.md deleted file mode 100644 index d33242c..0000000 --- a/docs/models/listresponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# ListResponse - -List of API keys - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `data` | List[[models.ListData](../models/listdata.md)] | :heavy_check_mark: | List of API keys | \ No newline at end of file diff --git a/docs/models/message.md b/docs/models/message.md deleted file mode 100644 index 4fa98b6..0000000 --- a/docs/models/message.md +++ /dev/null @@ -1,35 +0,0 @@ -# Message - - -## Supported Types - -### `models.SystemMessage` - -```python -value: models.SystemMessage = /* values here */ -``` - -### `models.UserMessage` - -```python -value: models.UserMessage = /* values here */ -``` - -### `models.MessageDeveloper` - -```python -value: models.MessageDeveloper = /* values here */ -``` - -### `models.AssistantMessage` - -```python -value: models.AssistantMessage = /* values here */ -``` - -### `models.ToolResponseMessage` - -```python -value: models.ToolResponseMessage = /* values here */ -``` - diff --git a/docs/models/messagecontent.md b/docs/models/messagecontent.md deleted file mode 100644 index 0edfefd..0000000 --- a/docs/models/messagecontent.md +++ /dev/null @@ -1,17 +0,0 @@ -# MessageContent - - -## Supported Types - -### `str` - -```python -value: str = /* values here */ -``` - -### `List[models.ChatMessageContentItemText]` - -```python -value: List[models.ChatMessageContentItemText] = /* values here */ -``` - diff --git a/docs/models/messagedeveloper.md b/docs/models/messagedeveloper.md deleted file mode 100644 index 698364d..0000000 --- a/docs/models/messagedeveloper.md +++ /dev/null @@ -1,10 +0,0 @@ -# MessageDeveloper - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `role` | *Literal["developer"]* | :heavy_check_mark: | N/A | -| `content` | [models.MessageContent](../models/messagecontent.md) | :heavy_check_mark: | N/A | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/modelarchitecture.md b/docs/models/modelarchitecture.md deleted file mode 100644 index 6a311c6..0000000 --- a/docs/models/modelarchitecture.md +++ /dev/null @@ -1,14 +0,0 @@ -# ModelArchitecture - -Model architecture information - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `tokenizer` | [Optional[models.ModelGroup]](../models/modelgroup.md) | :heavy_minus_sign: | Tokenizer type used by the model | GPT | -| `instruct_type` | [OptionalNullable[models.ModelArchitectureInstructType]](../models/modelarchitectureinstructtype.md) | :heavy_minus_sign: | Instruction format type | chatml | -| `modality` | *Nullable[str]* | :heavy_check_mark: | Primary modality of the model | text->text | -| `input_modalities` | List[[models.InputModality](../models/inputmodality.md)] | :heavy_check_mark: | Supported input modalities | | -| `output_modalities` | List[[models.OutputModality](../models/outputmodality.md)] | :heavy_check_mark: | Supported output modalities | | \ No newline at end of file diff --git a/docs/models/modelscountresponse.md b/docs/models/modelscountresponse.md deleted file mode 100644 index 887e7fc..0000000 --- a/docs/models/modelscountresponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# ModelsCountResponse - -Model count data - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `data` | [models.ModelsCountResponseData](../models/modelscountresponsedata.md) | :heavy_check_mark: | Model count data | {
"count": 150
} | \ No newline at end of file diff --git a/docs/models/namedtoolchoice.md b/docs/models/namedtoolchoice.md deleted file mode 100644 index 3685d60..0000000 --- a/docs/models/namedtoolchoice.md +++ /dev/null @@ -1,9 +0,0 @@ -# NamedToolChoice - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `type` | *Literal["function"]* | :heavy_check_mark: | N/A | -| `function` | [models.NamedToolChoiceFunction](../models/namedtoolchoicefunction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsesannotation.md b/docs/models/openairesponsesannotation.md deleted file mode 100644 index 2460021..0000000 --- a/docs/models/openairesponsesannotation.md +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAIResponsesAnnotation - - -## Supported Types - -### `models.FileCitation` - -```python -value: models.FileCitation = /* values here */ -``` - -### `models.URLCitation` - -```python -value: models.URLCitation = /* values here */ -``` - -### `models.FilePath` - -```python -value: models.FilePath = /* values here */ -``` - diff --git a/docs/models/openairesponsesincompletedetails.md b/docs/models/openairesponsesincompletedetails.md deleted file mode 100644 index 889f598..0000000 --- a/docs/models/openairesponsesincompletedetails.md +++ /dev/null @@ -1,8 +0,0 @@ -# OpenAIResponsesIncompleteDetails - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `reason` | [Optional[models.Reason]](../models/reason.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsesinputcontent1.md b/docs/models/openairesponsesinputcontent1.md deleted file mode 100644 index 63399a2..0000000 --- a/docs/models/openairesponsesinputcontent1.md +++ /dev/null @@ -1,29 +0,0 @@ -# OpenAIResponsesInputContent1 - - -## Supported Types - -### `models.ResponseInputText` - -```python -value: models.ResponseInputText = /* values here */ -``` - -### `models.ResponseInputImage` - -```python -value: models.ResponseInputImage = /* values here */ -``` - -### `models.ResponseInputFile` - -```python -value: models.ResponseInputFile = /* values here */ -``` - -### `models.ResponseInputAudio` - -```python -value: models.ResponseInputAudio = /* values here */ -``` - diff --git a/docs/models/openairesponsesinputcontent3.md b/docs/models/openairesponsesinputcontent3.md deleted file mode 100644 index eb18949..0000000 --- a/docs/models/openairesponsesinputcontent3.md +++ /dev/null @@ -1,29 +0,0 @@ -# OpenAIResponsesInputContent3 - - -## Supported Types - -### `models.ResponseInputText` - -```python -value: models.ResponseInputText = /* values here */ -``` - -### `models.ResponseInputImage` - -```python -value: models.ResponseInputImage = /* values here */ -``` - -### `models.ResponseInputFile` - -```python -value: models.ResponseInputFile = /* values here */ -``` - -### `models.ResponseInputAudio` - -```python -value: models.ResponseInputAudio = /* values here */ -``` - diff --git a/docs/models/openairesponsesinputroleunion1.md b/docs/models/openairesponsesinputroleunion1.md deleted file mode 100644 index e73ff35..0000000 --- a/docs/models/openairesponsesinputroleunion1.md +++ /dev/null @@ -1,29 +0,0 @@ -# OpenAIResponsesInputRoleUnion1 - - -## Supported Types - -### `models.OpenAIResponsesInputRoleUser1` - -```python -value: models.OpenAIResponsesInputRoleUser1 = /* values here */ -``` - -### `models.OpenAIResponsesInputRoleSystem1` - -```python -value: models.OpenAIResponsesInputRoleSystem1 = /* values here */ -``` - -### `models.OpenAIResponsesInputRoleAssistant` - -```python -value: models.OpenAIResponsesInputRoleAssistant = /* values here */ -``` - -### `models.OpenAIResponsesInputRoleDeveloper1` - -```python -value: models.OpenAIResponsesInputRoleDeveloper1 = /* values here */ -``` - diff --git a/docs/models/openairesponsesinputroleunion2.md b/docs/models/openairesponsesinputroleunion2.md deleted file mode 100644 index af6fa9e..0000000 --- a/docs/models/openairesponsesinputroleunion2.md +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAIResponsesInputRoleUnion2 - - -## Supported Types - -### `models.OpenAIResponsesInputRoleUser2` - -```python -value: models.OpenAIResponsesInputRoleUser2 = /* values here */ -``` - -### `models.OpenAIResponsesInputRoleSystem2` - -```python -value: models.OpenAIResponsesInputRoleSystem2 = /* values here */ -``` - -### `models.OpenAIResponsesInputRoleDeveloper2` - -```python -value: models.OpenAIResponsesInputRoleDeveloper2 = /* values here */ -``` - diff --git a/docs/models/openairesponsesinputunion1.md b/docs/models/openairesponsesinputunion1.md deleted file mode 100644 index 2d09bdd..0000000 --- a/docs/models/openairesponsesinputunion1.md +++ /dev/null @@ -1,41 +0,0 @@ -# OpenAIResponsesInputUnion1 - - -## Supported Types - -### `models.OpenAIResponsesInputMessage1` - -```python -value: models.OpenAIResponsesInputMessage1 = /* values here */ -``` - -### `models.OpenAIResponsesInputMessage2` - -```python -value: models.OpenAIResponsesInputMessage2 = /* values here */ -``` - -### `models.OpenAIResponsesInputFunctionCallOutput` - -```python -value: models.OpenAIResponsesInputFunctionCallOutput = /* values here */ -``` - -### `models.OpenAIResponsesInputFunctionCall` - -```python -value: models.OpenAIResponsesInputFunctionCall = /* values here */ -``` - -### `models.OutputItemImageGenerationCall` - -```python -value: models.OutputItemImageGenerationCall = /* values here */ -``` - -### `models.OutputMessage` - -```python -value: models.OutputMessage = /* values here */ -``` - diff --git a/docs/models/openairesponsesprompt.md b/docs/models/openairesponsesprompt.md deleted file mode 100644 index 0d887d9..0000000 --- a/docs/models/openairesponsesprompt.md +++ /dev/null @@ -1,9 +0,0 @@ -# OpenAIResponsesPrompt - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | N/A | -| `variables` | Dict[str, [models.Variables](../models/variables.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsesreasoningconfig.md b/docs/models/openairesponsesreasoningconfig.md deleted file mode 100644 index 6943fd0..0000000 --- a/docs/models/openairesponsesreasoningconfig.md +++ /dev/null @@ -1,9 +0,0 @@ -# OpenAIResponsesReasoningConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `effort` | [OptionalNullable[models.OpenAIResponsesReasoningEffort]](../models/openairesponsesreasoningeffort.md) | :heavy_minus_sign: | N/A | -| `summary` | [Optional[models.ReasoningSummaryVerbosity]](../models/reasoningsummaryverbosity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsestoolchoice.md b/docs/models/openairesponsestoolchoice.md deleted file mode 100644 index dd90be9..0000000 --- a/docs/models/openairesponsestoolchoice.md +++ /dev/null @@ -1,8 +0,0 @@ -# OpenAIResponsesToolChoice - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `type` | [models.Type](../models/type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openairesponsestoolchoiceunion.md b/docs/models/openairesponsestoolchoiceunion.md deleted file mode 100644 index b869a18..0000000 --- a/docs/models/openairesponsestoolchoiceunion.md +++ /dev/null @@ -1,35 +0,0 @@ -# OpenAIResponsesToolChoiceUnion - - -## Supported Types - -### `models.OpenAIResponsesToolChoiceAuto` - -```python -value: models.OpenAIResponsesToolChoiceAuto = /* values here */ -``` - -### `models.OpenAIResponsesToolChoiceNone` - -```python -value: models.OpenAIResponsesToolChoiceNone = /* values here */ -``` - -### `models.OpenAIResponsesToolChoiceRequired` - -```python -value: models.OpenAIResponsesToolChoiceRequired = /* values here */ -``` - -### `models.OpenAIResponsesToolChoiceFunction` - -```python -value: models.OpenAIResponsesToolChoiceFunction = /* values here */ -``` - -### `models.OpenAIResponsesToolChoice` - -```python -value: models.OpenAIResponsesToolChoice = /* values here */ -``` - diff --git a/docs/models/openresponseseasyinputmessage.md b/docs/models/openresponseseasyinputmessage.md deleted file mode 100644 index 1ce49f7..0000000 --- a/docs/models/openresponseseasyinputmessage.md +++ /dev/null @@ -1,10 +0,0 @@ -# OpenResponsesEasyInputMessage - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `type` | [Optional[models.OpenResponsesEasyInputMessageType]](../models/openresponseseasyinputmessagetype.md) | :heavy_minus_sign: | N/A | -| `role` | [models.OpenResponsesEasyInputMessageRoleUnion](../models/openresponseseasyinputmessageroleunion.md) | :heavy_check_mark: | N/A | -| `content` | [models.OpenResponsesEasyInputMessageContent2](../models/openresponseseasyinputmessagecontent2.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponseseasyinputmessagecontent1.md b/docs/models/openresponseseasyinputmessagecontent1.md deleted file mode 100644 index 9dc36e2..0000000 --- a/docs/models/openresponseseasyinputmessagecontent1.md +++ /dev/null @@ -1,29 +0,0 @@ -# OpenResponsesEasyInputMessageContent1 - - -## Supported Types - -### `models.ResponseInputText` - -```python -value: models.ResponseInputText = /* values here */ -``` - -### `models.ResponseInputImage` - -```python -value: models.ResponseInputImage = /* values here */ -``` - -### `models.ResponseInputFile` - -```python -value: models.ResponseInputFile = /* values here */ -``` - -### `models.ResponseInputAudio` - -```python -value: models.ResponseInputAudio = /* values here */ -``` - diff --git a/docs/models/openresponseseasyinputmessagecontent2.md b/docs/models/openresponseseasyinputmessagecontent2.md deleted file mode 100644 index fe0e91d..0000000 --- a/docs/models/openresponseseasyinputmessagecontent2.md +++ /dev/null @@ -1,17 +0,0 @@ -# OpenResponsesEasyInputMessageContent2 - - -## Supported Types - -### `List[models.OpenResponsesEasyInputMessageContent1]` - -```python -value: List[models.OpenResponsesEasyInputMessageContent1] = /* values here */ -``` - -### `str` - -```python -value: str = /* values here */ -``` - diff --git a/docs/models/openresponseseasyinputmessageroleunion.md b/docs/models/openresponseseasyinputmessageroleunion.md deleted file mode 100644 index 13cefd4..0000000 --- a/docs/models/openresponseseasyinputmessageroleunion.md +++ /dev/null @@ -1,29 +0,0 @@ -# OpenResponsesEasyInputMessageRoleUnion - - -## Supported Types - -### `models.OpenResponsesEasyInputMessageRoleUser` - -```python -value: models.OpenResponsesEasyInputMessageRoleUser = /* values here */ -``` - -### `models.OpenResponsesEasyInputMessageRoleSystem` - -```python -value: models.OpenResponsesEasyInputMessageRoleSystem = /* values here */ -``` - -### `models.OpenResponsesEasyInputMessageRoleAssistant` - -```python -value: models.OpenResponsesEasyInputMessageRoleAssistant = /* values here */ -``` - -### `models.OpenResponsesEasyInputMessageRoleDeveloper` - -```python -value: models.OpenResponsesEasyInputMessageRoleDeveloper = /* values here */ -``` - diff --git a/docs/models/openresponsesfunctioncalloutput.md b/docs/models/openresponsesfunctioncalloutput.md deleted file mode 100644 index 5a0c310..0000000 --- a/docs/models/openresponsesfunctioncalloutput.md +++ /dev/null @@ -1,14 +0,0 @@ -# OpenResponsesFunctionCallOutput - -The output from a function call execution - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesFunctionCallOutputType](../models/openresponsesfunctioncalloutputtype.md) | :heavy_check_mark: | N/A | | -| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `call_id` | *str* | :heavy_check_mark: | N/A | | -| `output` | *str* | :heavy_check_mark: | N/A | | -| `status` | [OptionalNullable[models.ToolCallStatus]](../models/toolcallstatus.md) | :heavy_minus_sign: | N/A | completed | \ No newline at end of file diff --git a/docs/models/openresponsesfunctiontoolcall.md b/docs/models/openresponsesfunctiontoolcall.md deleted file mode 100644 index e6f68d3..0000000 --- a/docs/models/openresponsesfunctiontoolcall.md +++ /dev/null @@ -1,15 +0,0 @@ -# OpenResponsesFunctionToolCall - -A function call initiated by the model - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `type` | [models.OpenResponsesFunctionToolCallType](../models/openresponsesfunctiontoolcalltype.md) | :heavy_check_mark: | N/A | | -| `call_id` | *str* | :heavy_check_mark: | N/A | | -| `name` | *str* | :heavy_check_mark: | N/A | | -| `arguments` | *str* | :heavy_check_mark: | N/A | | -| `id` | *str* | :heavy_check_mark: | N/A | | -| `status` | [OptionalNullable[models.ToolCallStatus]](../models/toolcallstatus.md) | :heavy_minus_sign: | N/A | completed | \ No newline at end of file diff --git a/docs/models/openresponsesimagegencallcompleted.md b/docs/models/openresponsesimagegencallcompleted.md deleted file mode 100644 index 98f64f3..0000000 --- a/docs/models/openresponsesimagegencallcompleted.md +++ /dev/null @@ -1,13 +0,0 @@ -# OpenResponsesImageGenCallCompleted - -Image generation call completed - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesImageGenCallCompletedType](../models/openresponsesimagegencallcompletedtype.md) | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesimagegencallgenerating.md b/docs/models/openresponsesimagegencallgenerating.md deleted file mode 100644 index 552f033..0000000 --- a/docs/models/openresponsesimagegencallgenerating.md +++ /dev/null @@ -1,13 +0,0 @@ -# OpenResponsesImageGenCallGenerating - -Image generation call is generating - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `type` | [models.OpenResponsesImageGenCallGeneratingType](../models/openresponsesimagegencallgeneratingtype.md) | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesinput1.md b/docs/models/openresponsesinput1.md deleted file mode 100644 index 5362f5a..0000000 --- a/docs/models/openresponsesinput1.md +++ /dev/null @@ -1,71 +0,0 @@ -# OpenResponsesInput1 - - -## Supported Types - -### `models.OpenResponsesReasoning` - -```python -value: models.OpenResponsesReasoning = /* values here */ -``` - -### `models.OpenResponsesEasyInputMessage` - -```python -value: models.OpenResponsesEasyInputMessage = /* values here */ -``` - -### `models.OpenResponsesInputMessageItem` - -```python -value: models.OpenResponsesInputMessageItem = /* values here */ -``` - -### `models.OpenResponsesFunctionToolCall` - -```python -value: models.OpenResponsesFunctionToolCall = /* values here */ -``` - -### `models.OpenResponsesFunctionCallOutput` - -```python -value: models.OpenResponsesFunctionCallOutput = /* values here */ -``` - -### `models.ResponsesOutputMessage` - -```python -value: models.ResponsesOutputMessage = /* values here */ -``` - -### `models.ResponsesOutputItemReasoning` - -```python -value: models.ResponsesOutputItemReasoning = /* values here */ -``` - -### `models.ResponsesOutputItemFunctionCall` - -```python -value: models.ResponsesOutputItemFunctionCall = /* values here */ -``` - -### `models.ResponsesWebSearchCallOutput` - -```python -value: models.ResponsesWebSearchCallOutput = /* values here */ -``` - -### `models.ResponsesOutputItemFileSearchCall` - -```python -value: models.ResponsesOutputItemFileSearchCall = /* values here */ -``` - -### `models.ResponsesImageGenerationCall` - -```python -value: models.ResponsesImageGenerationCall = /* values here */ -``` - diff --git a/docs/models/openresponsesinputmessageitem.md b/docs/models/openresponsesinputmessageitem.md deleted file mode 100644 index 8636256..0000000 --- a/docs/models/openresponsesinputmessageitem.md +++ /dev/null @@ -1,11 +0,0 @@ -# OpenResponsesInputMessageItem - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `type` | [Optional[models.OpenResponsesInputMessageItemType]](../models/openresponsesinputmessageitemtype.md) | :heavy_minus_sign: | N/A | -| `role` | [models.OpenResponsesInputMessageItemRoleUnion](../models/openresponsesinputmessageitemroleunion.md) | :heavy_check_mark: | N/A | -| `content` | List[[models.OpenResponsesInputMessageItemContent](../models/openresponsesinputmessageitemcontent.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesinputmessageitemcontent.md b/docs/models/openresponsesinputmessageitemcontent.md deleted file mode 100644 index 0a06d74..0000000 --- a/docs/models/openresponsesinputmessageitemcontent.md +++ /dev/null @@ -1,29 +0,0 @@ -# OpenResponsesInputMessageItemContent - - -## Supported Types - -### `models.ResponseInputText` - -```python -value: models.ResponseInputText = /* values here */ -``` - -### `models.ResponseInputImage` - -```python -value: models.ResponseInputImage = /* values here */ -``` - -### `models.ResponseInputFile` - -```python -value: models.ResponseInputFile = /* values here */ -``` - -### `models.ResponseInputAudio` - -```python -value: models.ResponseInputAudio = /* values here */ -``` - diff --git a/docs/models/openresponsesinputmessageitemroleunion.md b/docs/models/openresponsesinputmessageitemroleunion.md deleted file mode 100644 index 8c873a8..0000000 --- a/docs/models/openresponsesinputmessageitemroleunion.md +++ /dev/null @@ -1,23 +0,0 @@ -# OpenResponsesInputMessageItemRoleUnion - - -## Supported Types - -### `models.OpenResponsesInputMessageItemRoleUser` - -```python -value: models.OpenResponsesInputMessageItemRoleUser = /* values here */ -``` - -### `models.OpenResponsesInputMessageItemRoleSystem` - -```python -value: models.OpenResponsesInputMessageItemRoleSystem = /* values here */ -``` - -### `models.OpenResponsesInputMessageItemRoleDeveloper` - -```python -value: models.OpenResponsesInputMessageItemRoleDeveloper = /* values here */ -``` - diff --git a/docs/models/openresponseslogprobs.md b/docs/models/openresponseslogprobs.md deleted file mode 100644 index d577144..0000000 --- a/docs/models/openresponseslogprobs.md +++ /dev/null @@ -1,12 +0,0 @@ -# OpenResponsesLogProbs - -Log probability information for a token - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `logprob` | *float* | :heavy_check_mark: | N/A | -| `token` | *str* | :heavy_check_mark: | N/A | -| `top_logprobs` | List[[models.OpenResponsesTopLogprobs](../models/openresponsestoplogprobs.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesnonstreamingresponsetoolfunction.md b/docs/models/openresponsesnonstreamingresponsetoolfunction.md deleted file mode 100644 index 5992ce2..0000000 --- a/docs/models/openresponsesnonstreamingresponsetoolfunction.md +++ /dev/null @@ -1,14 +0,0 @@ -# OpenResponsesNonStreamingResponseToolFunction - -Function tool definition - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesNonStreamingResponseType](../models/openresponsesnonstreamingresponsetype.md) | :heavy_check_mark: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `strict` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `parameters` | Dict[str, *Nullable[Any]*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesnonstreamingresponsetoolunion.md b/docs/models/openresponsesnonstreamingresponsetoolunion.md deleted file mode 100644 index 92f975c..0000000 --- a/docs/models/openresponsesnonstreamingresponsetoolunion.md +++ /dev/null @@ -1,35 +0,0 @@ -# OpenResponsesNonStreamingResponseToolUnion - - -## Supported Types - -### `models.OpenResponsesNonStreamingResponseToolFunction` - -```python -value: models.OpenResponsesNonStreamingResponseToolFunction = /* values here */ -``` - -### `models.OpenResponsesWebSearchPreviewTool` - -```python -value: models.OpenResponsesWebSearchPreviewTool = /* values here */ -``` - -### `models.OpenResponsesWebSearchPreview20250311Tool` - -```python -value: models.OpenResponsesWebSearchPreview20250311Tool = /* values here */ -``` - -### `models.OpenResponsesWebSearchTool` - -```python -value: models.OpenResponsesWebSearchTool = /* values here */ -``` - -### `models.OpenResponsesWebSearch20250826Tool` - -```python -value: models.OpenResponsesWebSearch20250826Tool = /* values here */ -``` - diff --git a/docs/models/openresponsesreasoning.md b/docs/models/openresponsesreasoning.md deleted file mode 100644 index f2fcf09..0000000 --- a/docs/models/openresponsesreasoning.md +++ /dev/null @@ -1,17 +0,0 @@ -# OpenResponsesReasoning - -Reasoning output item with signature and format extensions - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesReasoningType](../models/openresponsesreasoningtype.md) | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `content` | List[[models.ReasoningTextContent](../models/reasoningtextcontent.md)] | :heavy_minus_sign: | N/A | -| `summary` | List[[models.ReasoningSummaryText](../models/reasoningsummarytext.md)] | :heavy_check_mark: | N/A | -| `encrypted_content` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[models.OpenResponsesReasoningStatusUnion]](../models/openresponsesreasoningstatusunion.md) | :heavy_minus_sign: | N/A | -| `signature` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `format_` | [OptionalNullable[models.OpenResponsesReasoningFormat]](../models/openresponsesreasoningformat.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesreasoningconfig.md b/docs/models/openresponsesreasoningconfig.md deleted file mode 100644 index 36fcf9c..0000000 --- a/docs/models/openresponsesreasoningconfig.md +++ /dev/null @@ -1,13 +0,0 @@ -# OpenResponsesReasoningConfig - -Configuration for reasoning mode in the response - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `effort` | [OptionalNullable[models.OpenAIResponsesReasoningEffort]](../models/openairesponsesreasoningeffort.md) | :heavy_minus_sign: | N/A | -| `summary` | [Optional[models.ReasoningSummaryVerbosity]](../models/reasoningsummaryverbosity.md) | :heavy_minus_sign: | N/A | -| `max_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `enabled` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesreasoningdoneevent.md b/docs/models/openresponsesreasoningdoneevent.md deleted file mode 100644 index 9d457e0..0000000 --- a/docs/models/openresponsesreasoningdoneevent.md +++ /dev/null @@ -1,15 +0,0 @@ -# OpenResponsesReasoningDoneEvent - -Event emitted when reasoning text streaming is complete - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesReasoningDoneEventType](../models/openresponsesreasoningdoneeventtype.md) | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `content_index` | *float* | :heavy_check_mark: | N/A | -| `text` | *str* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesreasoningstatusunion.md b/docs/models/openresponsesreasoningstatusunion.md deleted file mode 100644 index 9bb37df..0000000 --- a/docs/models/openresponsesreasoningstatusunion.md +++ /dev/null @@ -1,23 +0,0 @@ -# OpenResponsesReasoningStatusUnion - - -## Supported Types - -### `models.OpenResponsesReasoningStatusCompleted` - -```python -value: models.OpenResponsesReasoningStatusCompleted = /* values here */ -``` - -### `models.OpenResponsesReasoningStatusIncomplete` - -```python -value: models.OpenResponsesReasoningStatusIncomplete = /* values here */ -``` - -### `models.OpenResponsesReasoningStatusInProgress` - -```python -value: models.OpenResponsesReasoningStatusInProgress = /* values here */ -``` - diff --git a/docs/models/openresponsesreasoningsummarypartaddedevent.md b/docs/models/openresponsesreasoningsummarypartaddedevent.md deleted file mode 100644 index 57b4fc6..0000000 --- a/docs/models/openresponsesreasoningsummarypartaddedevent.md +++ /dev/null @@ -1,15 +0,0 @@ -# OpenResponsesReasoningSummaryPartAddedEvent - -Event emitted when a reasoning summary part is added - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesReasoningSummaryPartAddedEventType](../models/openresponsesreasoningsummarypartaddedeventtype.md) | :heavy_check_mark: | N/A | | -| `output_index` | *float* | :heavy_check_mark: | N/A | | -| `item_id` | *str* | :heavy_check_mark: | N/A | | -| `summary_index` | *float* | :heavy_check_mark: | N/A | | -| `part` | [models.ReasoningSummaryText](../models/reasoningsummarytext.md) | :heavy_check_mark: | N/A | {
"type": "summary_text",
"text": "Analyzed the problem using first principles"
} | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/openresponsesreasoningsummarytextdeltaevent.md b/docs/models/openresponsesreasoningsummarytextdeltaevent.md deleted file mode 100644 index d42781c..0000000 --- a/docs/models/openresponsesreasoningsummarytextdeltaevent.md +++ /dev/null @@ -1,15 +0,0 @@ -# OpenResponsesReasoningSummaryTextDeltaEvent - -Event emitted when reasoning summary text delta is streamed - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesReasoningSummaryTextDeltaEventType](../models/openresponsesreasoningsummarytextdeltaeventtype.md) | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `summary_index` | *float* | :heavy_check_mark: | N/A | -| `delta` | *str* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesrequesttoolfunction.md b/docs/models/openresponsesrequesttoolfunction.md deleted file mode 100644 index 76408ac..0000000 --- a/docs/models/openresponsesrequesttoolfunction.md +++ /dev/null @@ -1,14 +0,0 @@ -# OpenResponsesRequestToolFunction - -Function tool definition - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `type` | [models.OpenResponsesRequestType](../models/openresponsesrequesttype.md) | :heavy_check_mark: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `strict` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `parameters` | Dict[str, *Nullable[Any]*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesrequesttoolunion.md b/docs/models/openresponsesrequesttoolunion.md deleted file mode 100644 index 63e0d7f..0000000 --- a/docs/models/openresponsesrequesttoolunion.md +++ /dev/null @@ -1,35 +0,0 @@ -# OpenResponsesRequestToolUnion - - -## Supported Types - -### `models.OpenResponsesRequestToolFunction` - -```python -value: models.OpenResponsesRequestToolFunction = /* values here */ -``` - -### `models.OpenResponsesWebSearchPreviewTool` - -```python -value: models.OpenResponsesWebSearchPreviewTool = /* values here */ -``` - -### `models.OpenResponsesWebSearchPreview20250311Tool` - -```python -value: models.OpenResponsesWebSearchPreview20250311Tool = /* values here */ -``` - -### `models.OpenResponsesWebSearchTool` - -```python -value: models.OpenResponsesWebSearchTool = /* values here */ -``` - -### `models.OpenResponsesWebSearch20250826Tool` - -```python -value: models.OpenResponsesWebSearch20250826Tool = /* values here */ -``` - diff --git a/docs/models/openresponsesstreamevent.md b/docs/models/openresponsesstreamevent.md deleted file mode 100644 index 26b26a5..0000000 --- a/docs/models/openresponsesstreamevent.md +++ /dev/null @@ -1,169 +0,0 @@ -# OpenResponsesStreamEvent - -Union of all possible event types emitted during response streaming - - -## Supported Types - -### `models.OpenResponsesStreamEventResponseCreated` - -```python -value: models.OpenResponsesStreamEventResponseCreated = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseInProgress` - -```python -value: models.OpenResponsesStreamEventResponseInProgress = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseCompleted` - -```python -value: models.OpenResponsesStreamEventResponseCompleted = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseIncomplete` - -```python -value: models.OpenResponsesStreamEventResponseIncomplete = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseFailed` - -```python -value: models.OpenResponsesStreamEventResponseFailed = /* values here */ -``` - -### `models.OpenResponsesErrorEvent` - -```python -value: models.OpenResponsesErrorEvent = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseOutputItemAdded` - -```python -value: models.OpenResponsesStreamEventResponseOutputItemAdded = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseOutputItemDone` - -```python -value: models.OpenResponsesStreamEventResponseOutputItemDone = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseContentPartAdded` - -```python -value: models.OpenResponsesStreamEventResponseContentPartAdded = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseContentPartDone` - -```python -value: models.OpenResponsesStreamEventResponseContentPartDone = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseOutputTextDelta` - -```python -value: models.OpenResponsesStreamEventResponseOutputTextDelta = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseOutputTextDone` - -```python -value: models.OpenResponsesStreamEventResponseOutputTextDone = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseRefusalDelta` - -```python -value: models.OpenResponsesStreamEventResponseRefusalDelta = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseRefusalDone` - -```python -value: models.OpenResponsesStreamEventResponseRefusalDone = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseOutputTextAnnotationAdded` - -```python -value: models.OpenResponsesStreamEventResponseOutputTextAnnotationAdded = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseFunctionCallArgumentsDelta` - -```python -value: models.OpenResponsesStreamEventResponseFunctionCallArgumentsDelta = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseFunctionCallArgumentsDone` - -```python -value: models.OpenResponsesStreamEventResponseFunctionCallArgumentsDone = /* values here */ -``` - -### `models.OpenResponsesReasoningDeltaEvent` - -```python -value: models.OpenResponsesReasoningDeltaEvent = /* values here */ -``` - -### `models.OpenResponsesReasoningDoneEvent` - -```python -value: models.OpenResponsesReasoningDoneEvent = /* values here */ -``` - -### `models.OpenResponsesReasoningSummaryPartAddedEvent` - -```python -value: models.OpenResponsesReasoningSummaryPartAddedEvent = /* values here */ -``` - -### `models.OpenResponsesStreamEventResponseReasoningSummaryPartDone` - -```python -value: models.OpenResponsesStreamEventResponseReasoningSummaryPartDone = /* values here */ -``` - -### `models.OpenResponsesReasoningSummaryTextDeltaEvent` - -```python -value: models.OpenResponsesReasoningSummaryTextDeltaEvent = /* values here */ -``` - -### `models.OpenResponsesReasoningSummaryTextDoneEvent` - -```python -value: models.OpenResponsesReasoningSummaryTextDoneEvent = /* values here */ -``` - -### `models.OpenResponsesImageGenCallInProgress` - -```python -value: models.OpenResponsesImageGenCallInProgress = /* values here */ -``` - -### `models.OpenResponsesImageGenCallGenerating` - -```python -value: models.OpenResponsesImageGenCallGenerating = /* values here */ -``` - -### `models.OpenResponsesImageGenCallPartialImage` - -```python -value: models.OpenResponsesImageGenCallPartialImage = /* values here */ -``` - -### `models.OpenResponsesImageGenCallCompleted` - -```python -value: models.OpenResponsesImageGenCallCompleted = /* values here */ -``` - diff --git a/docs/models/openresponsesstreameventresponsefunctioncallargumentsdelta.md b/docs/models/openresponsesstreameventresponsefunctioncallargumentsdelta.md deleted file mode 100644 index ac24207..0000000 --- a/docs/models/openresponsesstreameventresponsefunctioncallargumentsdelta.md +++ /dev/null @@ -1,14 +0,0 @@ -# OpenResponsesStreamEventResponseFunctionCallArgumentsDelta - -Event emitted when function call arguments are being streamed - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `type` | [models.TypeResponseFunctionCallArgumentsDelta](../models/typeresponsefunctioncallargumentsdelta.md) | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `delta` | *str* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponseoutputtextannotationadded.md b/docs/models/openresponsesstreameventresponseoutputtextannotationadded.md deleted file mode 100644 index 8c6c0b4..0000000 --- a/docs/models/openresponsesstreameventresponseoutputtextannotationadded.md +++ /dev/null @@ -1,16 +0,0 @@ -# OpenResponsesStreamEventResponseOutputTextAnnotationAdded - -Event emitted when a text annotation is added to output - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `type` | [models.TypeResponseOutputTextAnnotationAdded](../models/typeresponseoutputtextannotationadded.md) | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `content_index` | *float* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | -| `annotation_index` | *float* | :heavy_check_mark: | N/A | -| `annotation` | [models.OpenAIResponsesAnnotation](../models/openairesponsesannotation.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponseoutputtextdelta.md b/docs/models/openresponsesstreameventresponseoutputtextdelta.md deleted file mode 100644 index 8da1789..0000000 --- a/docs/models/openresponsesstreameventresponseoutputtextdelta.md +++ /dev/null @@ -1,16 +0,0 @@ -# OpenResponsesStreamEventResponseOutputTextDelta - -Event emitted when a text delta is streamed - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `type` | [models.TypeResponseOutputTextDelta](../models/typeresponseoutputtextdelta.md) | :heavy_check_mark: | N/A | -| `logprobs` | List[[models.OpenResponsesLogProbs](../models/openresponseslogprobs.md)] | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `content_index` | *float* | :heavy_check_mark: | N/A | -| `delta` | *str* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponseoutputtextdone.md b/docs/models/openresponsesstreameventresponseoutputtextdone.md deleted file mode 100644 index 72783ff..0000000 --- a/docs/models/openresponsesstreameventresponseoutputtextdone.md +++ /dev/null @@ -1,16 +0,0 @@ -# OpenResponsesStreamEventResponseOutputTextDone - -Event emitted when text streaming is complete - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `type` | [models.TypeResponseOutputTextDone](../models/typeresponseoutputtextdone.md) | :heavy_check_mark: | N/A | -| `output_index` | *float* | :heavy_check_mark: | N/A | -| `item_id` | *str* | :heavy_check_mark: | N/A | -| `content_index` | *float* | :heavy_check_mark: | N/A | -| `text` | *str* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | -| `logprobs` | List[[models.OpenResponsesLogProbs](../models/openresponseslogprobs.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/openresponsesstreameventresponsereasoningsummarypartdone.md b/docs/models/openresponsesstreameventresponsereasoningsummarypartdone.md deleted file mode 100644 index 8cc0856..0000000 --- a/docs/models/openresponsesstreameventresponsereasoningsummarypartdone.md +++ /dev/null @@ -1,15 +0,0 @@ -# OpenResponsesStreamEventResponseReasoningSummaryPartDone - -Event emitted when a reasoning summary part is complete - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `type` | [models.TypeResponseReasoningSummaryPartDone](../models/typeresponsereasoningsummarypartdone.md) | :heavy_check_mark: | N/A | | -| `output_index` | *float* | :heavy_check_mark: | N/A | | -| `item_id` | *str* | :heavy_check_mark: | N/A | | -| `summary_index` | *float* | :heavy_check_mark: | N/A | | -| `part` | [models.ReasoningSummaryText](../models/reasoningsummarytext.md) | :heavy_check_mark: | N/A | {
"type": "summary_text",
"text": "Analyzed the problem using first principles"
} | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/openresponsesusage.md b/docs/models/openresponsesusage.md deleted file mode 100644 index 922b01e..0000000 --- a/docs/models/openresponsesusage.md +++ /dev/null @@ -1,17 +0,0 @@ -# OpenResponsesUsage - -Token usage information for the response - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `input_tokens` | *float* | :heavy_check_mark: | N/A | -| `input_tokens_details` | [models.InputTokensDetails](../models/inputtokensdetails.md) | :heavy_check_mark: | N/A | -| `output_tokens` | *float* | :heavy_check_mark: | N/A | -| `output_tokens_details` | [models.OutputTokensDetails](../models/outputtokensdetails.md) | :heavy_check_mark: | N/A | -| `total_tokens` | *float* | :heavy_check_mark: | N/A | -| `cost` | *OptionalNullable[float]* | :heavy_minus_sign: | Cost of the completion | -| `is_byok` | *Optional[bool]* | :heavy_minus_sign: | Whether a request was made using a Bring Your Own Key configuration | -| `cost_details` | [Optional[models.CostDetails]](../models/costdetails.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/openresponseswebsearch20250826tool.md b/docs/models/openresponseswebsearch20250826tool.md deleted file mode 100644 index 0539e8d..0000000 --- a/docs/models/openresponseswebsearch20250826tool.md +++ /dev/null @@ -1,13 +0,0 @@ -# OpenResponsesWebSearch20250826Tool - -Web search tool configuration (2025-08-26 version) - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.OpenResponsesWebSearch20250826ToolType](../models/openresponseswebsearch20250826tooltype.md) | :heavy_check_mark: | N/A | | -| `filters` | [OptionalNullable[models.OpenResponsesWebSearch20250826ToolFilters]](../models/openresponseswebsearch20250826toolfilters.md) | :heavy_minus_sign: | N/A | | -| `search_context_size` | [Optional[models.ResponsesSearchContextSize]](../models/responsessearchcontextsize.md) | :heavy_minus_sign: | Size of the search context for web search tools | medium | -| `user_location` | [OptionalNullable[models.ResponsesWebSearchUserLocation]](../models/responseswebsearchuserlocation.md) | :heavy_minus_sign: | User location information for web search | {
"type": "approximate",
"city": "San Francisco",
"country": "USA",
"region": "California",
"timezone": "America/Los_Angeles"
} | \ No newline at end of file diff --git a/docs/models/outputitemimagegenerationcall.md b/docs/models/outputitemimagegenerationcall.md deleted file mode 100644 index 7834984..0000000 --- a/docs/models/outputitemimagegenerationcall.md +++ /dev/null @@ -1,11 +0,0 @@ -# OutputItemImageGenerationCall - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `type` | [models.OutputItemImageGenerationCallType](../models/outputitemimagegenerationcalltype.md) | :heavy_check_mark: | N/A | | -| `id` | *str* | :heavy_check_mark: | N/A | | -| `result` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `status` | [models.ImageGenerationStatus](../models/imagegenerationstatus.md) | :heavy_check_mark: | N/A | completed | \ No newline at end of file diff --git a/docs/models/outputmessage.md b/docs/models/outputmessage.md deleted file mode 100644 index 7165f2c..0000000 --- a/docs/models/outputmessage.md +++ /dev/null @@ -1,12 +0,0 @@ -# OutputMessage - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | N/A | -| `role` | [models.OutputMessageRole](../models/outputmessagerole.md) | :heavy_check_mark: | N/A | -| `type` | [models.OutputMessageType](../models/outputmessagetype.md) | :heavy_check_mark: | N/A | -| `status` | [Optional[models.OutputMessageStatusUnion]](../models/outputmessagestatusunion.md) | :heavy_minus_sign: | N/A | -| `content` | List[[models.OutputMessageContent](../models/outputmessagecontent.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/outputmessagecontent.md b/docs/models/outputmessagecontent.md deleted file mode 100644 index 8e21e48..0000000 --- a/docs/models/outputmessagecontent.md +++ /dev/null @@ -1,17 +0,0 @@ -# OutputMessageContent - - -## Supported Types - -### `models.ResponseOutputText` - -```python -value: models.ResponseOutputText = /* values here */ -``` - -### `models.OpenAIResponsesRefusalContent` - -```python -value: models.OpenAIResponsesRefusalContent = /* values here */ -``` - diff --git a/docs/models/outputmessagestatusunion.md b/docs/models/outputmessagestatusunion.md deleted file mode 100644 index 791e637..0000000 --- a/docs/models/outputmessagestatusunion.md +++ /dev/null @@ -1,23 +0,0 @@ -# OutputMessageStatusUnion - - -## Supported Types - -### `models.OutputMessageStatusCompleted` - -```python -value: models.OutputMessageStatusCompleted = /* values here */ -``` - -### `models.OutputMessageStatusIncomplete` - -```python -value: models.OutputMessageStatusIncomplete = /* values here */ -``` - -### `models.OutputMessageStatusInProgress` - -```python -value: models.OutputMessageStatusInProgress = /* values here */ -``` - diff --git a/docs/models/part1.md b/docs/models/part1.md deleted file mode 100644 index 616ad1c..0000000 --- a/docs/models/part1.md +++ /dev/null @@ -1,23 +0,0 @@ -# Part1 - - -## Supported Types - -### `models.ResponseOutputText` - -```python -value: models.ResponseOutputText = /* values here */ -``` - -### `models.ReasoningTextContent` - -```python -value: models.ReasoningTextContent = /* values here */ -``` - -### `models.OpenAIResponsesRefusalContent` - -```python -value: models.OpenAIResponsesRefusalContent = /* values here */ -``` - diff --git a/docs/models/part2.md b/docs/models/part2.md deleted file mode 100644 index 837b1c4..0000000 --- a/docs/models/part2.md +++ /dev/null @@ -1,23 +0,0 @@ -# Part2 - - -## Supported Types - -### `models.ResponseOutputText` - -```python -value: models.ResponseOutputText = /* values here */ -``` - -### `models.ReasoningTextContent` - -```python -value: models.ReasoningTextContent = /* values here */ -``` - -### `models.OpenAIResponsesRefusalContent` - -```python -value: models.OpenAIResponsesRefusalContent = /* values here */ -``` - diff --git a/docs/models/pdf.md b/docs/models/pdf.md deleted file mode 100644 index aa1a388..0000000 --- a/docs/models/pdf.md +++ /dev/null @@ -1,8 +0,0 @@ -# Pdf - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `engine` | [Optional[models.PdfEngine]](../models/pdfengine.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/plugin.md b/docs/models/plugin.md deleted file mode 100644 index 722ad28..0000000 --- a/docs/models/plugin.md +++ /dev/null @@ -1,23 +0,0 @@ -# Plugin - - -## Supported Types - -### `models.PluginModeration` - -```python -value: models.PluginModeration = /* values here */ -``` - -### `models.PluginWeb` - -```python -value: models.PluginWeb = /* values here */ -``` - -### `models.PluginFileParser` - -```python -value: models.PluginFileParser = /* values here */ -``` - diff --git a/docs/models/publicendpoint.md b/docs/models/publicendpoint.md deleted file mode 100644 index 429351f..0000000 --- a/docs/models/publicendpoint.md +++ /dev/null @@ -1,22 +0,0 @@ -# PublicEndpoint - -Information about a specific model endpoint - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `name` | *str* | :heavy_check_mark: | N/A | | -| `model_name` | *str* | :heavy_check_mark: | N/A | | -| `context_length` | *float* | :heavy_check_mark: | N/A | | -| `pricing` | [models.Pricing](../models/pricing.md) | :heavy_check_mark: | N/A | | -| `provider_name` | [models.ProviderName](../models/providername.md) | :heavy_check_mark: | N/A | OpenAI | -| `tag` | *str* | :heavy_check_mark: | N/A | | -| `quantization` | [Nullable[models.PublicEndpointQuantization]](../models/publicendpointquantization.md) | :heavy_check_mark: | N/A | fp16 | -| `max_completion_tokens` | *Nullable[float]* | :heavy_check_mark: | N/A | | -| `max_prompt_tokens` | *Nullable[float]* | :heavy_check_mark: | N/A | | -| `supported_parameters` | List[[models.Parameter](../models/parameter.md)] | :heavy_check_mark: | N/A | | -| `status` | [Optional[models.EndpointStatus]](../models/endpointstatus.md) | :heavy_minus_sign: | N/A | 0 | -| `uptime_last_30m` | *Nullable[float]* | :heavy_check_mark: | N/A | | -| `supports_implicit_caching` | *bool* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/reasoningsummarytext.md b/docs/models/reasoningsummarytext.md deleted file mode 100644 index 3b30934..0000000 --- a/docs/models/reasoningsummarytext.md +++ /dev/null @@ -1,9 +0,0 @@ -# ReasoningSummaryText - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `type` | [models.ReasoningSummaryTextType](../models/reasoningsummarytexttype.md) | :heavy_check_mark: | N/A | -| `text` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/reasoningtextcontent.md b/docs/models/reasoningtextcontent.md deleted file mode 100644 index 686344f..0000000 --- a/docs/models/reasoningtextcontent.md +++ /dev/null @@ -1,9 +0,0 @@ -# ReasoningTextContent - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `type` | [models.ReasoningTextContentType](../models/reasoningtextcontenttype.md) | :heavy_check_mark: | N/A | -| `text` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responseformattextconfig.md b/docs/models/responseformattextconfig.md deleted file mode 100644 index 0d91504..0000000 --- a/docs/models/responseformattextconfig.md +++ /dev/null @@ -1,25 +0,0 @@ -# ResponseFormatTextConfig - -Text response format configuration - - -## Supported Types - -### `models.ResponsesFormatText` - -```python -value: models.ResponsesFormatText = /* values here */ -``` - -### `models.ResponsesFormatJSONObject` - -```python -value: models.ResponsesFormatJSONObject = /* values here */ -``` - -### `models.ResponsesFormatTextJSONSchemaConfig` - -```python -value: models.ResponsesFormatTextJSONSchemaConfig = /* values here */ -``` - diff --git a/docs/models/responseinputaudioinputaudio.md b/docs/models/responseinputaudioinputaudio.md deleted file mode 100644 index 7b573e1..0000000 --- a/docs/models/responseinputaudioinputaudio.md +++ /dev/null @@ -1,9 +0,0 @@ -# ResponseInputAudioInputAudio - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `data` | *str* | :heavy_check_mark: | N/A | -| `format_` | [models.ResponseInputAudioFormat](../models/responseinputaudioformat.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responseinputfile.md b/docs/models/responseinputfile.md deleted file mode 100644 index 0a41cd5..0000000 --- a/docs/models/responseinputfile.md +++ /dev/null @@ -1,14 +0,0 @@ -# ResponseInputFile - -File input content item - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `type` | [models.ResponseInputFileType](../models/responseinputfiletype.md) | :heavy_check_mark: | N/A | -| `file_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `file_data` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `filename` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `file_url` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responseserrorfield.md b/docs/models/responseserrorfield.md deleted file mode 100644 index 92e368d..0000000 --- a/docs/models/responseserrorfield.md +++ /dev/null @@ -1,11 +0,0 @@ -# ResponsesErrorField - -Error information returned from the API - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `code` | [models.CodeEnum](../models/codeenum.md) | :heavy_check_mark: | N/A | -| `message` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responsesformatjsonobject.md b/docs/models/responsesformatjsonobject.md deleted file mode 100644 index 4e0f35c..0000000 --- a/docs/models/responsesformatjsonobject.md +++ /dev/null @@ -1,10 +0,0 @@ -# ResponsesFormatJSONObject - -JSON object response format - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `type` | [models.ResponsesFormatJSONObjectType](../models/responsesformatjsonobjecttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responsesformattext.md b/docs/models/responsesformattext.md deleted file mode 100644 index f47ccfc..0000000 --- a/docs/models/responsesformattext.md +++ /dev/null @@ -1,10 +0,0 @@ -# ResponsesFormatText - -Plain text response format - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `type` | [models.ResponsesFormatTextType](../models/responsesformattexttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responsesimagegenerationcall.md b/docs/models/responsesimagegenerationcall.md deleted file mode 100644 index f095958..0000000 --- a/docs/models/responsesimagegenerationcall.md +++ /dev/null @@ -1,11 +0,0 @@ -# ResponsesImageGenerationCall - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `type` | [models.ResponsesImageGenerationCallType](../models/responsesimagegenerationcalltype.md) | :heavy_check_mark: | N/A | | -| `id` | *str* | :heavy_check_mark: | N/A | | -| `result` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `status` | [models.ImageGenerationStatus](../models/imagegenerationstatus.md) | :heavy_check_mark: | N/A | completed | \ No newline at end of file diff --git a/docs/models/responsesoutputitem.md b/docs/models/responsesoutputitem.md deleted file mode 100644 index eedde5f..0000000 --- a/docs/models/responsesoutputitem.md +++ /dev/null @@ -1,43 +0,0 @@ -# ResponsesOutputItem - -An output item from the response - - -## Supported Types - -### `models.ResponsesOutputMessage` - -```python -value: models.ResponsesOutputMessage = /* values here */ -``` - -### `models.ResponsesOutputItemReasoning` - -```python -value: models.ResponsesOutputItemReasoning = /* values here */ -``` - -### `models.ResponsesOutputItemFunctionCall` - -```python -value: models.ResponsesOutputItemFunctionCall = /* values here */ -``` - -### `models.ResponsesWebSearchCallOutput` - -```python -value: models.ResponsesWebSearchCallOutput = /* values here */ -``` - -### `models.ResponsesOutputItemFileSearchCall` - -```python -value: models.ResponsesOutputItemFileSearchCall = /* values here */ -``` - -### `models.ResponsesImageGenerationCall` - -```python -value: models.ResponsesImageGenerationCall = /* values here */ -``` - diff --git a/docs/models/responsesoutputitemfunctioncall.md b/docs/models/responsesoutputitemfunctioncall.md deleted file mode 100644 index 34bede6..0000000 --- a/docs/models/responsesoutputitemfunctioncall.md +++ /dev/null @@ -1,13 +0,0 @@ -# ResponsesOutputItemFunctionCall - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.ResponsesOutputItemFunctionCallType](../models/responsesoutputitemfunctioncalltype.md) | :heavy_check_mark: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `arguments` | *str* | :heavy_check_mark: | N/A | -| `call_id` | *str* | :heavy_check_mark: | N/A | -| `status` | [Optional[models.ResponsesOutputItemFunctionCallStatusUnion]](../models/responsesoutputitemfunctioncallstatusunion.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responsesoutputitemfunctioncallstatusunion.md b/docs/models/responsesoutputitemfunctioncallstatusunion.md deleted file mode 100644 index 1aca085..0000000 --- a/docs/models/responsesoutputitemfunctioncallstatusunion.md +++ /dev/null @@ -1,23 +0,0 @@ -# ResponsesOutputItemFunctionCallStatusUnion - - -## Supported Types - -### `models.ResponsesOutputItemFunctionCallStatusCompleted` - -```python -value: models.ResponsesOutputItemFunctionCallStatusCompleted = /* values here */ -``` - -### `models.ResponsesOutputItemFunctionCallStatusIncomplete` - -```python -value: models.ResponsesOutputItemFunctionCallStatusIncomplete = /* values here */ -``` - -### `models.ResponsesOutputItemFunctionCallStatusInProgress` - -```python -value: models.ResponsesOutputItemFunctionCallStatusInProgress = /* values here */ -``` - diff --git a/docs/models/responsesoutputitemreasoning.md b/docs/models/responsesoutputitemreasoning.md deleted file mode 100644 index 6d9afa9..0000000 --- a/docs/models/responsesoutputitemreasoning.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponsesOutputItemReasoning - -An output item containing reasoning - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `type` | [models.ResponsesOutputItemReasoningType](../models/responsesoutputitemreasoningtype.md) | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `content` | List[[models.ReasoningTextContent](../models/reasoningtextcontent.md)] | :heavy_minus_sign: | N/A | -| `summary` | List[[models.ReasoningSummaryText](../models/reasoningsummarytext.md)] | :heavy_check_mark: | N/A | -| `encrypted_content` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[models.ResponsesOutputItemReasoningStatusUnion]](../models/responsesoutputitemreasoningstatusunion.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responsesoutputitemreasoningstatusunion.md b/docs/models/responsesoutputitemreasoningstatusunion.md deleted file mode 100644 index 960864d..0000000 --- a/docs/models/responsesoutputitemreasoningstatusunion.md +++ /dev/null @@ -1,23 +0,0 @@ -# ResponsesOutputItemReasoningStatusUnion - - -## Supported Types - -### `models.ResponsesOutputItemReasoningStatusCompleted` - -```python -value: models.ResponsesOutputItemReasoningStatusCompleted = /* values here */ -``` - -### `models.ResponsesOutputItemReasoningStatusIncomplete` - -```python -value: models.ResponsesOutputItemReasoningStatusIncomplete = /* values here */ -``` - -### `models.ResponsesOutputItemReasoningStatusInProgress` - -```python -value: models.ResponsesOutputItemReasoningStatusInProgress = /* values here */ -``` - diff --git a/docs/models/responsesoutputmessagecontent.md b/docs/models/responsesoutputmessagecontent.md deleted file mode 100644 index a02f684..0000000 --- a/docs/models/responsesoutputmessagecontent.md +++ /dev/null @@ -1,17 +0,0 @@ -# ResponsesOutputMessageContent - - -## Supported Types - -### `models.ResponseOutputText` - -```python -value: models.ResponseOutputText = /* values here */ -``` - -### `models.OpenAIResponsesRefusalContent` - -```python -value: models.OpenAIResponsesRefusalContent = /* values here */ -``` - diff --git a/docs/models/responsesoutputmessagestatusunion.md b/docs/models/responsesoutputmessagestatusunion.md deleted file mode 100644 index 44f0690..0000000 --- a/docs/models/responsesoutputmessagestatusunion.md +++ /dev/null @@ -1,23 +0,0 @@ -# ResponsesOutputMessageStatusUnion - - -## Supported Types - -### `models.ResponsesOutputMessageStatusCompleted` - -```python -value: models.ResponsesOutputMessageStatusCompleted = /* values here */ -``` - -### `models.ResponsesOutputMessageStatusIncomplete` - -```python -value: models.ResponsesOutputMessageStatusIncomplete = /* values here */ -``` - -### `models.ResponsesOutputMessageStatusInProgress` - -```python -value: models.ResponsesOutputMessageStatusInProgress = /* values here */ -``` - diff --git a/docs/models/responseswebsearchuserlocation.md b/docs/models/responseswebsearchuserlocation.md deleted file mode 100644 index f0915c5..0000000 --- a/docs/models/responseswebsearchuserlocation.md +++ /dev/null @@ -1,14 +0,0 @@ -# ResponsesWebSearchUserLocation - -User location information for web search - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `type` | [Optional[models.ResponsesWebSearchUserLocationType]](../models/responseswebsearchuserlocationtype.md) | :heavy_minus_sign: | N/A | -| `city` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `country` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `region` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `timezone` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sendchatcompletionrequestresponse.md b/docs/models/sendchatcompletionrequestresponse.md deleted file mode 100644 index 1af1839..0000000 --- a/docs/models/sendchatcompletionrequestresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SendChatCompletionRequestResponse - - -## Supported Types - -### `models.ChatResponse` - -```python -value: models.ChatResponse = /* values here */ -``` - -### `Union[eventstreaming.EventStream[models.ChatStreamingResponseChunkData], eventstreaming.EventStreamAsync[models.ChatStreamingResponseChunkData]]` - -```python -value: Union[eventstreaming.EventStream[models.ChatStreamingResponseChunkData], eventstreaming.EventStreamAsync[models.ChatStreamingResponseChunkData]] = /* values here */ -``` - diff --git a/docs/models/systemmessagecontent.md b/docs/models/systemmessagecontent.md deleted file mode 100644 index 8993660..0000000 --- a/docs/models/systemmessagecontent.md +++ /dev/null @@ -1,17 +0,0 @@ -# SystemMessageContent - - -## Supported Types - -### `str` - -```python -value: str = /* values here */ -``` - -### `List[models.ChatMessageContentItemText]` - -```python -value: List[models.ChatMessageContentItemText] = /* values here */ -``` - diff --git a/docs/models/tooldefinitionjson.md b/docs/models/tooldefinitionjson.md deleted file mode 100644 index efa9fd0..0000000 --- a/docs/models/tooldefinitionjson.md +++ /dev/null @@ -1,9 +0,0 @@ -# ToolDefinitionJSON - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `type` | *Literal["function"]* | :heavy_check_mark: | N/A | -| `function` | [models.ToolDefinitionJSONFunction](../models/tooldefinitionjsonfunction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/toolresponsemessage.md b/docs/models/toolresponsemessage.md deleted file mode 100644 index 9ff5454..0000000 --- a/docs/models/toolresponsemessage.md +++ /dev/null @@ -1,10 +0,0 @@ -# ToolResponseMessage - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `role` | *Literal["tool"]* | :heavy_check_mark: | N/A | -| `content` | [models.ToolResponseMessageContent](../models/toolresponsemessagecontent.md) | :heavy_check_mark: | N/A | -| `tool_call_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/transferintent.md b/docs/models/transferintent.md deleted file mode 100644 index c86f0f6..0000000 --- a/docs/models/transferintent.md +++ /dev/null @@ -1,9 +0,0 @@ -# TransferIntent - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `call_data` | [models.CallData](../models/calldata.md) | :heavy_check_mark: | N/A | -| `metadata` | [models.Metadata](../models/metadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/type.md b/docs/models/type.md deleted file mode 100644 index a4acdd9..0000000 --- a/docs/models/type.md +++ /dev/null @@ -1,17 +0,0 @@ -# Type - - -## Supported Types - -### `models.OpenAIResponsesToolChoiceTypeWebSearchPreview20250311` - -```python -value: models.OpenAIResponsesToolChoiceTypeWebSearchPreview20250311 = /* values here */ -``` - -### `models.OpenAIResponsesToolChoiceTypeWebSearchPreview` - -```python -value: models.OpenAIResponsesToolChoiceTypeWebSearchPreview = /* values here */ -``` - diff --git a/docs/models/urlcitation.md b/docs/models/urlcitation.md deleted file mode 100644 index 59cdcf6..0000000 --- a/docs/models/urlcitation.md +++ /dev/null @@ -1,12 +0,0 @@ -# URLCitation - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `type` | [models.URLCitationType](../models/urlcitationtype.md) | :heavy_check_mark: | N/A | -| `url` | *str* | :heavy_check_mark: | N/A | -| `title` | *str* | :heavy_check_mark: | N/A | -| `start_index` | *float* | :heavy_check_mark: | N/A | -| `end_index` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/variables.md b/docs/models/variables.md deleted file mode 100644 index 1682dbd..0000000 --- a/docs/models/variables.md +++ /dev/null @@ -1,29 +0,0 @@ -# Variables - - -## Supported Types - -### `str` - -```python -value: str = /* values here */ -``` - -### `models.ResponseInputText` - -```python -value: models.ResponseInputText = /* values here */ -``` - -### `models.ResponseInputImage` - -```python -value: models.ResponseInputImage = /* values here */ -``` - -### `models.ResponseInputFile` - -```python -value: models.ResponseInputFile = /* values here */ -``` - diff --git a/docs/models/web3data.md b/docs/models/web3data.md deleted file mode 100644 index f74dee3..0000000 --- a/docs/models/web3data.md +++ /dev/null @@ -1,8 +0,0 @@ -# Web3Data - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `transfer_intent` | [models.TransferIntent](../models/transferintent.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/apitype.md b/docs/operations/apitype.md similarity index 100% rename from docs/models/apitype.md rename to docs/operations/apitype.md diff --git a/docs/models/calldata.md b/docs/operations/calldata.md similarity index 100% rename from docs/models/calldata.md rename to docs/operations/calldata.md diff --git a/docs/models/createauthkeyscodecodechallengemethod.md b/docs/operations/createauthkeyscodecodechallengemethod.md similarity index 100% rename from docs/models/createauthkeyscodecodechallengemethod.md rename to docs/operations/createauthkeyscodecodechallengemethod.md diff --git a/docs/models/createauthkeyscodedata.md b/docs/operations/createauthkeyscodedata.md similarity index 100% rename from docs/models/createauthkeyscodedata.md rename to docs/operations/createauthkeyscodedata.md diff --git a/docs/operations/createauthkeyscoderequest.md b/docs/operations/createauthkeyscoderequest.md new file mode 100644 index 0000000..39c0650 --- /dev/null +++ b/docs/operations/createauthkeyscoderequest.md @@ -0,0 +1,12 @@ +# CreateAuthKeysCodeRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `callback_url` | *str* | :heavy_check_mark: | The callback URL to redirect to after authorization. Note, only https URLs on ports 443 and 3000 are allowed. | https://myapp.com/auth/callback | +| `code_challenge` | *Optional[str]* | :heavy_minus_sign: | PKCE code challenge for enhanced security | E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM | +| `code_challenge_method` | [Optional[operations.CreateAuthKeysCodeCodeChallengeMethod]](../operations/createauthkeyscodecodechallengemethod.md) | :heavy_minus_sign: | The method used to generate the code challenge | S256 | +| `limit` | *Optional[float]* | :heavy_minus_sign: | Credit limit for the API key to be created | 100 | +| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional expiration time for the API key to be created | | \ No newline at end of file diff --git a/docs/models/createauthkeyscoderesponse.md b/docs/operations/createauthkeyscoderesponse.md similarity index 90% rename from docs/models/createauthkeyscoderesponse.md rename to docs/operations/createauthkeyscoderesponse.md index 6b56890..acad71c 100644 --- a/docs/models/createauthkeyscoderesponse.md +++ b/docs/operations/createauthkeyscoderesponse.md @@ -7,4 +7,4 @@ Successfully created authorization code | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `data` | [models.CreateAuthKeysCodeData](../models/createauthkeyscodedata.md) | :heavy_check_mark: | Auth code data | {
"id": "auth_code_xyz789",
"app_id": 12345,
"created_at": "2025-08-24T10:30:00Z"
} | \ No newline at end of file +| `data` | [operations.CreateAuthKeysCodeData](../operations/createauthkeyscodedata.md) | :heavy_check_mark: | Auth code data | {
"id": "auth_code_xyz789",
"app_id": 12345,
"created_at": "2025-08-24T10:30:00Z"
} | \ No newline at end of file diff --git a/docs/models/filepath.md b/docs/operations/createcoinbasechargedata.md similarity index 61% rename from docs/models/filepath.md rename to docs/operations/createcoinbasechargedata.md index c237eac..9363cdf 100644 --- a/docs/models/filepath.md +++ b/docs/operations/createcoinbasechargedata.md @@ -1,10 +1,11 @@ -# FilePath +# CreateCoinbaseChargeData ## Fields | Field | Type | Required | Description | | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `type` | [models.FilePathType](../models/filepathtype.md) | :heavy_check_mark: | N/A | -| `file_id` | *str* | :heavy_check_mark: | N/A | -| `index` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | N/A | +| `created_at` | *str* | :heavy_check_mark: | N/A | +| `expires_at` | *str* | :heavy_check_mark: | N/A | +| `web3_data` | [operations.Web3Data](../operations/web3data.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/operations/createcoinbasechargeresponse.md b/docs/operations/createcoinbasechargeresponse.md new file mode 100644 index 0000000..d9d4bd9 --- /dev/null +++ b/docs/operations/createcoinbasechargeresponse.md @@ -0,0 +1,10 @@ +# CreateCoinbaseChargeResponse + +Returns the calldata to fulfill the transaction + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `data` | [operations.CreateCoinbaseChargeData](../operations/createcoinbasechargedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createcoinbasechargesecurity.md b/docs/operations/createcoinbasechargesecurity.md similarity index 100% rename from docs/models/createcoinbasechargesecurity.md rename to docs/operations/createcoinbasechargesecurity.md diff --git a/docs/operations/createembeddingsdata.md b/docs/operations/createembeddingsdata.md new file mode 100644 index 0000000..297dc69 --- /dev/null +++ b/docs/operations/createembeddingsdata.md @@ -0,0 +1,10 @@ +# CreateEmbeddingsData + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `object` | [operations.ObjectEmbedding](../operations/objectembedding.md) | :heavy_check_mark: | N/A | +| `embedding` | [operations.Embedding](../operations/embedding.md) | :heavy_check_mark: | N/A | +| `index` | *Optional[float]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createembeddingsprovider.md b/docs/operations/createembeddingsprovider.md similarity index 95% rename from docs/models/createembeddingsprovider.md rename to docs/operations/createembeddingsprovider.md index 0491b6a..1e4c2cd 100644 --- a/docs/models/createembeddingsprovider.md +++ b/docs/operations/createembeddingsprovider.md @@ -7,12 +7,12 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `allow_fallbacks` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to allow backup providers to serve requests
- true: (default) when the primary provider (or your custom providers in "order") is unavailable, use the next best provider.
- false: use only the primary/custom provider, and return the upstream error if it's unavailable.
| | | `require_parameters` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to filter providers to only those that support the parameters you've provided. If this setting is omitted or set to false, then providers will receive only the parameters they support, and ignore the rest. | | -| `data_collection` | [OptionalNullable[models.CreateEmbeddingsDataCollection]](../models/createembeddingsdatacollection.md) | :heavy_minus_sign: | Data collection setting. If no available model provider meets the requirement, your request will return an error.
- allow: (default) allow providers which store user data non-transiently and may train on it
- deny: use only providers which do not collect user data.
| deny | +| `data_collection` | [OptionalNullable[operations.DataCollection]](../operations/datacollection.md) | :heavy_minus_sign: | Data collection setting. If no available model provider meets the requirement, your request will return an error.
- allow: (default) allow providers which store user data non-transiently and may train on it
- deny: use only providers which do not collect user data.
| deny | | `zdr` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used. | true | | `enforce_distillable_text` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to restrict routing to only models that allow text distillation. When true, only models where the author has allowed distillation will be used. | true | -| `order` | List[[models.CreateEmbeddingsOrder](../models/createembeddingsorder.md)] | :heavy_minus_sign: | An ordered list of provider slugs. The router will attempt to use the first provider in the subset of this list that supports your requested model, and fall back to the next if it is unavailable. If no providers are available, the request will fail with an error message. | | -| `only` | List[[models.CreateEmbeddingsOnly](../models/createembeddingsonly.md)] | :heavy_minus_sign: | List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request. | | -| `ignore` | List[[models.CreateEmbeddingsIgnore](../models/createembeddingsignore.md)] | :heavy_minus_sign: | List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request. | | -| `quantizations` | List[[models.Quantization](../models/quantization.md)] | :heavy_minus_sign: | A list of quantization levels to filter the provider by. | | -| `sort` | [OptionalNullable[models.CreateEmbeddingsSort]](../models/createembeddingssort.md) | :heavy_minus_sign: | The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed. | price | -| `max_price` | [Optional[models.CreateEmbeddingsMaxPrice]](../models/createembeddingsmaxprice.md) | :heavy_minus_sign: | The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion. | | \ No newline at end of file +| `order` | List[[operations.Order](../operations/order.md)] | :heavy_minus_sign: | An ordered list of provider slugs. The router will attempt to use the first provider in the subset of this list that supports your requested model, and fall back to the next if it is unavailable. If no providers are available, the request will fail with an error message. | | +| `only` | List[[operations.Only](../operations/only.md)] | :heavy_minus_sign: | List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request. | | +| `ignore` | List[[operations.Ignore](../operations/ignore.md)] | :heavy_minus_sign: | List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request. | | +| `quantizations` | List[[components.Quantization](../components/quantization.md)] | :heavy_minus_sign: | A list of quantization levels to filter the provider by. | | +| `sort` | [OptionalNullable[operations.Sort]](../operations/sort.md) | :heavy_minus_sign: | The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed. | price | +| `max_price` | [Optional[operations.MaxPrice]](../operations/maxprice.md) | :heavy_minus_sign: | The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion. | | \ No newline at end of file diff --git a/docs/models/chatresponsechoice.md b/docs/operations/createembeddingsrequest.md similarity index 56% rename from docs/models/chatresponsechoice.md rename to docs/operations/createembeddingsrequest.md index cb6932b..fc76ee5 100644 --- a/docs/models/chatresponsechoice.md +++ b/docs/operations/createembeddingsrequest.md @@ -1,11 +1,12 @@ -# ChatResponseChoice +# CreateEmbeddingsRequest ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `finish_reason` | [Nullable[models.ChatCompletionFinishReason]](../models/chatcompletionfinishreason.md) | :heavy_check_mark: | N/A | -| `index` | *float* | :heavy_check_mark: | N/A | -| `message` | [models.AssistantMessage](../models/assistantmessage.md) | :heavy_check_mark: | N/A | -| `logprobs` | [OptionalNullable[models.ChatMessageTokenLogprobs]](../models/chatmessagetokenlogprobs.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `input` | [operations.Input](../operations/input.md) | :heavy_check_mark: | N/A | +| `model` | *str* | :heavy_check_mark: | N/A | +| `provider` | [Optional[operations.CreateEmbeddingsProvider]](../operations/createembeddingsprovider.md) | :heavy_minus_sign: | N/A | +| `encoding_format` | [Optional[operations.EncodingFormat]](../operations/encodingformat.md) | :heavy_minus_sign: | N/A | +| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createembeddingsresponse.md b/docs/operations/createembeddingsresponse.md similarity index 51% rename from docs/models/createembeddingsresponse.md rename to docs/operations/createembeddingsresponse.md index 0cfb1ef..4c379be 100644 --- a/docs/models/createembeddingsresponse.md +++ b/docs/operations/createembeddingsresponse.md @@ -3,10 +3,10 @@ ## Supported Types -### `models.CreateEmbeddingsResponseBody` +### `operations.CreateEmbeddingsResponseBody` ```python -value: models.CreateEmbeddingsResponseBody = /* values here */ +value: operations.CreateEmbeddingsResponseBody = /* values here */ ``` ### `str` diff --git a/docs/models/openresponseserrorevent.md b/docs/operations/createembeddingsresponsebody.md similarity index 64% rename from docs/models/openresponseserrorevent.md rename to docs/operations/createembeddingsresponsebody.md index f827546..2252cfd 100644 --- a/docs/models/openresponseserrorevent.md +++ b/docs/operations/createembeddingsresponsebody.md @@ -1,14 +1,14 @@ -# OpenResponsesErrorEvent +# CreateEmbeddingsResponseBody -Event emitted when an error occurs during streaming +Embedding response ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `type` | [models.OpenResponsesErrorEventType](../models/openresponseserroreventtype.md) | :heavy_check_mark: | N/A | -| `code` | *Nullable[str]* | :heavy_check_mark: | N/A | -| `message` | *str* | :heavy_check_mark: | N/A | -| `param` | *Nullable[str]* | :heavy_check_mark: | N/A | -| `sequence_number` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `object` | [operations.Object](../operations/object.md) | :heavy_check_mark: | N/A | +| `data` | List[[operations.CreateEmbeddingsData](../operations/createembeddingsdata.md)] | :heavy_check_mark: | N/A | +| `model` | *str* | :heavy_check_mark: | N/A | +| `usage` | [Optional[operations.Usage]](../operations/usage.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createkeysdata.md b/docs/operations/createkeysdata.md similarity index 100% rename from docs/models/createkeysdata.md rename to docs/operations/createkeysdata.md diff --git a/docs/models/createkeyslimitreset.md b/docs/operations/createkeyslimitreset.md similarity index 100% rename from docs/models/createkeyslimitreset.md rename to docs/operations/createkeyslimitreset.md diff --git a/docs/models/createkeysrequest.md b/docs/operations/createkeysrequest.md similarity index 96% rename from docs/models/createkeysrequest.md rename to docs/operations/createkeysrequest.md index bd3d811..ed15c9c 100644 --- a/docs/models/createkeysrequest.md +++ b/docs/operations/createkeysrequest.md @@ -7,6 +7,6 @@ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `name` | *str* | :heavy_check_mark: | Name for the new API key | My New API Key | | `limit` | *OptionalNullable[float]* | :heavy_minus_sign: | Optional spending limit for the API key in USD | 50 | -| `limit_reset` | [OptionalNullable[models.CreateKeysLimitReset]](../models/createkeyslimitreset.md) | :heavy_minus_sign: | Type of limit reset for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | monthly | +| `limit_reset` | [OptionalNullable[operations.CreateKeysLimitReset]](../operations/createkeyslimitreset.md) | :heavy_minus_sign: | Type of limit reset for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | monthly | | `include_byok_in_limit` | *Optional[bool]* | :heavy_minus_sign: | Whether to include BYOK usage in the limit | true | | `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional ISO 8601 UTC timestamp when the API key should expire. Must be UTC, other timezones will be rejected | 2027-12-31T23:59:59Z | \ No newline at end of file diff --git a/docs/models/createkeysresponse.md b/docs/operations/createkeysresponse.md similarity index 98% rename from docs/models/createkeysresponse.md rename to docs/operations/createkeysresponse.md index 376a9b8..92fa4a0 100644 --- a/docs/models/createkeysresponse.md +++ b/docs/operations/createkeysresponse.md @@ -7,5 +7,5 @@ API key created successfully | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | [models.CreateKeysData](../models/createkeysdata.md) | :heavy_check_mark: | The created API key information | {
"hash": "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",
"name": "My Production Key",
"label": "Production API Key",
"disabled": false,
"limit": 100,
"limit_remaining": 74.5,
"limit_reset": "monthly",
"include_byok_in_limit": false,
"usage": 25.5,
"usage_daily": 25.5,
"usage_weekly": 25.5,
"usage_monthly": 25.5,
"byok_usage": 17.38,
"byok_usage_daily": 17.38,
"byok_usage_weekly": 17.38,
"byok_usage_monthly": 17.38,
"created_at": "2025-08-24T10:30:00Z",
"updated_at": "2025-08-24T15:45:00Z",
"expires_at": "2027-12-31T23:59:59Z"
} | +| `data` | [operations.CreateKeysData](../operations/createkeysdata.md) | :heavy_check_mark: | The created API key information | {
"hash": "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",
"name": "My Production Key",
"label": "Production API Key",
"disabled": false,
"limit": 100,
"limit_remaining": 74.5,
"limit_reset": "monthly",
"include_byok_in_limit": false,
"usage": 25.5,
"usage_daily": 25.5,
"usage_weekly": 25.5,
"usage_monthly": 25.5,
"byok_usage": 17.38,
"byok_usage_daily": 17.38,
"byok_usage_weekly": 17.38,
"byok_usage_monthly": 17.38,
"created_at": "2025-08-24T10:30:00Z",
"updated_at": "2025-08-24T15:45:00Z",
"expires_at": "2027-12-31T23:59:59Z"
} | | `key` | *str* | :heavy_check_mark: | The actual API key string (only shown once) | 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 | \ No newline at end of file diff --git a/docs/operations/createresponsesresponse.md b/docs/operations/createresponsesresponse.md new file mode 100644 index 0000000..849c938 --- /dev/null +++ b/docs/operations/createresponsesresponse.md @@ -0,0 +1,17 @@ +# CreateResponsesResponse + + +## Supported Types + +### `components.OpenResponsesNonStreamingResponse` + +```python +value: components.OpenResponsesNonStreamingResponse = /* values here */ +``` + +### `Union[eventstreaming.EventStream[components.OpenResponsesStreamEvent], eventstreaming.EventStreamAsync[components.OpenResponsesStreamEvent]]` + +```python +value: Union[eventstreaming.EventStream[components.OpenResponsesStreamEvent], eventstreaming.EventStreamAsync[components.OpenResponsesStreamEvent]] = /* values here */ +``` + diff --git a/docs/models/createresponsesresponsebody.md b/docs/operations/createresponsesresponsebody.md similarity index 97% rename from docs/models/createresponsesresponsebody.md rename to docs/operations/createresponsesresponsebody.md index 407e563..046baea 100644 --- a/docs/models/createresponsesresponsebody.md +++ b/docs/operations/createresponsesresponsebody.md @@ -7,4 +7,4 @@ Successful response | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | [models.OpenResponsesStreamEvent](../models/openresponsesstreamevent.md) | :heavy_check_mark: | Union of all possible event types emitted during response streaming | {
"type": "response.created",
"response": {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "in_progress",
"output": [],
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"metadata": null,
"instructions": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null
},
"sequence_number": 0
} | \ No newline at end of file +| `data` | [components.OpenResponsesStreamEvent](../components/openresponsesstreamevent.md) | :heavy_check_mark: | Union of all possible event types emitted during response streaming | {
"type": "response.created",
"response": {
"id": "resp-abc123",
"object": "response",
"created_at": 1704067200,
"model": "gpt-4",
"status": "in_progress",
"output": [],
"tools": [],
"tool_choice": "auto",
"parallel_tool_calls": true,
"error": null,
"incomplete_details": null,
"metadata": null,
"instructions": null,
"temperature": null,
"top_p": null,
"max_output_tokens": null
},
"sequence_number": 0
} | \ No newline at end of file diff --git a/docs/models/createembeddingsdatacollection.md b/docs/operations/datacollection.md similarity index 91% rename from docs/models/createembeddingsdatacollection.md rename to docs/operations/datacollection.md index ab20171..bb07fc4 100644 --- a/docs/models/createembeddingsdatacollection.md +++ b/docs/operations/datacollection.md @@ -1,4 +1,4 @@ -# CreateEmbeddingsDataCollection +# DataCollection Data collection setting. If no available model provider meets the requirement, your request will return an error. - allow: (default) allow providers which store user data non-transiently and may train on it diff --git a/docs/models/deletekeysrequest.md b/docs/operations/deletekeysrequest.md similarity index 100% rename from docs/models/deletekeysrequest.md rename to docs/operations/deletekeysrequest.md diff --git a/docs/models/deletekeysresponse.md b/docs/operations/deletekeysresponse.md similarity index 100% rename from docs/models/deletekeysresponse.md rename to docs/operations/deletekeysresponse.md diff --git a/docs/models/embedding.md b/docs/operations/embedding.md similarity index 100% rename from docs/models/embedding.md rename to docs/operations/embedding.md diff --git a/docs/operations/encodingformat.md b/docs/operations/encodingformat.md new file mode 100644 index 0000000..ba6a041 --- /dev/null +++ b/docs/operations/encodingformat.md @@ -0,0 +1,17 @@ +# EncodingFormat + + +## Supported Types + +### `operations.EncodingFormatFloat` + +```python +value: operations.EncodingFormatFloat = /* values here */ +``` + +### `operations.EncodingFormatBase64` + +```python +value: operations.EncodingFormatBase64 = /* values here */ +``` + diff --git a/docs/models/encodingformatbase64.md b/docs/operations/encodingformatbase64.md similarity index 100% rename from docs/models/encodingformatbase64.md rename to docs/operations/encodingformatbase64.md diff --git a/docs/models/encodingformatfloat.md b/docs/operations/encodingformatfloat.md similarity index 100% rename from docs/models/encodingformatfloat.md rename to docs/operations/encodingformatfloat.md diff --git a/docs/models/exchangeauthcodeforapikeycodechallengemethod.md b/docs/operations/exchangeauthcodeforapikeycodechallengemethod.md similarity index 100% rename from docs/models/exchangeauthcodeforapikeycodechallengemethod.md rename to docs/operations/exchangeauthcodeforapikeycodechallengemethod.md diff --git a/docs/operations/exchangeauthcodeforapikeyrequest.md b/docs/operations/exchangeauthcodeforapikeyrequest.md new file mode 100644 index 0000000..ccb69d2 --- /dev/null +++ b/docs/operations/exchangeauthcodeforapikeyrequest.md @@ -0,0 +1,10 @@ +# ExchangeAuthCodeForAPIKeyRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `code` | *str* | :heavy_check_mark: | The authorization code received from the OAuth redirect | auth_code_abc123def456 | +| `code_verifier` | *Optional[str]* | :heavy_minus_sign: | The code verifier if code_challenge was used in the authorization request | dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk | +| `code_challenge_method` | [OptionalNullable[operations.ExchangeAuthCodeForAPIKeyCodeChallengeMethod]](../operations/exchangeauthcodeforapikeycodechallengemethod.md) | :heavy_minus_sign: | The method used to generate the code challenge | S256 | \ No newline at end of file diff --git a/docs/models/exchangeauthcodeforapikeyresponse.md b/docs/operations/exchangeauthcodeforapikeyresponse.md similarity index 100% rename from docs/models/exchangeauthcodeforapikeyresponse.md rename to docs/operations/exchangeauthcodeforapikeyresponse.md diff --git a/docs/models/getcreditsresponse.md b/docs/operations/getcreditsresponse.md similarity index 100% rename from docs/models/getcreditsresponse.md rename to docs/operations/getcreditsresponse.md diff --git a/docs/models/getcurrentkeydata.md b/docs/operations/getcurrentkeydata.md similarity index 99% rename from docs/models/getcurrentkeydata.md rename to docs/operations/getcurrentkeydata.md index 267c3eb..f5b6b9e 100644 --- a/docs/models/getcurrentkeydata.md +++ b/docs/operations/getcurrentkeydata.md @@ -23,4 +23,4 @@ Current API key information | `limit_reset` | *Nullable[str]* | :heavy_check_mark: | Type of limit reset for the API key | monthly | | `include_byok_in_limit` | *bool* | :heavy_check_mark: | Whether to include external BYOK usage in the credit limit | false | | `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | ISO 8601 UTC timestamp when the API key expires, or null if no expiration | 2027-12-31T23:59:59Z | -| ~~`rate_limit`~~ | [models.RateLimit](../models/ratelimit.md) | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Legacy rate limit information about a key. Will always return -1. | {
"requests": 1000,
"interval": "1h",
"note": "This field is deprecated and safe to ignore."
} | \ No newline at end of file +| ~~`rate_limit`~~ | [operations.RateLimit](../operations/ratelimit.md) | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Legacy rate limit information about a key. Will always return -1. | {
"requests": 1000,
"interval": "1h",
"note": "This field is deprecated and safe to ignore."
} | \ No newline at end of file diff --git a/docs/models/getcurrentkeyresponse.md b/docs/operations/getcurrentkeyresponse.md similarity index 98% rename from docs/models/getcurrentkeyresponse.md rename to docs/operations/getcurrentkeyresponse.md index 1e65392..3711810 100644 --- a/docs/models/getcurrentkeyresponse.md +++ b/docs/operations/getcurrentkeyresponse.md @@ -7,4 +7,4 @@ API key details | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | [models.GetCurrentKeyData](../models/getcurrentkeydata.md) | :heavy_check_mark: | Current API key information | {
"label": "sk-or-v1-au78b3456789012345678901234567890",
"limit": 100,
"usage": 25.5,
"usage_daily": 25.5,
"usage_weekly": 25.5,
"usage_monthly": 25.5,
"byok_usage": 17.38,
"byok_usage_daily": 17.38,
"byok_usage_weekly": 17.38,
"byok_usage_monthly": 17.38,
"is_free_tier": false,
"is_provisioning_key": false,
"limit_remaining": 74.5,
"limit_reset": "monthly",
"include_byok_in_limit": false,
"expires_at": "2027-12-31T23:59:59Z",
"rate_limit": {
"requests": 1000,
"interval": "1h",
"note": "This field is deprecated and safe to ignore."
}
} | \ No newline at end of file +| `data` | [operations.GetCurrentKeyData](../operations/getcurrentkeydata.md) | :heavy_check_mark: | Current API key information | {
"label": "sk-or-v1-au78b3456789012345678901234567890",
"limit": 100,
"usage": 25.5,
"usage_daily": 25.5,
"usage_weekly": 25.5,
"usage_monthly": 25.5,
"byok_usage": 17.38,
"byok_usage_daily": 17.38,
"byok_usage_weekly": 17.38,
"byok_usage_monthly": 17.38,
"is_free_tier": false,
"is_provisioning_key": false,
"limit_remaining": 74.5,
"limit_reset": "monthly",
"include_byok_in_limit": false,
"expires_at": "2027-12-31T23:59:59Z",
"rate_limit": {
"requests": 1000,
"interval": "1h",
"note": "This field is deprecated and safe to ignore."
}
} | \ No newline at end of file diff --git a/docs/operations/getgenerationdata.md b/docs/operations/getgenerationdata.md new file mode 100644 index 0000000..15fdadd --- /dev/null +++ b/docs/operations/getgenerationdata.md @@ -0,0 +1,41 @@ +# GetGenerationData + +Generation data + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | Unique identifier for the generation | gen-3bhGkxlo4XFrqiabUM7NDtwDzWwG | +| `upstream_id` | *Nullable[str]* | :heavy_check_mark: | Upstream provider's identifier for this generation | chatcmpl-791bcf62-080e-4568-87d0-94c72e3b4946 | +| `total_cost` | *float* | :heavy_check_mark: | Total cost of the generation in USD | 0.0015 | +| `cache_discount` | *Nullable[float]* | :heavy_check_mark: | Discount applied due to caching | 0.0002 | +| `upstream_inference_cost` | *Nullable[float]* | :heavy_check_mark: | Cost charged by the upstream provider | 0.0012 | +| `created_at` | *str* | :heavy_check_mark: | ISO 8601 timestamp of when the generation was created | 2024-07-15T23:33:19.433273+00:00 | +| `model` | *str* | :heavy_check_mark: | Model used for the generation | sao10k/l3-stheno-8b | +| `app_id` | *Nullable[float]* | :heavy_check_mark: | ID of the app that made the request | 12345 | +| `streamed` | *Nullable[bool]* | :heavy_check_mark: | Whether the response was streamed | true | +| `cancelled` | *Nullable[bool]* | :heavy_check_mark: | Whether the generation was cancelled | false | +| `provider_name` | *Nullable[str]* | :heavy_check_mark: | Name of the provider that served the request | Infermatic | +| `latency` | *Nullable[float]* | :heavy_check_mark: | Total latency in milliseconds | 1250 | +| `moderation_latency` | *Nullable[float]* | :heavy_check_mark: | Moderation latency in milliseconds | 50 | +| `generation_time` | *Nullable[float]* | :heavy_check_mark: | Time taken for generation in milliseconds | 1200 | +| `finish_reason` | *Nullable[str]* | :heavy_check_mark: | Reason the generation finished | stop | +| `tokens_prompt` | *Nullable[float]* | :heavy_check_mark: | Number of tokens in the prompt | 10 | +| `tokens_completion` | *Nullable[float]* | :heavy_check_mark: | Number of tokens in the completion | 25 | +| `native_tokens_prompt` | *Nullable[float]* | :heavy_check_mark: | Native prompt tokens as reported by provider | 10 | +| `native_tokens_completion` | *Nullable[float]* | :heavy_check_mark: | Native completion tokens as reported by provider | 25 | +| `native_tokens_completion_images` | *Nullable[float]* | :heavy_check_mark: | Native completion image tokens as reported by provider | 0 | +| `native_tokens_reasoning` | *Nullable[float]* | :heavy_check_mark: | Native reasoning tokens as reported by provider | 5 | +| `native_tokens_cached` | *Nullable[float]* | :heavy_check_mark: | Native cached tokens as reported by provider | 3 | +| `num_media_prompt` | *Nullable[float]* | :heavy_check_mark: | Number of media items in the prompt | 1 | +| `num_input_audio_prompt` | *Nullable[float]* | :heavy_check_mark: | Number of audio inputs in the prompt | 0 | +| `num_media_completion` | *Nullable[float]* | :heavy_check_mark: | Number of media items in the completion | 0 | +| `num_search_results` | *Nullable[float]* | :heavy_check_mark: | Number of search results included | 5 | +| `origin` | *str* | :heavy_check_mark: | Origin URL of the request | https://openrouter.ai/ | +| `usage` | *float* | :heavy_check_mark: | Usage amount in USD | 0.0015 | +| `is_byok` | *bool* | :heavy_check_mark: | Whether this used bring-your-own-key | false | +| `native_finish_reason` | *Nullable[str]* | :heavy_check_mark: | Native finish reason as reported by provider | stop | +| `external_user` | *Nullable[str]* | :heavy_check_mark: | External user identifier | user-123 | +| `api_type` | [Nullable[operations.APIType]](../operations/apitype.md) | :heavy_check_mark: | Type of API used for the generation | | \ No newline at end of file diff --git a/docs/models/getgenerationrequest.md b/docs/operations/getgenerationrequest.md similarity index 100% rename from docs/models/getgenerationrequest.md rename to docs/operations/getgenerationrequest.md diff --git a/docs/operations/getgenerationresponse.md b/docs/operations/getgenerationresponse.md new file mode 100644 index 0000000..989c19a --- /dev/null +++ b/docs/operations/getgenerationresponse.md @@ -0,0 +1,10 @@ +# GetGenerationResponse + +Generation response + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `data` | [operations.GetGenerationData](../operations/getgenerationdata.md) | :heavy_check_mark: | Generation data | \ No newline at end of file diff --git a/docs/models/getkeydata.md b/docs/operations/getkeydata.md similarity index 100% rename from docs/models/getkeydata.md rename to docs/operations/getkeydata.md diff --git a/docs/models/getkeyrequest.md b/docs/operations/getkeyrequest.md similarity index 100% rename from docs/models/getkeyrequest.md rename to docs/operations/getkeyrequest.md diff --git a/docs/models/getkeyresponse.md b/docs/operations/getkeyresponse.md similarity index 98% rename from docs/models/getkeyresponse.md rename to docs/operations/getkeyresponse.md index d70de31..7fad4c3 100644 --- a/docs/models/getkeyresponse.md +++ b/docs/operations/getkeyresponse.md @@ -7,4 +7,4 @@ API key details | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | [models.GetKeyData](../models/getkeydata.md) | :heavy_check_mark: | The API key information | {
"hash": "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",
"name": "My Production Key",
"label": "Production API Key",
"disabled": false,
"limit": 100,
"limit_remaining": 74.5,
"limit_reset": "monthly",
"include_byok_in_limit": false,
"usage": 25.5,
"usage_daily": 25.5,
"usage_weekly": 25.5,
"usage_monthly": 25.5,
"byok_usage": 17.38,
"byok_usage_daily": 17.38,
"byok_usage_weekly": 17.38,
"byok_usage_monthly": 17.38,
"created_at": "2025-08-24T10:30:00Z",
"updated_at": "2025-08-24T15:45:00Z",
"expires_at": "2027-12-31T23:59:59Z"
} | \ No newline at end of file +| `data` | [operations.GetKeyData](../operations/getkeydata.md) | :heavy_check_mark: | The API key information | {
"hash": "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",
"name": "My Production Key",
"label": "Production API Key",
"disabled": false,
"limit": 100,
"limit_remaining": 74.5,
"limit_reset": "monthly",
"include_byok_in_limit": false,
"usage": 25.5,
"usage_daily": 25.5,
"usage_weekly": 25.5,
"usage_monthly": 25.5,
"byok_usage": 17.38,
"byok_usage_daily": 17.38,
"byok_usage_weekly": 17.38,
"byok_usage_monthly": 17.38,
"created_at": "2025-08-24T10:30:00Z",
"updated_at": "2025-08-24T15:45:00Z",
"expires_at": "2027-12-31T23:59:59Z"
} | \ No newline at end of file diff --git a/docs/models/getmodelsrequest.md b/docs/operations/getmodelsrequest.md similarity index 100% rename from docs/models/getmodelsrequest.md rename to docs/operations/getmodelsrequest.md diff --git a/docs/operations/getparametersdata.md b/docs/operations/getparametersdata.md new file mode 100644 index 0000000..e3a0c3d --- /dev/null +++ b/docs/operations/getparametersdata.md @@ -0,0 +1,11 @@ +# GetParametersData + +Parameter analytics data + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `model` | *str* | :heavy_check_mark: | Model identifier | openai/gpt-4 | +| `supported_parameters` | List[[operations.SupportedParameter](../operations/supportedparameter.md)] | :heavy_check_mark: | List of parameters supported by this model | [
"temperature",
"top_p",
"max_tokens"
] | \ No newline at end of file diff --git a/docs/models/getparametersprovider.md b/docs/operations/getparametersprovider.md similarity index 100% rename from docs/models/getparametersprovider.md rename to docs/operations/getparametersprovider.md diff --git a/docs/operations/getparametersrequest.md b/docs/operations/getparametersrequest.md new file mode 100644 index 0000000..e7fd937 --- /dev/null +++ b/docs/operations/getparametersrequest.md @@ -0,0 +1,10 @@ +# GetParametersRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `author` | *str* | :heavy_check_mark: | N/A | +| `slug` | *str* | :heavy_check_mark: | N/A | +| `provider` | [Optional[operations.GetParametersProvider]](../operations/getparametersprovider.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getparametersresponse.md b/docs/operations/getparametersresponse.md similarity index 91% rename from docs/models/getparametersresponse.md rename to docs/operations/getparametersresponse.md index a495578..e1faca1 100644 --- a/docs/models/getparametersresponse.md +++ b/docs/operations/getparametersresponse.md @@ -7,4 +7,4 @@ Returns the parameters for the specified model | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `data` | [models.GetParametersData](../models/getparametersdata.md) | :heavy_check_mark: | Parameter analytics data | {
"model": "openai/gpt-4",
"supported_parameters": [
"temperature",
"top_p",
"max_tokens"
]
} | \ No newline at end of file +| `data` | [operations.GetParametersData](../operations/getparametersdata.md) | :heavy_check_mark: | Parameter analytics data | {
"model": "openai/gpt-4",
"supported_parameters": [
"temperature",
"top_p",
"max_tokens"
]
} | \ No newline at end of file diff --git a/docs/models/getparameterssecurity.md b/docs/operations/getparameterssecurity.md similarity index 100% rename from docs/models/getparameterssecurity.md rename to docs/operations/getparameterssecurity.md diff --git a/docs/models/getuseractivityrequest.md b/docs/operations/getuseractivityrequest.md similarity index 100% rename from docs/models/getuseractivityrequest.md rename to docs/operations/getuseractivityrequest.md diff --git a/docs/operations/getuseractivityresponse.md b/docs/operations/getuseractivityresponse.md new file mode 100644 index 0000000..24cc9e1 --- /dev/null +++ b/docs/operations/getuseractivityresponse.md @@ -0,0 +1,10 @@ +# GetUserActivityResponse + +Returns user activity data grouped by endpoint + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `data` | List[[components.ActivityItem](../components/activityitem.md)] | :heavy_check_mark: | List of activity items | \ No newline at end of file diff --git a/docs/operations/ignore.md b/docs/operations/ignore.md new file mode 100644 index 0000000..5f78708 --- /dev/null +++ b/docs/operations/ignore.md @@ -0,0 +1,17 @@ +# Ignore + + +## Supported Types + +### `components.ProviderName` + +```python +value: components.ProviderName = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/input.md b/docs/operations/input.md similarity index 100% rename from docs/models/input.md rename to docs/operations/input.md diff --git a/docs/models/listdata.md b/docs/operations/listdata.md similarity index 100% rename from docs/models/listdata.md rename to docs/operations/listdata.md diff --git a/docs/models/listendpointsrequest.md b/docs/operations/listendpointsrequest.md similarity index 100% rename from docs/models/listendpointsrequest.md rename to docs/operations/listendpointsrequest.md diff --git a/docs/models/endpointslistendpointsresponse.md b/docs/operations/listendpointsresponse.md similarity index 98% rename from docs/models/endpointslistendpointsresponse.md rename to docs/operations/listendpointsresponse.md index bfd5534..cde8b93 100644 --- a/docs/models/endpointslistendpointsresponse.md +++ b/docs/operations/listendpointsresponse.md @@ -1,4 +1,4 @@ -# EndpointsListEndpointsResponse +# ListEndpointsResponse Returns a list of endpoints @@ -7,4 +7,4 @@ Returns a list of endpoints | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `data` | [models.ListEndpointsResponse](../models/listendpointsresponse.md) | :heavy_check_mark: | List of available endpoints for a model | {
"id": "openai/gpt-4",
"name": "GPT-4",
"created": 1692901234,
"description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.",
"architecture": {
"tokenizer": "GPT",
"instruct_type": "chatml",
"modality": "text-\u003etext",
"input_modalities": [
"text"
],
"output_modalities": [
"text"
]
},
"endpoints": [
{
"name": "OpenAI: GPT-4",
"model_name": "GPT-4",
"context_length": 8192,
"pricing": {
"prompt": "0.00003",
"completion": "0.00006",
"request": "0",
"image": "0"
},
"provider_name": "OpenAI",
"tag": "openai",
"quantization": "fp16",
"max_completion_tokens": 4096,
"max_prompt_tokens": 8192,
"supported_parameters": [
"temperature",
"top_p",
"max_tokens",
"frequency_penalty",
"presence_penalty"
],
"status": "default",
"uptime_last_30m": 99.5,
"supports_implicit_caching": true
}
]
} | \ No newline at end of file +| `data` | [components.ListEndpointsResponse](../components/listendpointsresponse.md) | :heavy_check_mark: | List of available endpoints for a model | {
"id": "openai/gpt-4",
"name": "GPT-4",
"created": 1692901234,
"description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.",
"architecture": {
"tokenizer": "GPT",
"instruct_type": "chatml",
"modality": "text-\u003etext",
"input_modalities": [
"text"
],
"output_modalities": [
"text"
]
},
"endpoints": [
{
"name": "OpenAI: GPT-4",
"model_name": "GPT-4",
"context_length": 8192,
"pricing": {
"prompt": "0.00003",
"completion": "0.00006",
"request": "0",
"image": "0"
},
"provider_name": "OpenAI",
"tag": "openai",
"quantization": "fp16",
"max_completion_tokens": 4096,
"max_prompt_tokens": 8192,
"supported_parameters": [
"temperature",
"top_p",
"max_tokens",
"frequency_penalty",
"presence_penalty"
],
"status": "default",
"uptime_last_30m": 99.5,
"supports_implicit_caching": true
}
]
} | \ No newline at end of file diff --git a/docs/models/responseinputtext.md b/docs/operations/listendpointszdrresponse.md similarity index 56% rename from docs/models/responseinputtext.md rename to docs/operations/listendpointszdrresponse.md index b82824b..54cf662 100644 --- a/docs/models/responseinputtext.md +++ b/docs/operations/listendpointszdrresponse.md @@ -1,11 +1,10 @@ -# ResponseInputText +# ListEndpointsZdrResponse -Text input content item +Returns a list of endpoints ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `type` | [models.ResponseInputTextType](../models/responseinputtexttype.md) | :heavy_check_mark: | N/A | -| `text` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `data` | List[[components.PublicEndpoint](../components/publicendpoint.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listmodelsusersecurity.md b/docs/operations/listmodelsusersecurity.md similarity index 100% rename from docs/models/listmodelsusersecurity.md rename to docs/operations/listmodelsusersecurity.md diff --git a/docs/models/listprovidersdata.md b/docs/operations/listprovidersdata.md similarity index 100% rename from docs/models/listprovidersdata.md rename to docs/operations/listprovidersdata.md diff --git a/docs/models/createcoinbasechargeresponse.md b/docs/operations/listprovidersresponse.md similarity index 79% rename from docs/models/createcoinbasechargeresponse.md rename to docs/operations/listprovidersresponse.md index 49bd60a..922cc65 100644 --- a/docs/models/createcoinbasechargeresponse.md +++ b/docs/operations/listprovidersresponse.md @@ -1,10 +1,10 @@ -# CreateCoinbaseChargeResponse +# ListProvidersResponse -Returns the calldata to fulfill the transaction +Returns a list of providers ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `data` | [models.CreateCoinbaseChargeData](../models/createcoinbasechargedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `data` | List[[operations.ListProvidersData](../operations/listprovidersdata.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listrequest.md b/docs/operations/listrequest.md similarity index 100% rename from docs/models/listrequest.md rename to docs/operations/listrequest.md diff --git a/docs/models/getuseractivityresponse.md b/docs/operations/listresponse.md similarity index 69% rename from docs/models/getuseractivityresponse.md rename to docs/operations/listresponse.md index 2f8d773..255d266 100644 --- a/docs/models/getuseractivityresponse.md +++ b/docs/operations/listresponse.md @@ -1,10 +1,10 @@ -# GetUserActivityResponse +# ListResponse -Returns user activity data grouped by endpoint +List of API keys ## Fields | Field | Type | Required | Description | | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `data` | List[[models.ActivityItem](../models/activityitem.md)] | :heavy_check_mark: | List of activity items | \ No newline at end of file +| `data` | List[[operations.ListData](../operations/listdata.md)] | :heavy_check_mark: | List of API keys | \ No newline at end of file diff --git a/docs/models/createembeddingsmaxprice.md b/docs/operations/maxprice.md similarity index 98% rename from docs/models/createembeddingsmaxprice.md rename to docs/operations/maxprice.md index 80e9618..fd88c78 100644 --- a/docs/models/createembeddingsmaxprice.md +++ b/docs/operations/maxprice.md @@ -1,4 +1,4 @@ -# CreateEmbeddingsMaxPrice +# MaxPrice The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion. diff --git a/docs/models/metadata.md b/docs/operations/metadata.md similarity index 100% rename from docs/models/metadata.md rename to docs/operations/metadata.md diff --git a/docs/models/createembeddingsobject.md b/docs/operations/object.md similarity index 74% rename from docs/models/createembeddingsobject.md rename to docs/operations/object.md index 2512c32..39e8c0b 100644 --- a/docs/models/createembeddingsobject.md +++ b/docs/operations/object.md @@ -1,4 +1,4 @@ -# CreateEmbeddingsObject +# Object ## Values diff --git a/docs/models/objectembedding.md b/docs/operations/objectembedding.md similarity index 100% rename from docs/models/objectembedding.md rename to docs/operations/objectembedding.md diff --git a/docs/operations/only.md b/docs/operations/only.md new file mode 100644 index 0000000..a62341b --- /dev/null +++ b/docs/operations/only.md @@ -0,0 +1,17 @@ +# Only + + +## Supported Types + +### `components.ProviderName` + +```python +value: components.ProviderName = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/operations/order.md b/docs/operations/order.md new file mode 100644 index 0000000..b0e21fa --- /dev/null +++ b/docs/operations/order.md @@ -0,0 +1,17 @@ +# Order + + +## Supported Types + +### `components.ProviderName` + +```python +value: components.ProviderName = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/ratelimit.md b/docs/operations/ratelimit.md similarity index 100% rename from docs/models/ratelimit.md rename to docs/operations/ratelimit.md diff --git a/docs/operations/sendchatcompletionrequestresponse.md b/docs/operations/sendchatcompletionrequestresponse.md new file mode 100644 index 0000000..8e41883 --- /dev/null +++ b/docs/operations/sendchatcompletionrequestresponse.md @@ -0,0 +1,17 @@ +# SendChatCompletionRequestResponse + + +## Supported Types + +### `components.ChatResponse` + +```python +value: components.ChatResponse = /* values here */ +``` + +### `Union[eventstreaming.EventStream[components.ChatStreamingResponseChunkData], eventstreaming.EventStreamAsync[components.ChatStreamingResponseChunkData]]` + +```python +value: Union[eventstreaming.EventStream[components.ChatStreamingResponseChunkData], eventstreaming.EventStreamAsync[components.ChatStreamingResponseChunkData]] = /* values here */ +``` + diff --git a/docs/models/createembeddingssort.md b/docs/operations/sort.md similarity index 92% rename from docs/models/createembeddingssort.md rename to docs/operations/sort.md index 6043e0c..65b6edb 100644 --- a/docs/models/createembeddingssort.md +++ b/docs/operations/sort.md @@ -1,4 +1,4 @@ -# CreateEmbeddingsSort +# Sort The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed. diff --git a/docs/models/supportedparameter.md b/docs/operations/supportedparameter.md similarity index 100% rename from docs/models/supportedparameter.md rename to docs/operations/supportedparameter.md diff --git a/docs/operations/transferintent.md b/docs/operations/transferintent.md new file mode 100644 index 0000000..f068e9a --- /dev/null +++ b/docs/operations/transferintent.md @@ -0,0 +1,9 @@ +# TransferIntent + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `call_data` | [operations.CallData](../operations/calldata.md) | :heavy_check_mark: | N/A | +| `metadata` | [operations.Metadata](../operations/metadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatekeysdata.md b/docs/operations/updatekeysdata.md similarity index 100% rename from docs/models/updatekeysdata.md rename to docs/operations/updatekeysdata.md diff --git a/docs/models/updatekeyslimitreset.md b/docs/operations/updatekeyslimitreset.md similarity index 100% rename from docs/models/updatekeyslimitreset.md rename to docs/operations/updatekeyslimitreset.md diff --git a/docs/models/updatekeysrequest.md b/docs/operations/updatekeysrequest.md similarity index 92% rename from docs/models/updatekeysrequest.md rename to docs/operations/updatekeysrequest.md index f5a70ce..cb4c0a0 100644 --- a/docs/models/updatekeysrequest.md +++ b/docs/operations/updatekeysrequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | | `hash` | *str* | :heavy_check_mark: | The hash identifier of the API key to update | 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 | -| `body` | [models.UpdateKeysRequestBody](../models/updatekeysrequestbody.md) | :heavy_check_mark: | N/A | {
"name": "Updated API Key Name",
"disabled": false,
"limit": 75,
"limit_reset": "daily",
"include_byok_in_limit": true
} | \ No newline at end of file +| `body` | [operations.UpdateKeysRequestBody](../operations/updatekeysrequestbody.md) | :heavy_check_mark: | N/A | {
"name": "Updated API Key Name",
"disabled": false,
"limit": 75,
"limit_reset": "daily",
"include_byok_in_limit": true
} | \ No newline at end of file diff --git a/docs/models/updatekeysrequestbody.md b/docs/operations/updatekeysrequestbody.md similarity index 96% rename from docs/models/updatekeysrequestbody.md rename to docs/operations/updatekeysrequestbody.md index f9c96f3..8d8ebb1 100644 --- a/docs/models/updatekeysrequestbody.md +++ b/docs/operations/updatekeysrequestbody.md @@ -8,5 +8,5 @@ | `name` | *Optional[str]* | :heavy_minus_sign: | New name for the API key | Updated API Key Name | | `disabled` | *Optional[bool]* | :heavy_minus_sign: | Whether to disable the API key | false | | `limit` | *OptionalNullable[float]* | :heavy_minus_sign: | New spending limit for the API key in USD | 75 | -| `limit_reset` | [OptionalNullable[models.UpdateKeysLimitReset]](../models/updatekeyslimitreset.md) | :heavy_minus_sign: | New limit reset type for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | daily | +| `limit_reset` | [OptionalNullable[operations.UpdateKeysLimitReset]](../operations/updatekeyslimitreset.md) | :heavy_minus_sign: | New limit reset type for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | daily | | `include_byok_in_limit` | *Optional[bool]* | :heavy_minus_sign: | Whether to include BYOK usage in the limit | true | \ No newline at end of file diff --git a/docs/models/updatekeysresponse.md b/docs/operations/updatekeysresponse.md similarity index 98% rename from docs/models/updatekeysresponse.md rename to docs/operations/updatekeysresponse.md index 6f2432f..9509469 100644 --- a/docs/models/updatekeysresponse.md +++ b/docs/operations/updatekeysresponse.md @@ -7,4 +7,4 @@ API key updated successfully | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | [models.UpdateKeysData](../models/updatekeysdata.md) | :heavy_check_mark: | The updated API key information | {
"hash": "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",
"name": "My Production Key",
"label": "Production API Key",
"disabled": false,
"limit": 100,
"limit_remaining": 74.5,
"limit_reset": "monthly",
"include_byok_in_limit": false,
"usage": 25.5,
"usage_daily": 25.5,
"usage_weekly": 25.5,
"usage_monthly": 25.5,
"byok_usage": 17.38,
"byok_usage_daily": 17.38,
"byok_usage_weekly": 17.38,
"byok_usage_monthly": 17.38,
"created_at": "2025-08-24T10:30:00Z",
"updated_at": "2025-08-24T15:45:00Z",
"expires_at": "2027-12-31T23:59:59Z"
} | \ No newline at end of file +| `data` | [operations.UpdateKeysData](../operations/updatekeysdata.md) | :heavy_check_mark: | The updated API key information | {
"hash": "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",
"name": "My Production Key",
"label": "Production API Key",
"disabled": false,
"limit": 100,
"limit_remaining": 74.5,
"limit_reset": "monthly",
"include_byok_in_limit": false,
"usage": 25.5,
"usage_daily": 25.5,
"usage_weekly": 25.5,
"usage_monthly": 25.5,
"byok_usage": 17.38,
"byok_usage_daily": 17.38,
"byok_usage_weekly": 17.38,
"byok_usage_monthly": 17.38,
"created_at": "2025-08-24T10:30:00Z",
"updated_at": "2025-08-24T15:45:00Z",
"expires_at": "2027-12-31T23:59:59Z"
} | \ No newline at end of file diff --git a/docs/models/usage.md b/docs/operations/usage.md similarity index 100% rename from docs/models/usage.md rename to docs/operations/usage.md diff --git a/docs/operations/web3data.md b/docs/operations/web3data.md new file mode 100644 index 0000000..18e0a9c --- /dev/null +++ b/docs/operations/web3data.md @@ -0,0 +1,8 @@ +# Web3Data + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `transfer_intent` | [operations.TransferIntent](../operations/transferintent.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/sdks/analytics/README.md b/docs/sdks/analytics/README.md index 451a486..8b27ed7 100644 --- a/docs/sdks/analytics/README.md +++ b/docs/sdks/analytics/README.md @@ -41,7 +41,7 @@ with OpenRouter( ### Response -**[models.GetUserActivityResponse](../../models/getuseractivityresponse.md)** +**[operations.GetUserActivityResponse](../../operations/getuseractivityresponse.md)** ### Errors diff --git a/docs/sdks/apikeys/README.md b/docs/sdks/apikeys/README.md index e860acf..829b8d3 100644 --- a/docs/sdks/apikeys/README.md +++ b/docs/sdks/apikeys/README.md @@ -47,7 +47,7 @@ with OpenRouter( ### Response -**[models.ListResponse](../../models/listresponse.md)** +**[operations.ListResponse](../../operations/listresponse.md)** ### Errors @@ -88,14 +88,14 @@ with OpenRouter( | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `name` | *str* | :heavy_check_mark: | Name for the new API key | My New API Key | | `limit` | *OptionalNullable[float]* | :heavy_minus_sign: | Optional spending limit for the API key in USD | 50 | -| `limit_reset` | [OptionalNullable[models.CreateKeysLimitReset]](../../models/createkeyslimitreset.md) | :heavy_minus_sign: | Type of limit reset for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | monthly | +| `limit_reset` | [OptionalNullable[operations.CreateKeysLimitReset]](../../operations/createkeyslimitreset.md) | :heavy_minus_sign: | Type of limit reset for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | monthly | | `include_byok_in_limit` | *Optional[bool]* | :heavy_minus_sign: | Whether to include BYOK usage in the limit | true | | `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional ISO 8601 UTC timestamp when the API key should expire. Must be UTC, other timezones will be rejected | 2027-12-31T23:59:59Z | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | ### Response -**[models.CreateKeysResponse](../../models/createkeysresponse.md)** +**[operations.CreateKeysResponse](../../operations/createkeysresponse.md)** ### Errors @@ -138,13 +138,13 @@ with OpenRouter( | `name` | *Optional[str]* | :heavy_minus_sign: | New name for the API key | Updated API Key Name | | `disabled` | *Optional[bool]* | :heavy_minus_sign: | Whether to disable the API key | false | | `limit` | *OptionalNullable[float]* | :heavy_minus_sign: | New spending limit for the API key in USD | 75 | -| `limit_reset` | [OptionalNullable[models.UpdateKeysLimitReset]](../../models/updatekeyslimitreset.md) | :heavy_minus_sign: | New limit reset type for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | daily | +| `limit_reset` | [OptionalNullable[operations.UpdateKeysLimitReset]](../../operations/updatekeyslimitreset.md) | :heavy_minus_sign: | New limit reset type for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | daily | | `include_byok_in_limit` | *Optional[bool]* | :heavy_minus_sign: | Whether to include BYOK usage in the limit | true | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | ### Response -**[models.UpdateKeysResponse](../../models/updatekeysresponse.md)** +**[operations.UpdateKeysResponse](../../operations/updatekeysresponse.md)** ### Errors @@ -189,7 +189,7 @@ with OpenRouter( ### Response -**[models.DeleteKeysResponse](../../models/deletekeysresponse.md)** +**[operations.DeleteKeysResponse](../../operations/deletekeysresponse.md)** ### Errors @@ -233,7 +233,7 @@ with OpenRouter( ### Response -**[models.GetKeyResponse](../../models/getkeyresponse.md)** +**[operations.GetKeyResponse](../../operations/getkeyresponse.md)** ### Errors @@ -276,7 +276,7 @@ with OpenRouter( ### Response -**[models.GetCurrentKeyResponse](../../models/getcurrentkeyresponse.md)** +**[operations.GetCurrentKeyResponse](../../operations/getcurrentkeyresponse.md)** ### Errors diff --git a/docs/sdks/chat/README.md b/docs/sdks/chat/README.md index d0cd562..94ffd97 100644 --- a/docs/sdks/chat/README.md +++ b/docs/sdks/chat/README.md @@ -34,35 +34,35 @@ with OpenRouter( ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `messages` | List[[models.Message](../../models/message.md)] | :heavy_check_mark: | N/A | -| `model` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `models` | List[*str*] | :heavy_minus_sign: | N/A | -| `frequency_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `logit_bias` | Dict[str, *float*] | :heavy_minus_sign: | N/A | -| `logprobs` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `top_logprobs` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `max_completion_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `max_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `metadata` | Dict[str, *str*] | :heavy_minus_sign: | N/A | -| `presence_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `reasoning` | [Optional[models.Reasoning]](../../models/reasoning.md) | :heavy_minus_sign: | N/A | -| `response_format` | [Optional[models.ChatGenerationParamsResponseFormatUnion]](../../models/chatgenerationparamsresponseformatunion.md) | :heavy_minus_sign: | N/A | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `stop` | [OptionalNullable[models.ChatGenerationParamsStop]](../../models/chatgenerationparamsstop.md) | :heavy_minus_sign: | N/A | -| `stream` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `stream_options` | [OptionalNullable[models.ChatStreamOptions]](../../models/chatstreamoptions.md) | :heavy_minus_sign: | N/A | -| `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `tool_choice` | *Optional[Any]* | :heavy_minus_sign: | N/A | -| `tools` | List[[models.ToolDefinitionJSON](../../models/tooldefinitionjson.md)] | :heavy_minus_sign: | N/A | -| `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `messages` | List[[components.Message](../../components/message.md)] | :heavy_check_mark: | N/A | +| `model` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `models` | List[*str*] | :heavy_minus_sign: | N/A | +| `frequency_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `logit_bias` | Dict[str, *float*] | :heavy_minus_sign: | N/A | +| `logprobs` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `top_logprobs` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `max_completion_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `max_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `metadata` | Dict[str, *str*] | :heavy_minus_sign: | N/A | +| `presence_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `reasoning` | [Optional[components.Reasoning]](../../components/reasoning.md) | :heavy_minus_sign: | N/A | +| `response_format` | [Optional[components.ChatGenerationParamsResponseFormatUnion]](../../components/chatgenerationparamsresponseformatunion.md) | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `stop` | [OptionalNullable[components.ChatGenerationParamsStop]](../../components/chatgenerationparamsstop.md) | :heavy_minus_sign: | N/A | +| `stream` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `stream_options` | [OptionalNullable[components.ChatStreamOptions]](../../components/chatstreamoptions.md) | :heavy_minus_sign: | N/A | +| `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `tool_choice` | *Optional[Any]* | :heavy_minus_sign: | N/A | +| `tools` | List[[components.ToolDefinitionJSON](../../components/tooldefinitionjson.md)] | :heavy_minus_sign: | N/A | +| `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.SendChatCompletionRequestResponse](../../models/sendchatcompletionrequestresponse.md)** +**[operations.SendChatCompletionRequestResponse](../../operations/sendchatcompletionrequestresponse.md)** ### Errors diff --git a/docs/sdks/completions/README.md b/docs/sdks/completions/README.md index d1b5f3f..beeb03e 100644 --- a/docs/sdks/completions/README.md +++ b/docs/sdks/completions/README.md @@ -32,34 +32,34 @@ with OpenRouter( ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `prompt` | [models.Prompt](../../models/prompt.md) | :heavy_check_mark: | N/A | -| `model` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `models` | List[*str*] | :heavy_minus_sign: | N/A | -| `best_of` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `echo` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `frequency_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `logit_bias` | Dict[str, *float*] | :heavy_minus_sign: | N/A | -| `logprobs` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `max_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `n` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `presence_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `stop` | [OptionalNullable[models.CompletionCreateParamsStop]](../../models/completioncreateparamsstop.md) | :heavy_minus_sign: | N/A | -| `stream` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `stream_options` | [OptionalNullable[models.StreamOptions]](../../models/streamoptions.md) | :heavy_minus_sign: | N/A | -| `suffix` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | -| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `metadata` | Dict[str, *str*] | :heavy_minus_sign: | N/A | -| `response_format` | [OptionalNullable[models.CompletionCreateParamsResponseFormatUnion]](../../models/completioncreateparamsresponseformatunion.md) | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `prompt` | [components.Prompt](../../components/prompt.md) | :heavy_check_mark: | N/A | +| `model` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `models` | List[*str*] | :heavy_minus_sign: | N/A | +| `best_of` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `echo` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `frequency_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `logit_bias` | Dict[str, *float*] | :heavy_minus_sign: | N/A | +| `logprobs` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `max_tokens` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `n` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `presence_penalty` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `stop` | [OptionalNullable[components.CompletionCreateParamsStop]](../../components/completioncreateparamsstop.md) | :heavy_minus_sign: | N/A | +| `stream` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `stream_options` | [OptionalNullable[components.StreamOptions]](../../components/streamoptions.md) | :heavy_minus_sign: | N/A | +| `suffix` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | +| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `metadata` | Dict[str, *str*] | :heavy_minus_sign: | N/A | +| `response_format` | [OptionalNullable[components.CompletionCreateParamsResponseFormatUnion]](../../components/completioncreateparamsresponseformatunion.md) | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.CompletionResponse](../../models/completionresponse.md)** +**[components.CompletionResponse](../../components/completionresponse.md)** ### Errors diff --git a/docs/sdks/credits/README.md b/docs/sdks/credits/README.md index 39d6c23..6136956 100644 --- a/docs/sdks/credits/README.md +++ b/docs/sdks/credits/README.md @@ -41,7 +41,7 @@ with OpenRouter( ### Response -**[models.GetCreditsResponse](../../models/getcreditsresponse.md)** +**[operations.GetCreditsResponse](../../operations/getcreditsresponse.md)** ### Errors @@ -60,13 +60,13 @@ Create a Coinbase charge for crypto payment ```python -from openrouter import OpenRouter, models +from openrouter import OpenRouter, operations import os with OpenRouter() as open_router: - res = open_router.credits.create_coinbase_charge(security=models.CreateCoinbaseChargeSecurity( + res = open_router.credits.create_coinbase_charge(security=operations.CreateCoinbaseChargeSecurity( bearer=os.getenv("OPENROUTER_BEARER", ""), ), amount=100, sender="0x1234567890123456789012345678901234567890", chain_id=1) @@ -77,17 +77,17 @@ with OpenRouter() as open_router: ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `security` | [models.CreateCoinbaseChargeSecurity](../../models/createcoinbasechargesecurity.md) | :heavy_check_mark: | N/A | -| `amount` | *float* | :heavy_check_mark: | N/A | -| `sender` | *str* | :heavy_check_mark: | N/A | -| `chain_id` | [models.ChainID](../../models/chainid.md) | :heavy_check_mark: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `security` | [operations.CreateCoinbaseChargeSecurity](../../operations/createcoinbasechargesecurity.md) | :heavy_check_mark: | N/A | +| `amount` | *float* | :heavy_check_mark: | N/A | +| `sender` | *str* | :heavy_check_mark: | N/A | +| `chain_id` | [components.ChainID](../../components/chainid.md) | :heavy_check_mark: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.CreateCoinbaseChargeResponse](../../models/createcoinbasechargeresponse.md)** +**[operations.CreateCoinbaseChargeResponse](../../operations/createcoinbasechargeresponse.md)** ### Errors diff --git a/docs/sdks/embeddings/README.md b/docs/sdks/embeddings/README.md index cad1726..32e9002 100644 --- a/docs/sdks/embeddings/README.md +++ b/docs/sdks/embeddings/README.md @@ -52,18 +52,18 @@ with OpenRouter( ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `input` | [models.Input](../../models/input.md) | :heavy_check_mark: | N/A | -| `model` | *str* | :heavy_check_mark: | N/A | -| `provider` | [Optional[models.CreateEmbeddingsProvider]](../../models/createembeddingsprovider.md) | :heavy_minus_sign: | N/A | -| `encoding_format` | [Optional[models.EncodingFormat]](../../models/encodingformat.md) | :heavy_minus_sign: | N/A | -| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `input` | [operations.Input](../../operations/input.md) | :heavy_check_mark: | N/A | +| `model` | *str* | :heavy_check_mark: | N/A | +| `provider` | [Optional[operations.CreateEmbeddingsProvider]](../../operations/createembeddingsprovider.md) | :heavy_minus_sign: | N/A | +| `encoding_format` | [Optional[operations.EncodingFormat]](../../operations/encodingformat.md) | :heavy_minus_sign: | N/A | +| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.CreateEmbeddingsResponse](../../models/createembeddingsresponse.md)** +**[operations.CreateEmbeddingsResponse](../../operations/createembeddingsresponse.md)** ### Errors @@ -112,7 +112,7 @@ with OpenRouter( ### Response -**[models.ModelsListResponse](../../models/modelslistresponse.md)** +**[components.ModelsListResponse](../../components/modelslistresponse.md)** ### Errors diff --git a/docs/sdks/endpoints/README.md b/docs/sdks/endpoints/README.md index 2cda3e7..981bfee 100644 --- a/docs/sdks/endpoints/README.md +++ b/docs/sdks/endpoints/README.md @@ -43,7 +43,7 @@ with OpenRouter( ### Response -**[models.EndpointsListEndpointsResponse](../../models/endpointslistendpointsresponse.md)** +**[operations.ListEndpointsResponse](../../operations/listendpointsresponse.md)** ### Errors @@ -84,7 +84,7 @@ with OpenRouter( ### Response -**[models.ListEndpointsZdrResponse](../../models/listendpointszdrresponse.md)** +**[operations.ListEndpointsZdrResponse](../../operations/listendpointszdrresponse.md)** ### Errors diff --git a/docs/sdks/generations/README.md b/docs/sdks/generations/README.md index c7a7e16..ddc0f51 100644 --- a/docs/sdks/generations/README.md +++ b/docs/sdks/generations/README.md @@ -41,7 +41,7 @@ with OpenRouter( ### Response -**[models.GetGenerationResponse](../../models/getgenerationresponse.md)** +**[operations.GetGenerationResponse](../../operations/getgenerationresponse.md)** ### Errors diff --git a/docs/sdks/models/README.md b/docs/sdks/models/README.md index 1e9998a..dd45ad1 100644 --- a/docs/sdks/models/README.md +++ b/docs/sdks/models/README.md @@ -42,7 +42,7 @@ with OpenRouter( ### Response -**[models.ModelsCountResponse](../../models/modelscountresponse.md)** +**[components.ModelsCountResponse](../../components/modelscountresponse.md)** ### Errors @@ -84,7 +84,7 @@ with OpenRouter( ### Response -**[models.ModelsListResponse](../../models/modelslistresponse.md)** +**[components.ModelsListResponse](../../components/modelslistresponse.md)** ### Errors @@ -102,13 +102,13 @@ List models filtered by user provider preferences ```python -from openrouter import OpenRouter, models +from openrouter import OpenRouter, operations import os with OpenRouter() as open_router: - res = open_router.models.list_for_user(security=models.ListModelsUserSecurity( + res = open_router.models.list_for_user(security=operations.ListModelsUserSecurity( bearer=os.getenv("OPENROUTER_BEARER", ""), )) @@ -119,14 +119,14 @@ with OpenRouter() as open_router: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `security` | [models.ListModelsUserSecurity](../../listmodelsusersecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `security` | [operations.ListModelsUserSecurity](../../operations/listmodelsusersecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.ModelsListResponse](../../models/modelslistresponse.md)** +**[components.ModelsListResponse](../../components/modelslistresponse.md)** ### Errors diff --git a/docs/sdks/oauth/README.md b/docs/sdks/oauth/README.md index d069d54..ae77e75 100644 --- a/docs/sdks/oauth/README.md +++ b/docs/sdks/oauth/README.md @@ -35,16 +35,16 @@ with OpenRouter( ### Parameters -| Parameter | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `code` | *str* | :heavy_check_mark: | The authorization code received from the OAuth redirect | auth_code_abc123def456 | -| `code_verifier` | *Optional[str]* | :heavy_minus_sign: | The code verifier if code_challenge was used in the authorization request | dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk | -| `code_challenge_method` | [OptionalNullable[models.ExchangeAuthCodeForAPIKeyCodeChallengeMethod]](../../models/exchangeauthcodeforapikeycodechallengemethod.md) | :heavy_minus_sign: | The method used to generate the code challenge | S256 | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | +| Parameter | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `code` | *str* | :heavy_check_mark: | The authorization code received from the OAuth redirect | auth_code_abc123def456 | +| `code_verifier` | *Optional[str]* | :heavy_minus_sign: | The code verifier if code_challenge was used in the authorization request | dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk | +| `code_challenge_method` | [OptionalNullable[operations.ExchangeAuthCodeForAPIKeyCodeChallengeMethod]](../../operations/exchangeauthcodeforapikeycodechallengemethod.md) | :heavy_minus_sign: | The method used to generate the code challenge | S256 | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | ### Response -**[models.ExchangeAuthCodeForAPIKeyResponse](../../models/exchangeauthcodeforapikeyresponse.md)** +**[operations.ExchangeAuthCodeForAPIKeyResponse](../../operations/exchangeauthcodeforapikeyresponse.md)** ### Errors @@ -80,18 +80,18 @@ with OpenRouter( ### Parameters -| Parameter | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `callback_url` | *str* | :heavy_check_mark: | The callback URL to redirect to after authorization. Note, only https URLs on ports 443 and 3000 are allowed. | https://myapp.com/auth/callback | -| `code_challenge` | *Optional[str]* | :heavy_minus_sign: | PKCE code challenge for enhanced security | E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM | -| `code_challenge_method` | [Optional[models.CreateAuthKeysCodeCodeChallengeMethod]](../../models/createauthkeyscodecodechallengemethod.md) | :heavy_minus_sign: | The method used to generate the code challenge | S256 | -| `limit` | *Optional[float]* | :heavy_minus_sign: | Credit limit for the API key to be created | 100 | -| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional expiration time for the API key to be created | | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | +| Parameter | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `callback_url` | *str* | :heavy_check_mark: | The callback URL to redirect to after authorization. Note, only https URLs on ports 443 and 3000 are allowed. | https://myapp.com/auth/callback | +| `code_challenge` | *Optional[str]* | :heavy_minus_sign: | PKCE code challenge for enhanced security | E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM | +| `code_challenge_method` | [Optional[operations.CreateAuthKeysCodeCodeChallengeMethod]](../../operations/createauthkeyscodecodechallengemethod.md) | :heavy_minus_sign: | The method used to generate the code challenge | S256 | +| `limit` | *Optional[float]* | :heavy_minus_sign: | Credit limit for the API key to be created | 100 | +| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional expiration time for the API key to be created | | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | ### Response -**[models.CreateAuthKeysCodeResponse](../../models/createauthkeyscoderesponse.md)** +**[operations.CreateAuthKeysCodeResponse](../../operations/createauthkeyscoderesponse.md)** ### Errors diff --git a/docs/sdks/parameters/README.md b/docs/sdks/parameters/README.md index b197a12..8ad31a4 100644 --- a/docs/sdks/parameters/README.md +++ b/docs/sdks/parameters/README.md @@ -17,13 +17,13 @@ Get a model's supported parameters and data about which are most popular ```python -from openrouter import OpenRouter, models +from openrouter import OpenRouter, operations import os with OpenRouter() as open_router: - res = open_router.parameters.get_parameters(security=models.GetParametersSecurity( + res = open_router.parameters.get_parameters(security=operations.GetParametersSecurity( bearer=os.getenv("OPENROUTER_BEARER", ""), ), author="", slug="") @@ -34,17 +34,17 @@ with OpenRouter() as open_router: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `security` | [models.GetParametersSecurity](../../models/getparameterssecurity.md) | :heavy_check_mark: | N/A | -| `author` | *str* | :heavy_check_mark: | N/A | -| `slug` | *str* | :heavy_check_mark: | N/A | -| `provider` | [Optional[models.GetParametersProvider]](../../models/getparametersprovider.md) | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `security` | [operations.GetParametersSecurity](../../operations/getparameterssecurity.md) | :heavy_check_mark: | N/A | +| `author` | *str* | :heavy_check_mark: | N/A | +| `slug` | *str* | :heavy_check_mark: | N/A | +| `provider` | [Optional[operations.GetParametersProvider]](../../operations/getparametersprovider.md) | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.GetParametersResponse](../../models/getparametersresponse.md)** +**[operations.GetParametersResponse](../../operations/getparametersresponse.md)** ### Errors diff --git a/docs/sdks/providers/README.md b/docs/sdks/providers/README.md index 755b740..8654a37 100644 --- a/docs/sdks/providers/README.md +++ b/docs/sdks/providers/README.md @@ -40,7 +40,7 @@ with OpenRouter( ### Response -**[models.ListProvidersResponse](../../models/listprovidersresponse.md)** +**[operations.ListProvidersResponse](../../operations/listprovidersresponse.md)** ### Errors diff --git a/docs/sdks/responses/README.md b/docs/sdks/responses/README.md index b4b19aa..1ecbbb1 100644 --- a/docs/sdks/responses/README.md +++ b/docs/sdks/responses/README.md @@ -92,38 +92,38 @@ with OpenRouter( | Parameter | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `input` | [Optional[models.OpenResponsesInput]](../../models/openresponsesinput.md) | :heavy_minus_sign: | Input for a response request - can be a string or array of items | [
{
"role": "user",
"content": "What is the weather today?"
}
] | +| `input` | [Optional[components.OpenResponsesInput]](../../components/openresponsesinput.md) | :heavy_minus_sign: | Input for a response request - can be a string or array of items | [
{
"role": "user",
"content": "What is the weather today?"
}
] | | `instructions` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Metadata key-value pairs for the request. Keys must be ≤64 characters and cannot contain brackets. Values must be ≤512 characters. Maximum 16 pairs allowed. | {
"user_id": "123",
"session_id": "abc-def-ghi"
} | -| `tools` | List[[models.OpenResponsesRequestToolUnion](../../models/openresponsesrequesttoolunion.md)] | :heavy_minus_sign: | N/A | | -| `tool_choice` | [Optional[models.OpenAIResponsesToolChoiceUnion]](../../models/openairesponsestoolchoiceunion.md) | :heavy_minus_sign: | N/A | | +| `tools` | List[[components.OpenResponsesRequestToolUnion](../../components/openresponsesrequesttoolunion.md)] | :heavy_minus_sign: | N/A | | +| `tool_choice` | [Optional[components.OpenAIResponsesToolChoiceUnion]](../../components/openairesponsestoolchoiceunion.md) | :heavy_minus_sign: | N/A | | | `parallel_tool_calls` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | | `model` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `models` | List[*str*] | :heavy_minus_sign: | N/A | | -| `text` | [Optional[models.OpenResponsesResponseText]](../../models/openresponsesresponsetext.md) | :heavy_minus_sign: | Text output configuration including format and verbosity | {
"format": {
"type": "text"
},
"verbosity": "medium"
} | -| `reasoning` | [OptionalNullable[models.OpenResponsesReasoningConfig]](../../models/openresponsesreasoningconfig.md) | :heavy_minus_sign: | Configuration for reasoning mode in the response | {
"summary": "auto",
"enabled": true
} | +| `text` | [Optional[components.OpenResponsesResponseText]](../../components/openresponsesresponsetext.md) | :heavy_minus_sign: | Text output configuration including format and verbosity | {
"format": {
"type": "text"
},
"verbosity": "medium"
} | +| `reasoning` | [OptionalNullable[components.OpenResponsesReasoningConfig]](../../components/openresponsesreasoningconfig.md) | :heavy_minus_sign: | Configuration for reasoning mode in the response | {
"summary": "auto",
"enabled": true
} | | `max_output_tokens` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | | | `temperature` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | | | `top_p` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | | | `top_k` | *Optional[float]* | :heavy_minus_sign: | N/A | | | `prompt_cache_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `previous_response_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `prompt` | [OptionalNullable[models.OpenAIResponsesPrompt]](../../models/openairesponsesprompt.md) | :heavy_minus_sign: | N/A | | -| `include` | List[[models.OpenAIResponsesIncludable](../../models/openairesponsesincludable.md)] | :heavy_minus_sign: | N/A | | +| `prompt` | [OptionalNullable[components.OpenAIResponsesPrompt]](../../components/openairesponsesprompt.md) | :heavy_minus_sign: | N/A | | +| `include` | List[[components.OpenAIResponsesIncludable](../../components/openairesponsesincludable.md)] | :heavy_minus_sign: | N/A | | | `background` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | | `safety_identifier` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `store` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | -| `service_tier` | [OptionalNullable[models.ServiceTier]](../../models/servicetier.md) | :heavy_minus_sign: | N/A | auto | -| `truncation` | [OptionalNullable[models.Truncation]](../../models/truncation.md) | :heavy_minus_sign: | N/A | auto | +| `service_tier` | [OptionalNullable[components.ServiceTier]](../../components/servicetier.md) | :heavy_minus_sign: | N/A | auto | +| `truncation` | [OptionalNullable[components.Truncation]](../../components/truncation.md) | :heavy_minus_sign: | N/A | auto | | `stream` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `provider` | [OptionalNullable[models.Provider]](../../models/provider.md) | :heavy_minus_sign: | When multiple model providers are available, optionally indicate your routing preference. | | -| `plugins` | List[[models.Plugin](../../models/plugin.md)] | :heavy_minus_sign: | Plugins you want to enable for this request, including their settings. | | +| `provider` | [OptionalNullable[components.Provider]](../../components/provider.md) | :heavy_minus_sign: | When multiple model providers are available, optionally indicate your routing preference. | | +| `plugins` | List[[components.Plugin](../../components/plugin.md)] | :heavy_minus_sign: | Plugins you want to enable for this request, including their settings. | | | `user` | *Optional[str]* | :heavy_minus_sign: | A unique identifier representing your end-user, which helps distinguish between different users of your app. This allows your app to identify specific users in case of abuse reports, preventing your entire app from being affected by the actions of individual users. Maximum of 128 characters. | | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | ### Response -**[models.CreateResponsesResponse](../../models/createresponsesresponse.md)** +**[operations.CreateResponsesResponse](../../operations/createresponsesresponse.md)** ### Errors diff --git a/pyproject.toml b/pyproject.toml index ad9e9fd..4004c78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openrouter" -version = "0.0.8" +version = "0.0.14" description = "Official Python Client SDK for OpenRouter." authors = [{ name = "OpenRouter" },] readme = "README.md" diff --git a/src/openrouter/_version.py b/src/openrouter/_version.py index cb92659..1b4df41 100644 --- a/src/openrouter/_version.py +++ b/src/openrouter/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "openrouter" -__version__: str = "0.0.8" +__version__: str = "0.0.14" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.753.6" -__user_agent__: str = "speakeasy-sdk/python 0.0.8 2.753.6 1.0.0 openrouter" +__user_agent__: str = "speakeasy-sdk/python 0.0.14 2.753.6 1.0.0 openrouter" try: if __package__ is not None: diff --git a/src/openrouter/analytics.py b/src/openrouter/analytics.py index 08b0a78..c121816 100644 --- a/src/openrouter/analytics.py +++ b/src/openrouter/analytics.py @@ -1,7 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext from openrouter.types import OptionalNullable, UNSET from openrouter.utils import get_security_from_env @@ -20,7 +20,7 @@ class Analytics(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.ActivityItem]: + ) -> List[components.ActivityItem]: r"""Get user activity grouped by endpoint Returns user activity data grouped by endpoint for the last 30 (completed) UTC days @@ -41,7 +41,7 @@ class Analytics(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.GetUserActivityRequest( + request = operations.GetUserActivityRequest( date_=date_, ) @@ -76,7 +76,7 @@ class Analytics(BaseSDK): operation_id="getUserActivity", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -86,7 +86,7 @@ class Analytics(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetUserActivityResponse, http_res) + return unmarshal_json_response(operations.GetUserActivityResponse, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res @@ -128,7 +128,7 @@ class Analytics(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.ActivityItem]: + ) -> List[components.ActivityItem]: r"""Get user activity grouped by endpoint Returns user activity data grouped by endpoint for the last 30 (completed) UTC days @@ -149,7 +149,7 @@ class Analytics(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.GetUserActivityRequest( + request = operations.GetUserActivityRequest( date_=date_, ) @@ -184,7 +184,7 @@ class Analytics(BaseSDK): operation_id="getUserActivity", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -194,7 +194,7 @@ class Analytics(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetUserActivityResponse, http_res) + return unmarshal_json_response(operations.GetUserActivityResponse, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res diff --git a/src/openrouter/api_keys.py b/src/openrouter/api_keys.py index fefe0b7..a1e13cb 100644 --- a/src/openrouter/api_keys.py +++ b/src/openrouter/api_keys.py @@ -2,7 +2,7 @@ from .basesdk import BaseSDK from datetime import datetime -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext from openrouter.types import OptionalNullable, UNSET from openrouter.utils import get_security_from_env @@ -22,7 +22,7 @@ class APIKeys(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.ListData]: + ) -> List[operations.ListData]: r"""List API keys :param include_disabled: Whether to include disabled API keys in the response @@ -42,7 +42,7 @@ class APIKeys(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.ListRequest( + request = operations.ListRequest( include_disabled=include_disabled, offset=offset, ) @@ -78,7 +78,7 @@ class APIKeys(BaseSDK): operation_id="list", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -88,7 +88,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ListResponse, http_res) + return unmarshal_json_response(operations.ListResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -126,7 +126,7 @@ class APIKeys(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.ListData]: + ) -> List[operations.ListData]: r"""List API keys :param include_disabled: Whether to include disabled API keys in the response @@ -146,7 +146,7 @@ class APIKeys(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.ListRequest( + request = operations.ListRequest( include_disabled=include_disabled, offset=offset, ) @@ -182,7 +182,7 @@ class APIKeys(BaseSDK): operation_id="list", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -192,7 +192,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ListResponse, http_res) + return unmarshal_json_response(operations.ListResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -226,14 +226,14 @@ class APIKeys(BaseSDK): *, name: str, limit: OptionalNullable[float] = UNSET, - limit_reset: OptionalNullable[models.CreateKeysLimitReset] = UNSET, + limit_reset: OptionalNullable[operations.CreateKeysLimitReset] = UNSET, include_byok_in_limit: Optional[bool] = None, expires_at: OptionalNullable[datetime] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CreateKeysData: + ) -> operations.CreateKeysData: r"""Create a new API key :param name: Name for the new API key @@ -256,7 +256,7 @@ class APIKeys(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.CreateKeysRequest( + request = operations.CreateKeysRequest( name=name, limit=limit, limit_reset=limit_reset, @@ -278,7 +278,7 @@ class APIKeys(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CreateKeysRequest + request, False, False, "json", operations.CreateKeysRequest ), timeout_ms=timeout_ms, ) @@ -298,7 +298,7 @@ class APIKeys(BaseSDK): operation_id="createKeys", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -308,7 +308,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "201", "application/json"): - return unmarshal_json_response(models.CreateKeysResponse, http_res) + return unmarshal_json_response(operations.CreateKeysResponse, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res @@ -347,14 +347,14 @@ class APIKeys(BaseSDK): *, name: str, limit: OptionalNullable[float] = UNSET, - limit_reset: OptionalNullable[models.CreateKeysLimitReset] = UNSET, + limit_reset: OptionalNullable[operations.CreateKeysLimitReset] = UNSET, include_byok_in_limit: Optional[bool] = None, expires_at: OptionalNullable[datetime] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CreateKeysData: + ) -> operations.CreateKeysData: r"""Create a new API key :param name: Name for the new API key @@ -377,7 +377,7 @@ class APIKeys(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.CreateKeysRequest( + request = operations.CreateKeysRequest( name=name, limit=limit, limit_reset=limit_reset, @@ -399,7 +399,7 @@ class APIKeys(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CreateKeysRequest + request, False, False, "json", operations.CreateKeysRequest ), timeout_ms=timeout_ms, ) @@ -419,7 +419,7 @@ class APIKeys(BaseSDK): operation_id="createKeys", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -429,7 +429,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "201", "application/json"): - return unmarshal_json_response(models.CreateKeysResponse, http_res) + return unmarshal_json_response(operations.CreateKeysResponse, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res @@ -470,13 +470,13 @@ class APIKeys(BaseSDK): name: Optional[str] = None, disabled: Optional[bool] = None, limit: OptionalNullable[float] = UNSET, - limit_reset: OptionalNullable[models.UpdateKeysLimitReset] = UNSET, + limit_reset: OptionalNullable[operations.UpdateKeysLimitReset] = UNSET, include_byok_in_limit: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.UpdateKeysData: + ) -> operations.UpdateKeysData: r"""Update an API key :param hash: The hash identifier of the API key to update @@ -500,9 +500,9 @@ class APIKeys(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.UpdateKeysRequest( + request = operations.UpdateKeysRequest( hash=hash, - body=models.UpdateKeysRequestBody( + body=operations.UpdateKeysRequestBody( name=name, disabled=disabled, limit=limit, @@ -525,7 +525,7 @@ class APIKeys(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request.body, False, False, "json", models.UpdateKeysRequestBody + request.body, False, False, "json", operations.UpdateKeysRequestBody ), timeout_ms=timeout_ms, ) @@ -545,7 +545,7 @@ class APIKeys(BaseSDK): operation_id="updateKeys", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -555,7 +555,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.UpdateKeysResponse, http_res) + return unmarshal_json_response(operations.UpdateKeysResponse, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res @@ -601,13 +601,13 @@ class APIKeys(BaseSDK): name: Optional[str] = None, disabled: Optional[bool] = None, limit: OptionalNullable[float] = UNSET, - limit_reset: OptionalNullable[models.UpdateKeysLimitReset] = UNSET, + limit_reset: OptionalNullable[operations.UpdateKeysLimitReset] = UNSET, include_byok_in_limit: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.UpdateKeysData: + ) -> operations.UpdateKeysData: r"""Update an API key :param hash: The hash identifier of the API key to update @@ -631,9 +631,9 @@ class APIKeys(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.UpdateKeysRequest( + request = operations.UpdateKeysRequest( hash=hash, - body=models.UpdateKeysRequestBody( + body=operations.UpdateKeysRequestBody( name=name, disabled=disabled, limit=limit, @@ -656,7 +656,7 @@ class APIKeys(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request.body, False, False, "json", models.UpdateKeysRequestBody + request.body, False, False, "json", operations.UpdateKeysRequestBody ), timeout_ms=timeout_ms, ) @@ -676,7 +676,7 @@ class APIKeys(BaseSDK): operation_id="updateKeys", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -686,7 +686,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.UpdateKeysResponse, http_res) + return unmarshal_json_response(operations.UpdateKeysResponse, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res @@ -733,7 +733,7 @@ class APIKeys(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.DeleteKeysResponse: + ) -> operations.DeleteKeysResponse: r"""Delete an API key :param hash: The hash identifier of the API key to delete @@ -752,7 +752,7 @@ class APIKeys(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.DeleteKeysRequest( + request = operations.DeleteKeysRequest( hash=hash, ) @@ -787,7 +787,7 @@ class APIKeys(BaseSDK): operation_id="deleteKeys", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -797,7 +797,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.DeleteKeysResponse, http_res) + return unmarshal_json_response(operations.DeleteKeysResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -839,7 +839,7 @@ class APIKeys(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.DeleteKeysResponse: + ) -> operations.DeleteKeysResponse: r"""Delete an API key :param hash: The hash identifier of the API key to delete @@ -858,7 +858,7 @@ class APIKeys(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.DeleteKeysRequest( + request = operations.DeleteKeysRequest( hash=hash, ) @@ -893,7 +893,7 @@ class APIKeys(BaseSDK): operation_id="deleteKeys", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -903,7 +903,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.DeleteKeysResponse, http_res) + return unmarshal_json_response(operations.DeleteKeysResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -945,7 +945,7 @@ class APIKeys(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.GetKeyData: + ) -> operations.GetKeyData: r"""Get a single API key :param hash: The hash identifier of the API key to retrieve @@ -964,7 +964,7 @@ class APIKeys(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.GetKeyRequest( + request = operations.GetKeyRequest( hash=hash, ) @@ -999,7 +999,7 @@ class APIKeys(BaseSDK): operation_id="getKey", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -1009,7 +1009,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetKeyResponse, http_res) + return unmarshal_json_response(operations.GetKeyResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -1051,7 +1051,7 @@ class APIKeys(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.GetKeyData: + ) -> operations.GetKeyData: r"""Get a single API key :param hash: The hash identifier of the API key to retrieve @@ -1070,7 +1070,7 @@ class APIKeys(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.GetKeyRequest( + request = operations.GetKeyRequest( hash=hash, ) @@ -1105,7 +1105,7 @@ class APIKeys(BaseSDK): operation_id="getKey", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -1115,7 +1115,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetKeyResponse, http_res) + return unmarshal_json_response(operations.GetKeyResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -1156,7 +1156,7 @@ class APIKeys(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.GetCurrentKeyData: + ) -> operations.GetCurrentKeyData: r"""Get current API key Get information on the API key associated with the current authentication session @@ -1206,7 +1206,7 @@ class APIKeys(BaseSDK): operation_id="getCurrentKey", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -1216,7 +1216,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetCurrentKeyResponse, http_res) + return unmarshal_json_response(operations.GetCurrentKeyResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -1247,7 +1247,7 @@ class APIKeys(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.GetCurrentKeyData: + ) -> operations.GetCurrentKeyData: r"""Get current API key Get information on the API key associated with the current authentication session @@ -1297,7 +1297,7 @@ class APIKeys(BaseSDK): operation_id="getCurrentKey", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -1307,7 +1307,7 @@ class APIKeys(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetCurrentKeyResponse, http_res) + return unmarshal_json_response(operations.GetCurrentKeyResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res diff --git a/src/openrouter/basesdk.py b/src/openrouter/basesdk.py index a550aff..17059ed 100644 --- a/src/openrouter/basesdk.py +++ b/src/openrouter/basesdk.py @@ -2,7 +2,7 @@ from .sdkconfiguration import SDKConfiguration import httpx -from openrouter import errors, models, utils +from openrouter import components, errors, utils from openrouter._hooks import ( AfterErrorContext, AfterSuccessContext, @@ -175,7 +175,7 @@ class BaseSDK: if security is not None: if callable(security): security = security() - security = utils.get_security_from_env(security, models.Security) + security = utils.get_security_from_env(security, components.Security) if security is not None: security_headers, security_query_params = utils.get_security(security) headers = {**headers, **security_headers} diff --git a/src/openrouter/chat.py b/src/openrouter/chat.py index d0a3bda..5a80cf8 100644 --- a/src/openrouter/chat.py +++ b/src/openrouter/chat.py @@ -2,7 +2,7 @@ from .basesdk import BaseSDK from enum import Enum -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext from openrouter.types import OptionalNullable, UNSET from openrouter.utils import eventstreaming, get_security_from_env @@ -20,7 +20,7 @@ class Chat(BaseSDK): def send( self, *, - messages: Union[List[models.Message], List[models.MessageTypedDict]], + messages: Union[List[components.Message], List[components.MessageTypedDict]], model: Optional[str] = None, models: Optional[List[str]] = None, frequency_penalty: OptionalNullable[float] = UNSET, @@ -31,30 +31,32 @@ class Chat(BaseSDK): max_tokens: OptionalNullable[float] = UNSET, metadata: Optional[Dict[str, str]] = None, presence_penalty: OptionalNullable[float] = UNSET, - reasoning: Optional[Union[models.Reasoning, models.ReasoningTypedDict]] = None, + reasoning: Optional[ + Union[components.Reasoning, components.ReasoningTypedDict] + ] = None, response_format: Optional[ Union[ - models.ChatGenerationParamsResponseFormatUnion, - models.ChatGenerationParamsResponseFormatUnionTypedDict, + components.ChatGenerationParamsResponseFormatUnion, + components.ChatGenerationParamsResponseFormatUnionTypedDict, ] ] = None, seed: OptionalNullable[int] = UNSET, stop: OptionalNullable[ Union[ - models.ChatGenerationParamsStop, - models.ChatGenerationParamsStopTypedDict, + components.ChatGenerationParamsStop, + components.ChatGenerationParamsStopTypedDict, ] ] = UNSET, stream: Union[Literal[False], None] = None, stream_options: OptionalNullable[ - Union[models.ChatStreamOptions, models.ChatStreamOptionsTypedDict] + Union[components.ChatStreamOptions, components.ChatStreamOptionsTypedDict] ] = UNSET, temperature: OptionalNullable[float] = UNSET, tool_choice: Optional[Any] = None, tools: Optional[ Union[ - List[models.ToolDefinitionJSON], - List[models.ToolDefinitionJSONTypedDict], + List[components.ToolDefinitionJSON], + List[components.ToolDefinitionJSONTypedDict], ] ] = None, top_p: OptionalNullable[float] = UNSET, @@ -63,7 +65,7 @@ class Chat(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.ChatResponse: + ) -> components.ChatResponse: r"""Create a chat completion Sends a request for a model response for the given chat conversation. Supports both streaming and non-streaming modes. @@ -101,7 +103,7 @@ class Chat(BaseSDK): def send( self, *, - messages: Union[List[models.Message], List[models.MessageTypedDict]], + messages: Union[List[components.Message], List[components.MessageTypedDict]], model: Optional[str] = None, models: Optional[List[str]] = None, frequency_penalty: OptionalNullable[float] = UNSET, @@ -112,30 +114,32 @@ class Chat(BaseSDK): max_tokens: OptionalNullable[float] = UNSET, metadata: Optional[Dict[str, str]] = None, presence_penalty: OptionalNullable[float] = UNSET, - reasoning: Optional[Union[models.Reasoning, models.ReasoningTypedDict]] = None, + reasoning: Optional[ + Union[components.Reasoning, components.ReasoningTypedDict] + ] = None, response_format: Optional[ Union[ - models.ChatGenerationParamsResponseFormatUnion, - models.ChatGenerationParamsResponseFormatUnionTypedDict, + components.ChatGenerationParamsResponseFormatUnion, + components.ChatGenerationParamsResponseFormatUnionTypedDict, ] ] = None, seed: OptionalNullable[int] = UNSET, stop: OptionalNullable[ Union[ - models.ChatGenerationParamsStop, - models.ChatGenerationParamsStopTypedDict, + components.ChatGenerationParamsStop, + components.ChatGenerationParamsStopTypedDict, ] ] = UNSET, stream: Literal[True], stream_options: OptionalNullable[ - Union[models.ChatStreamOptions, models.ChatStreamOptionsTypedDict] + Union[components.ChatStreamOptions, components.ChatStreamOptionsTypedDict] ] = UNSET, temperature: OptionalNullable[float] = UNSET, tool_choice: Optional[Any] = None, tools: Optional[ Union[ - List[models.ToolDefinitionJSON], - List[models.ToolDefinitionJSONTypedDict], + List[components.ToolDefinitionJSON], + List[components.ToolDefinitionJSONTypedDict], ] ] = None, top_p: OptionalNullable[float] = UNSET, @@ -144,7 +148,7 @@ class Chat(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> eventstreaming.EventStream[models.ChatStreamingResponseChunkData]: + ) -> eventstreaming.EventStream[components.ChatStreamingResponseChunkData]: r"""Create a chat completion Sends a request for a model response for the given chat conversation. Supports both streaming and non-streaming modes. @@ -181,7 +185,7 @@ class Chat(BaseSDK): def send( self, *, - messages: Union[List[models.Message], List[models.MessageTypedDict]], + messages: Union[List[components.Message], List[components.MessageTypedDict]], model: Optional[str] = None, models: Optional[List[str]] = None, frequency_penalty: OptionalNullable[float] = UNSET, @@ -192,30 +196,32 @@ class Chat(BaseSDK): max_tokens: OptionalNullable[float] = UNSET, metadata: Optional[Dict[str, str]] = None, presence_penalty: OptionalNullable[float] = UNSET, - reasoning: Optional[Union[models.Reasoning, models.ReasoningTypedDict]] = None, + reasoning: Optional[ + Union[components.Reasoning, components.ReasoningTypedDict] + ] = None, response_format: Optional[ Union[ - models.ChatGenerationParamsResponseFormatUnion, - models.ChatGenerationParamsResponseFormatUnionTypedDict, + components.ChatGenerationParamsResponseFormatUnion, + components.ChatGenerationParamsResponseFormatUnionTypedDict, ] ] = None, seed: OptionalNullable[int] = UNSET, stop: OptionalNullable[ Union[ - models.ChatGenerationParamsStop, - models.ChatGenerationParamsStopTypedDict, + components.ChatGenerationParamsStop, + components.ChatGenerationParamsStopTypedDict, ] ] = UNSET, stream: Optional[bool] = False, stream_options: OptionalNullable[ - Union[models.ChatStreamOptions, models.ChatStreamOptionsTypedDict] + Union[components.ChatStreamOptions, components.ChatStreamOptionsTypedDict] ] = UNSET, temperature: OptionalNullable[float] = UNSET, tool_choice: Optional[Any] = None, tools: Optional[ Union[ - List[models.ToolDefinitionJSON], - List[models.ToolDefinitionJSONTypedDict], + List[components.ToolDefinitionJSON], + List[components.ToolDefinitionJSONTypedDict], ] ] = None, top_p: OptionalNullable[float] = UNSET, @@ -224,7 +230,7 @@ class Chat(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SendChatCompletionRequestResponse: + ) -> operations.SendChatCompletionRequestResponse: r"""Create a chat completion Sends a request for a model response for the given chat conversation. Supports both streaming and non-streaming modes. @@ -267,8 +273,8 @@ class Chat(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.ChatGenerationParams( - messages=utils.get_pydantic_model(messages, List[models.Message]), + request = components.ChatGenerationParams( + messages=utils.get_pydantic_model(messages, List[components.Message]), model=model, models=models, frequency_penalty=frequency_penalty, @@ -279,21 +285,23 @@ class Chat(BaseSDK): max_tokens=max_tokens, metadata=metadata, presence_penalty=presence_penalty, - reasoning=utils.get_pydantic_model(reasoning, Optional[models.Reasoning]), + reasoning=utils.get_pydantic_model( + reasoning, Optional[components.Reasoning] + ), response_format=utils.get_pydantic_model( response_format, - Optional[models.ChatGenerationParamsResponseFormatUnion], + Optional[components.ChatGenerationParamsResponseFormatUnion], ), seed=seed, stop=stop, stream=stream, stream_options=utils.get_pydantic_model( - stream_options, OptionalNullable[models.ChatStreamOptions] + stream_options, OptionalNullable[components.ChatStreamOptions] ), temperature=temperature, tool_choice=tool_choice, tools=utils.get_pydantic_model( - tools, Optional[List[models.ToolDefinitionJSON]] + tools, Optional[List[components.ToolDefinitionJSON]] ), top_p=top_p, user=user, @@ -313,7 +321,7 @@ class Chat(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.ChatGenerationParams + request, False, False, "json", components.ChatGenerationParams ), timeout_ms=timeout_ms, ) @@ -333,7 +341,7 @@ class Chat(BaseSDK): operation_id="sendChatCompletionRequest", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -345,12 +353,14 @@ class Chat(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): http_res_text = utils.stream_to_text(http_res) - return unmarshal_json_response(models.ChatResponse, http_res, http_res_text) + return unmarshal_json_response( + components.ChatResponse, http_res, http_res_text + ) if utils.match_response(http_res, "200", "text/event-stream"): return eventstreaming.EventStream( http_res, lambda raw: utils.unmarshal_json( - raw, models.ChatStreamingResponseChunk + raw, components.ChatStreamingResponseChunk ).data, sentinel="[DONE]", client_ref=self, @@ -387,7 +397,7 @@ class Chat(BaseSDK): async def send_async( self, *, - messages: Union[List[models.Message], List[models.MessageTypedDict]], + messages: Union[List[components.Message], List[components.MessageTypedDict]], model: Optional[str] = None, models: Optional[List[str]] = None, frequency_penalty: OptionalNullable[float] = UNSET, @@ -398,30 +408,32 @@ class Chat(BaseSDK): max_tokens: OptionalNullable[float] = UNSET, metadata: Optional[Dict[str, str]] = None, presence_penalty: OptionalNullable[float] = UNSET, - reasoning: Optional[Union[models.Reasoning, models.ReasoningTypedDict]] = None, + reasoning: Optional[ + Union[components.Reasoning, components.ReasoningTypedDict] + ] = None, response_format: Optional[ Union[ - models.ChatGenerationParamsResponseFormatUnion, - models.ChatGenerationParamsResponseFormatUnionTypedDict, + components.ChatGenerationParamsResponseFormatUnion, + components.ChatGenerationParamsResponseFormatUnionTypedDict, ] ] = None, seed: OptionalNullable[int] = UNSET, stop: OptionalNullable[ Union[ - models.ChatGenerationParamsStop, - models.ChatGenerationParamsStopTypedDict, + components.ChatGenerationParamsStop, + components.ChatGenerationParamsStopTypedDict, ] ] = UNSET, stream: Union[Literal[False], None] = None, stream_options: OptionalNullable[ - Union[models.ChatStreamOptions, models.ChatStreamOptionsTypedDict] + Union[components.ChatStreamOptions, components.ChatStreamOptionsTypedDict] ] = UNSET, temperature: OptionalNullable[float] = UNSET, tool_choice: Optional[Any] = None, tools: Optional[ Union[ - List[models.ToolDefinitionJSON], - List[models.ToolDefinitionJSONTypedDict], + List[components.ToolDefinitionJSON], + List[components.ToolDefinitionJSONTypedDict], ] ] = None, top_p: OptionalNullable[float] = UNSET, @@ -430,7 +442,7 @@ class Chat(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.ChatResponse: + ) -> components.ChatResponse: r"""Create a chat completion Sends a request for a model response for the given chat conversation. Supports both streaming and non-streaming modes. @@ -468,7 +480,7 @@ class Chat(BaseSDK): async def send_async( self, *, - messages: Union[List[models.Message], List[models.MessageTypedDict]], + messages: Union[List[components.Message], List[components.MessageTypedDict]], model: Optional[str] = None, models: Optional[List[str]] = None, frequency_penalty: OptionalNullable[float] = UNSET, @@ -479,30 +491,32 @@ class Chat(BaseSDK): max_tokens: OptionalNullable[float] = UNSET, metadata: Optional[Dict[str, str]] = None, presence_penalty: OptionalNullable[float] = UNSET, - reasoning: Optional[Union[models.Reasoning, models.ReasoningTypedDict]] = None, + reasoning: Optional[ + Union[components.Reasoning, components.ReasoningTypedDict] + ] = None, response_format: Optional[ Union[ - models.ChatGenerationParamsResponseFormatUnion, - models.ChatGenerationParamsResponseFormatUnionTypedDict, + components.ChatGenerationParamsResponseFormatUnion, + components.ChatGenerationParamsResponseFormatUnionTypedDict, ] ] = None, seed: OptionalNullable[int] = UNSET, stop: OptionalNullable[ Union[ - models.ChatGenerationParamsStop, - models.ChatGenerationParamsStopTypedDict, + components.ChatGenerationParamsStop, + components.ChatGenerationParamsStopTypedDict, ] ] = UNSET, stream: Literal[True], stream_options: OptionalNullable[ - Union[models.ChatStreamOptions, models.ChatStreamOptionsTypedDict] + Union[components.ChatStreamOptions, components.ChatStreamOptionsTypedDict] ] = UNSET, temperature: OptionalNullable[float] = UNSET, tool_choice: Optional[Any] = None, tools: Optional[ Union[ - List[models.ToolDefinitionJSON], - List[models.ToolDefinitionJSONTypedDict], + List[components.ToolDefinitionJSON], + List[components.ToolDefinitionJSONTypedDict], ] ] = None, top_p: OptionalNullable[float] = UNSET, @@ -511,7 +525,7 @@ class Chat(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> eventstreaming.EventStreamAsync[models.ChatStreamingResponseChunkData]: + ) -> eventstreaming.EventStreamAsync[components.ChatStreamingResponseChunkData]: r"""Create a chat completion Sends a request for a model response for the given chat conversation. Supports both streaming and non-streaming modes. @@ -548,7 +562,7 @@ class Chat(BaseSDK): async def send_async( self, *, - messages: Union[List[models.Message], List[models.MessageTypedDict]], + messages: Union[List[components.Message], List[components.MessageTypedDict]], model: Optional[str] = None, models: Optional[List[str]] = None, frequency_penalty: OptionalNullable[float] = UNSET, @@ -559,30 +573,32 @@ class Chat(BaseSDK): max_tokens: OptionalNullable[float] = UNSET, metadata: Optional[Dict[str, str]] = None, presence_penalty: OptionalNullable[float] = UNSET, - reasoning: Optional[Union[models.Reasoning, models.ReasoningTypedDict]] = None, + reasoning: Optional[ + Union[components.Reasoning, components.ReasoningTypedDict] + ] = None, response_format: Optional[ Union[ - models.ChatGenerationParamsResponseFormatUnion, - models.ChatGenerationParamsResponseFormatUnionTypedDict, + components.ChatGenerationParamsResponseFormatUnion, + components.ChatGenerationParamsResponseFormatUnionTypedDict, ] ] = None, seed: OptionalNullable[int] = UNSET, stop: OptionalNullable[ Union[ - models.ChatGenerationParamsStop, - models.ChatGenerationParamsStopTypedDict, + components.ChatGenerationParamsStop, + components.ChatGenerationParamsStopTypedDict, ] ] = UNSET, stream: Optional[bool] = False, stream_options: OptionalNullable[ - Union[models.ChatStreamOptions, models.ChatStreamOptionsTypedDict] + Union[components.ChatStreamOptions, components.ChatStreamOptionsTypedDict] ] = UNSET, temperature: OptionalNullable[float] = UNSET, tool_choice: Optional[Any] = None, tools: Optional[ Union[ - List[models.ToolDefinitionJSON], - List[models.ToolDefinitionJSONTypedDict], + List[components.ToolDefinitionJSON], + List[components.ToolDefinitionJSONTypedDict], ] ] = None, top_p: OptionalNullable[float] = UNSET, @@ -591,7 +607,7 @@ class Chat(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SendChatCompletionRequestResponse: + ) -> operations.SendChatCompletionRequestResponse: r"""Create a chat completion Sends a request for a model response for the given chat conversation. Supports both streaming and non-streaming modes. @@ -634,8 +650,8 @@ class Chat(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.ChatGenerationParams( - messages=utils.get_pydantic_model(messages, List[models.Message]), + request = components.ChatGenerationParams( + messages=utils.get_pydantic_model(messages, List[components.Message]), model=model, models=models, frequency_penalty=frequency_penalty, @@ -646,21 +662,23 @@ class Chat(BaseSDK): max_tokens=max_tokens, metadata=metadata, presence_penalty=presence_penalty, - reasoning=utils.get_pydantic_model(reasoning, Optional[models.Reasoning]), + reasoning=utils.get_pydantic_model( + reasoning, Optional[components.Reasoning] + ), response_format=utils.get_pydantic_model( response_format, - Optional[models.ChatGenerationParamsResponseFormatUnion], + Optional[components.ChatGenerationParamsResponseFormatUnion], ), seed=seed, stop=stop, stream=stream, stream_options=utils.get_pydantic_model( - stream_options, OptionalNullable[models.ChatStreamOptions] + stream_options, OptionalNullable[components.ChatStreamOptions] ), temperature=temperature, tool_choice=tool_choice, tools=utils.get_pydantic_model( - tools, Optional[List[models.ToolDefinitionJSON]] + tools, Optional[List[components.ToolDefinitionJSON]] ), top_p=top_p, user=user, @@ -680,7 +698,7 @@ class Chat(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.ChatGenerationParams + request, False, False, "json", components.ChatGenerationParams ), timeout_ms=timeout_ms, ) @@ -700,7 +718,7 @@ class Chat(BaseSDK): operation_id="sendChatCompletionRequest", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -712,12 +730,14 @@ class Chat(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): http_res_text = await utils.stream_to_text_async(http_res) - return unmarshal_json_response(models.ChatResponse, http_res, http_res_text) + return unmarshal_json_response( + components.ChatResponse, http_res, http_res_text + ) if utils.match_response(http_res, "200", "text/event-stream"): return eventstreaming.EventStreamAsync( http_res, lambda raw: utils.unmarshal_json( - raw, models.ChatStreamingResponseChunk + raw, components.ChatStreamingResponseChunk ).data, sentinel="[DONE]", client_ref=self, diff --git a/src/openrouter/completions.py b/src/openrouter/completions.py index 7eb2d70..4ffeb7b 100644 --- a/src/openrouter/completions.py +++ b/src/openrouter/completions.py @@ -1,9 +1,8 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from openrouter import errors, models, utils +from openrouter import components, errors, utils from openrouter._hooks import HookContext -from openrouter.models import completioncreateparams as models_completioncreateparams from openrouter.types import OptionalNullable, UNSET from openrouter.utils import get_security_from_env from openrouter.utils.unmarshal_json_response import unmarshal_json_response @@ -14,10 +13,7 @@ class Completions(BaseSDK): def generate( self, *, - prompt: Union[ - models_completioncreateparams.Prompt, - models_completioncreateparams.PromptTypedDict, - ], + prompt: Union[components.Prompt, components.PromptTypedDict], model: Optional[str] = None, models: Optional[List[str]] = None, best_of: OptionalNullable[int] = UNSET, @@ -31,16 +27,13 @@ class Completions(BaseSDK): seed: OptionalNullable[int] = UNSET, stop: OptionalNullable[ Union[ - models_completioncreateparams.CompletionCreateParamsStop, - models_completioncreateparams.CompletionCreateParamsStopTypedDict, + components.CompletionCreateParamsStop, + components.CompletionCreateParamsStopTypedDict, ] ] = UNSET, stream: Optional[bool] = False, stream_options: OptionalNullable[ - Union[ - models_completioncreateparams.StreamOptions, - models_completioncreateparams.StreamOptionsTypedDict, - ] + Union[components.StreamOptions, components.StreamOptionsTypedDict] ] = UNSET, suffix: OptionalNullable[str] = UNSET, temperature: OptionalNullable[float] = UNSET, @@ -49,15 +42,15 @@ class Completions(BaseSDK): metadata: OptionalNullable[Dict[str, str]] = UNSET, response_format: OptionalNullable[ Union[ - models_completioncreateparams.CompletionCreateParamsResponseFormatUnion, - models_completioncreateparams.CompletionCreateParamsResponseFormatUnionTypedDict, + components.CompletionCreateParamsResponseFormatUnion, + components.CompletionCreateParamsResponseFormatUnionTypedDict, ] ] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CompletionResponse: + ) -> components.CompletionResponse: r"""Create a completion Creates a completion for the provided prompt and parameters. Supports both streaming and non-streaming modes. @@ -98,7 +91,7 @@ class Completions(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.CompletionCreateParams( + request = components.CompletionCreateParams( model=model, models=models, prompt=prompt, @@ -114,7 +107,7 @@ class Completions(BaseSDK): stop=stop, stream=stream, stream_options=utils.get_pydantic_model( - stream_options, OptionalNullable[models.StreamOptions] + stream_options, OptionalNullable[components.StreamOptions] ), suffix=suffix, temperature=temperature, @@ -123,7 +116,7 @@ class Completions(BaseSDK): metadata=metadata, response_format=utils.get_pydantic_model( response_format, - OptionalNullable[models.CompletionCreateParamsResponseFormatUnion], + OptionalNullable[components.CompletionCreateParamsResponseFormatUnion], ), ) @@ -141,7 +134,7 @@ class Completions(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CompletionCreateParams + request, False, False, "json", components.CompletionCreateParams ), timeout_ms=timeout_ms, ) @@ -161,7 +154,7 @@ class Completions(BaseSDK): operation_id="createCompletions", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -171,7 +164,7 @@ class Completions(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.CompletionResponse, http_res) + return unmarshal_json_response(components.CompletionResponse, http_res) if utils.match_response(http_res, ["400", "401", "429"], "application/json"): response_data = unmarshal_json_response(errors.ChatErrorData, http_res) raise errors.ChatError(response_data, http_res) @@ -194,10 +187,7 @@ class Completions(BaseSDK): async def generate_async( self, *, - prompt: Union[ - models_completioncreateparams.Prompt, - models_completioncreateparams.PromptTypedDict, - ], + prompt: Union[components.Prompt, components.PromptTypedDict], model: Optional[str] = None, models: Optional[List[str]] = None, best_of: OptionalNullable[int] = UNSET, @@ -211,16 +201,13 @@ class Completions(BaseSDK): seed: OptionalNullable[int] = UNSET, stop: OptionalNullable[ Union[ - models_completioncreateparams.CompletionCreateParamsStop, - models_completioncreateparams.CompletionCreateParamsStopTypedDict, + components.CompletionCreateParamsStop, + components.CompletionCreateParamsStopTypedDict, ] ] = UNSET, stream: Optional[bool] = False, stream_options: OptionalNullable[ - Union[ - models_completioncreateparams.StreamOptions, - models_completioncreateparams.StreamOptionsTypedDict, - ] + Union[components.StreamOptions, components.StreamOptionsTypedDict] ] = UNSET, suffix: OptionalNullable[str] = UNSET, temperature: OptionalNullable[float] = UNSET, @@ -229,15 +216,15 @@ class Completions(BaseSDK): metadata: OptionalNullable[Dict[str, str]] = UNSET, response_format: OptionalNullable[ Union[ - models_completioncreateparams.CompletionCreateParamsResponseFormatUnion, - models_completioncreateparams.CompletionCreateParamsResponseFormatUnionTypedDict, + components.CompletionCreateParamsResponseFormatUnion, + components.CompletionCreateParamsResponseFormatUnionTypedDict, ] ] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CompletionResponse: + ) -> components.CompletionResponse: r"""Create a completion Creates a completion for the provided prompt and parameters. Supports both streaming and non-streaming modes. @@ -278,7 +265,7 @@ class Completions(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.CompletionCreateParams( + request = components.CompletionCreateParams( model=model, models=models, prompt=prompt, @@ -294,7 +281,7 @@ class Completions(BaseSDK): stop=stop, stream=stream, stream_options=utils.get_pydantic_model( - stream_options, OptionalNullable[models.StreamOptions] + stream_options, OptionalNullable[components.StreamOptions] ), suffix=suffix, temperature=temperature, @@ -303,7 +290,7 @@ class Completions(BaseSDK): metadata=metadata, response_format=utils.get_pydantic_model( response_format, - OptionalNullable[models.CompletionCreateParamsResponseFormatUnion], + OptionalNullable[components.CompletionCreateParamsResponseFormatUnion], ), ) @@ -321,7 +308,7 @@ class Completions(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CompletionCreateParams + request, False, False, "json", components.CompletionCreateParams ), timeout_ms=timeout_ms, ) @@ -341,7 +328,7 @@ class Completions(BaseSDK): operation_id="createCompletions", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -351,7 +338,7 @@ class Completions(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.CompletionResponse, http_res) + return unmarshal_json_response(components.CompletionResponse, http_res) if utils.match_response(http_res, ["400", "401", "429"], "application/json"): response_data = unmarshal_json_response(errors.ChatErrorData, http_res) raise errors.ChatError(response_data, http_res) diff --git a/src/openrouter/models/__init__.py b/src/openrouter/components/__init__.py similarity index 84% rename from src/openrouter/models/__init__.py rename to src/openrouter/components/__init__.py index a9df123..449b9d4 100644 --- a/src/openrouter/models/__init__.py +++ b/src/openrouter/components/__init__.py @@ -141,155 +141,23 @@ if TYPE_CHECKING: from .completionlogprobs import CompletionLogprobs, CompletionLogprobsTypedDict from .completionresponse import CompletionResponse, CompletionResponseTypedDict from .completionusage import CompletionUsage, CompletionUsageTypedDict - from .createauthkeyscodeop import ( - CreateAuthKeysCodeCodeChallengeMethod, - CreateAuthKeysCodeData, - CreateAuthKeysCodeDataTypedDict, - CreateAuthKeysCodeRequest, - CreateAuthKeysCodeRequestTypedDict, - CreateAuthKeysCodeResponse, - CreateAuthKeysCodeResponseTypedDict, - ) from .createchargerequest import ( ChainID, CreateChargeRequest, CreateChargeRequestTypedDict, ) - from .createcoinbasechargeop import ( - CallData, - CallDataTypedDict, - CreateCoinbaseChargeData, - CreateCoinbaseChargeDataTypedDict, - CreateCoinbaseChargeResponse, - CreateCoinbaseChargeResponseTypedDict, - CreateCoinbaseChargeSecurity, - CreateCoinbaseChargeSecurityTypedDict, - Metadata, - MetadataTypedDict, - TransferIntent, - TransferIntentTypedDict, - Web3Data, - Web3DataTypedDict, - ) - from .createembeddingsop import ( - CreateEmbeddingsData, - CreateEmbeddingsDataCollection, - CreateEmbeddingsDataTypedDict, - CreateEmbeddingsIgnore, - CreateEmbeddingsIgnoreTypedDict, - CreateEmbeddingsMaxPrice, - CreateEmbeddingsMaxPriceTypedDict, - CreateEmbeddingsObject, - CreateEmbeddingsOnly, - CreateEmbeddingsOnlyTypedDict, - CreateEmbeddingsOrder, - CreateEmbeddingsOrderTypedDict, - CreateEmbeddingsProvider, - CreateEmbeddingsProviderTypedDict, - CreateEmbeddingsRequest, - CreateEmbeddingsRequestTypedDict, - CreateEmbeddingsResponse, - CreateEmbeddingsResponseBody, - CreateEmbeddingsResponseBodyTypedDict, - CreateEmbeddingsResponseTypedDict, - CreateEmbeddingsSort, - Embedding, - EmbeddingTypedDict, - EncodingFormat, - EncodingFormatBase64, - EncodingFormatFloat, - EncodingFormatTypedDict, - Input, - InputTypedDict, - ObjectEmbedding, - Usage, - UsageTypedDict, - ) - from .createkeysop import ( - CreateKeysData, - CreateKeysDataTypedDict, - CreateKeysLimitReset, - CreateKeysRequest, - CreateKeysRequestTypedDict, - CreateKeysResponse, - CreateKeysResponseTypedDict, - ) - from .createresponsesop import ( - CreateResponsesResponse, - CreateResponsesResponseBody, - CreateResponsesResponseBodyTypedDict, - CreateResponsesResponseTypedDict, - ) from .defaultparameters import DefaultParameters, DefaultParametersTypedDict - from .deletekeysop import ( - DeleteKeysRequest, - DeleteKeysRequestTypedDict, - DeleteKeysResponse, - DeleteKeysResponseTypedDict, - ) from .edgenetworktimeoutresponseerrordata import ( EdgeNetworkTimeoutResponseErrorData, EdgeNetworkTimeoutResponseErrorDataTypedDict, ) from .endpointstatus import EndpointStatus - from .exchangeauthcodeforapikeyop import ( - ExchangeAuthCodeForAPIKeyCodeChallengeMethod, - ExchangeAuthCodeForAPIKeyRequest, - ExchangeAuthCodeForAPIKeyRequestTypedDict, - ExchangeAuthCodeForAPIKeyResponse, - ExchangeAuthCodeForAPIKeyResponseTypedDict, - ) from .filecitation import FileCitation, FileCitationType, FileCitationTypedDict from .filepath import FilePath, FilePathType, FilePathTypedDict from .forbiddenresponseerrordata import ( ForbiddenResponseErrorData, ForbiddenResponseErrorDataTypedDict, ) - from .getcreditsop import GetCreditsResponse, GetCreditsResponseTypedDict - from .getcurrentkeyop import ( - GetCurrentKeyData, - GetCurrentKeyDataTypedDict, - GetCurrentKeyResponse, - GetCurrentKeyResponseTypedDict, - RateLimit, - RateLimitTypedDict, - ) - from .getgenerationop import ( - APIType, - GetGenerationData, - GetGenerationDataTypedDict, - GetGenerationRequest, - GetGenerationRequestTypedDict, - GetGenerationResponse, - GetGenerationResponseTypedDict, - ) - from .getkeyop import ( - GetKeyData, - GetKeyDataTypedDict, - GetKeyRequest, - GetKeyRequestTypedDict, - GetKeyResponse, - GetKeyResponseTypedDict, - ) - from .getmodelsop import GetModelsRequest, GetModelsRequestTypedDict - from .getparametersop import ( - GetParametersData, - GetParametersDataTypedDict, - GetParametersProvider, - GetParametersRequest, - GetParametersRequestTypedDict, - GetParametersResponse, - GetParametersResponseTypedDict, - GetParametersSecurity, - GetParametersSecurityTypedDict, - SupportedParameter, - ) - from .getuseractivityop import ( - GetUserActivityRequest, - GetUserActivityRequestTypedDict, - GetUserActivityResponse, - GetUserActivityResponseTypedDict, - ) from .imagegenerationstatus import ImageGenerationStatus from .inputmodality import InputModality from .instructtype import InstructType @@ -298,12 +166,6 @@ if TYPE_CHECKING: InternalServerResponseErrorDataTypedDict, ) from .jsonschemaconfig import JSONSchemaConfig, JSONSchemaConfigTypedDict - from .listendpointsop import ( - EndpointsListEndpointsResponse, - EndpointsListEndpointsResponseTypedDict, - ListEndpointsRequest, - ListEndpointsRequestTypedDict, - ) from .listendpointsresponse import ( Architecture, ArchitectureTypedDict, @@ -311,28 +173,6 @@ if TYPE_CHECKING: ListEndpointsResponseTypedDict, Tokenizer, ) - from .listendpointszdrop import ( - ListEndpointsZdrResponse, - ListEndpointsZdrResponseTypedDict, - ) - from .listmodelsuserop import ( - ListModelsUserSecurity, - ListModelsUserSecurityTypedDict, - ) - from .listop import ( - ListData, - ListDataTypedDict, - ListRequest, - ListRequestTypedDict, - ListResponse, - ListResponseTypedDict, - ) - from .listprovidersop import ( - ListProvidersData, - ListProvidersDataTypedDict, - ListProvidersResponse, - ListProvidersResponseTypedDict, - ) from .message import ( Message, MessageContent, @@ -887,10 +727,6 @@ if TYPE_CHECKING: ResponseTextConfigVerbosity, ) from .security import Security, SecurityTypedDict - from .sendchatcompletionrequestop import ( - SendChatCompletionRequestResponse, - SendChatCompletionRequestResponseTypedDict, - ) from .serviceunavailableresponseerrordata import ( ServiceUnavailableResponseErrorData, ServiceUnavailableResponseErrorDataTypedDict, @@ -927,17 +763,6 @@ if TYPE_CHECKING: UnprocessableEntityResponseErrorData, UnprocessableEntityResponseErrorDataTypedDict, ) - from .updatekeysop import ( - UpdateKeysData, - UpdateKeysDataTypedDict, - UpdateKeysLimitReset, - UpdateKeysRequest, - UpdateKeysRequestBody, - UpdateKeysRequestBodyTypedDict, - UpdateKeysRequestTypedDict, - UpdateKeysResponse, - UpdateKeysResponseTypedDict, - ) from .urlcitation import URLCitation, URLCitationType, URLCitationTypedDict from .usermessage import ( UserMessage, @@ -953,7 +778,6 @@ if TYPE_CHECKING: from .websearchstatus import WebSearchStatus __all__ = [ - "APIType", "ActivityItem", "ActivityItemTypedDict", "Architecture", @@ -966,8 +790,6 @@ __all__ = [ "BadGatewayResponseErrorDataTypedDict", "BadRequestResponseErrorData", "BadRequestResponseErrorDataTypedDict", - "CallData", - "CallDataTypedDict", "ChainID", "ChatCompletionFinishReason", "ChatErrorError", @@ -1057,78 +879,16 @@ __all__ = [ "CompletionUsageTypedDict", "CostDetails", "CostDetailsTypedDict", - "CreateAuthKeysCodeCodeChallengeMethod", - "CreateAuthKeysCodeData", - "CreateAuthKeysCodeDataTypedDict", - "CreateAuthKeysCodeRequest", - "CreateAuthKeysCodeRequestTypedDict", - "CreateAuthKeysCodeResponse", - "CreateAuthKeysCodeResponseTypedDict", "CreateChargeRequest", "CreateChargeRequestTypedDict", - "CreateCoinbaseChargeData", - "CreateCoinbaseChargeDataTypedDict", - "CreateCoinbaseChargeResponse", - "CreateCoinbaseChargeResponseTypedDict", - "CreateCoinbaseChargeSecurity", - "CreateCoinbaseChargeSecurityTypedDict", - "CreateEmbeddingsData", - "CreateEmbeddingsDataCollection", - "CreateEmbeddingsDataTypedDict", - "CreateEmbeddingsIgnore", - "CreateEmbeddingsIgnoreTypedDict", - "CreateEmbeddingsMaxPrice", - "CreateEmbeddingsMaxPriceTypedDict", - "CreateEmbeddingsObject", - "CreateEmbeddingsOnly", - "CreateEmbeddingsOnlyTypedDict", - "CreateEmbeddingsOrder", - "CreateEmbeddingsOrderTypedDict", - "CreateEmbeddingsProvider", - "CreateEmbeddingsProviderTypedDict", - "CreateEmbeddingsRequest", - "CreateEmbeddingsRequestTypedDict", - "CreateEmbeddingsResponse", - "CreateEmbeddingsResponseBody", - "CreateEmbeddingsResponseBodyTypedDict", - "CreateEmbeddingsResponseTypedDict", - "CreateEmbeddingsSort", - "CreateKeysData", - "CreateKeysDataTypedDict", - "CreateKeysLimitReset", - "CreateKeysRequest", - "CreateKeysRequestTypedDict", - "CreateKeysResponse", - "CreateKeysResponseTypedDict", - "CreateResponsesResponse", - "CreateResponsesResponseBody", - "CreateResponsesResponseBodyTypedDict", - "CreateResponsesResponseTypedDict", "DataCollection", "DefaultParameters", "DefaultParametersTypedDict", - "DeleteKeysRequest", - "DeleteKeysRequestTypedDict", - "DeleteKeysResponse", - "DeleteKeysResponseTypedDict", "EdgeNetworkTimeoutResponseErrorData", "EdgeNetworkTimeoutResponseErrorDataTypedDict", "Effort", - "Embedding", - "EmbeddingTypedDict", - "EncodingFormat", - "EncodingFormatBase64", - "EncodingFormatFloat", - "EncodingFormatTypedDict", "EndpointStatus", - "EndpointsListEndpointsResponse", - "EndpointsListEndpointsResponseTypedDict", "Engine", - "ExchangeAuthCodeForAPIKeyCodeChallengeMethod", - "ExchangeAuthCodeForAPIKeyRequest", - "ExchangeAuthCodeForAPIKeyRequestTypedDict", - "ExchangeAuthCodeForAPIKeyResponse", - "ExchangeAuthCodeForAPIKeyResponseTypedDict", "FileCitation", "FileCitationType", "FileCitationTypedDict", @@ -1137,39 +897,6 @@ __all__ = [ "FilePathTypedDict", "ForbiddenResponseErrorData", "ForbiddenResponseErrorDataTypedDict", - "GetCreditsResponse", - "GetCreditsResponseTypedDict", - "GetCurrentKeyData", - "GetCurrentKeyDataTypedDict", - "GetCurrentKeyResponse", - "GetCurrentKeyResponseTypedDict", - "GetGenerationData", - "GetGenerationDataTypedDict", - "GetGenerationRequest", - "GetGenerationRequestTypedDict", - "GetGenerationResponse", - "GetGenerationResponseTypedDict", - "GetKeyData", - "GetKeyDataTypedDict", - "GetKeyRequest", - "GetKeyRequestTypedDict", - "GetKeyResponse", - "GetKeyResponseTypedDict", - "GetModelsRequest", - "GetModelsRequestTypedDict", - "GetParametersData", - "GetParametersDataTypedDict", - "GetParametersProvider", - "GetParametersRequest", - "GetParametersRequestTypedDict", - "GetParametersResponse", - "GetParametersResponseTypedDict", - "GetParametersSecurity", - "GetParametersSecurityTypedDict", - "GetUserActivityRequest", - "GetUserActivityRequestTypedDict", - "GetUserActivityResponse", - "GetUserActivityResponseTypedDict", "IDFileParser", "IDModeration", "IDWeb", @@ -1178,34 +905,16 @@ __all__ = [ "ImageGenerationStatus", "ImageURL", "ImageURLTypedDict", - "Input", "InputModality", "InputTokensDetails", "InputTokensDetailsTypedDict", - "InputTypedDict", "InstructType", "InternalServerResponseErrorData", "InternalServerResponseErrorDataTypedDict", "JSONSchemaConfig", "JSONSchemaConfigTypedDict", - "ListData", - "ListDataTypedDict", - "ListEndpointsRequest", - "ListEndpointsRequestTypedDict", "ListEndpointsResponse", "ListEndpointsResponseTypedDict", - "ListEndpointsZdrResponse", - "ListEndpointsZdrResponseTypedDict", - "ListModelsUserSecurity", - "ListModelsUserSecurityTypedDict", - "ListProvidersData", - "ListProvidersDataTypedDict", - "ListProvidersResponse", - "ListProvidersResponseTypedDict", - "ListRequest", - "ListRequestTypedDict", - "ListResponse", - "ListResponseTypedDict", "MaxPrice", "MaxPriceTypedDict", "Message", @@ -1214,8 +923,6 @@ __all__ = [ "MessageDeveloper", "MessageDeveloperTypedDict", "MessageTypedDict", - "Metadata", - "MetadataTypedDict", "Model", "ModelArchitecture", "ModelArchitectureInstructType", @@ -1235,7 +942,6 @@ __all__ = [ "NotFoundResponseErrorData", "NotFoundResponseErrorDataTypedDict", "Object", - "ObjectEmbedding", "Only", "OnlyTypedDict", "OpenAIResponsesAnnotation", @@ -1506,8 +1212,6 @@ __all__ = [ "PublicPricing", "PublicPricingTypedDict", "Quantization", - "RateLimit", - "RateLimitTypedDict", "Reason", "Reasoning", "ReasoningSummaryText", @@ -1603,15 +1307,12 @@ __all__ = [ "ResponsesWebSearchUserLocationTypedDict", "Security", "SecurityTypedDict", - "SendChatCompletionRequestResponse", - "SendChatCompletionRequestResponseTypedDict", "ServiceTier", "ServiceUnavailableResponseErrorData", "ServiceUnavailableResponseErrorDataTypedDict", "Sort", "StreamOptions", "StreamOptionsTypedDict", - "SupportedParameter", "SystemMessage", "SystemMessageContent", "SystemMessageContentTypedDict", @@ -1632,8 +1333,6 @@ __all__ = [ "TopLogprobTypedDict", "TopProviderInfo", "TopProviderInfoTypedDict", - "TransferIntent", - "TransferIntentTypedDict", "Truncation", "Type", "TypeResponseCompleted", @@ -1661,17 +1360,6 @@ __all__ = [ "UnauthorizedResponseErrorDataTypedDict", "UnprocessableEntityResponseErrorData", "UnprocessableEntityResponseErrorDataTypedDict", - "UpdateKeysData", - "UpdateKeysDataTypedDict", - "UpdateKeysLimitReset", - "UpdateKeysRequest", - "UpdateKeysRequestBody", - "UpdateKeysRequestBodyTypedDict", - "UpdateKeysRequestTypedDict", - "UpdateKeysResponse", - "UpdateKeysResponseTypedDict", - "Usage", - "UsageTypedDict", "UserMessage", "UserMessageContent", "UserMessageContentTypedDict", @@ -1680,8 +1368,6 @@ __all__ = [ "VariablesTypedDict", "VideoURL", "VideoURLTypedDict", - "Web3Data", - "Web3DataTypedDict", "WebSearchPreviewToolUserLocation", "WebSearchPreviewToolUserLocationType", "WebSearchPreviewToolUserLocationTypedDict", @@ -1799,87 +1485,14 @@ _dynamic_imports: dict[str, str] = { "CompletionResponseTypedDict": ".completionresponse", "CompletionUsage": ".completionusage", "CompletionUsageTypedDict": ".completionusage", - "CreateAuthKeysCodeCodeChallengeMethod": ".createauthkeyscodeop", - "CreateAuthKeysCodeData": ".createauthkeyscodeop", - "CreateAuthKeysCodeDataTypedDict": ".createauthkeyscodeop", - "CreateAuthKeysCodeRequest": ".createauthkeyscodeop", - "CreateAuthKeysCodeRequestTypedDict": ".createauthkeyscodeop", - "CreateAuthKeysCodeResponse": ".createauthkeyscodeop", - "CreateAuthKeysCodeResponseTypedDict": ".createauthkeyscodeop", "ChainID": ".createchargerequest", "CreateChargeRequest": ".createchargerequest", "CreateChargeRequestTypedDict": ".createchargerequest", - "CallData": ".createcoinbasechargeop", - "CallDataTypedDict": ".createcoinbasechargeop", - "CreateCoinbaseChargeData": ".createcoinbasechargeop", - "CreateCoinbaseChargeDataTypedDict": ".createcoinbasechargeop", - "CreateCoinbaseChargeResponse": ".createcoinbasechargeop", - "CreateCoinbaseChargeResponseTypedDict": ".createcoinbasechargeop", - "CreateCoinbaseChargeSecurity": ".createcoinbasechargeop", - "CreateCoinbaseChargeSecurityTypedDict": ".createcoinbasechargeop", - "Metadata": ".createcoinbasechargeop", - "MetadataTypedDict": ".createcoinbasechargeop", - "TransferIntent": ".createcoinbasechargeop", - "TransferIntentTypedDict": ".createcoinbasechargeop", - "Web3Data": ".createcoinbasechargeop", - "Web3DataTypedDict": ".createcoinbasechargeop", - "CreateEmbeddingsData": ".createembeddingsop", - "CreateEmbeddingsDataCollection": ".createembeddingsop", - "CreateEmbeddingsDataTypedDict": ".createembeddingsop", - "CreateEmbeddingsIgnore": ".createembeddingsop", - "CreateEmbeddingsIgnoreTypedDict": ".createembeddingsop", - "CreateEmbeddingsMaxPrice": ".createembeddingsop", - "CreateEmbeddingsMaxPriceTypedDict": ".createembeddingsop", - "CreateEmbeddingsObject": ".createembeddingsop", - "CreateEmbeddingsOnly": ".createembeddingsop", - "CreateEmbeddingsOnlyTypedDict": ".createembeddingsop", - "CreateEmbeddingsOrder": ".createembeddingsop", - "CreateEmbeddingsOrderTypedDict": ".createembeddingsop", - "CreateEmbeddingsProvider": ".createembeddingsop", - "CreateEmbeddingsProviderTypedDict": ".createembeddingsop", - "CreateEmbeddingsRequest": ".createembeddingsop", - "CreateEmbeddingsRequestTypedDict": ".createembeddingsop", - "CreateEmbeddingsResponse": ".createembeddingsop", - "CreateEmbeddingsResponseBody": ".createembeddingsop", - "CreateEmbeddingsResponseBodyTypedDict": ".createembeddingsop", - "CreateEmbeddingsResponseTypedDict": ".createembeddingsop", - "CreateEmbeddingsSort": ".createembeddingsop", - "Embedding": ".createembeddingsop", - "EmbeddingTypedDict": ".createembeddingsop", - "EncodingFormat": ".createembeddingsop", - "EncodingFormatBase64": ".createembeddingsop", - "EncodingFormatFloat": ".createembeddingsop", - "EncodingFormatTypedDict": ".createembeddingsop", - "Input": ".createembeddingsop", - "InputTypedDict": ".createembeddingsop", - "ObjectEmbedding": ".createembeddingsop", - "Usage": ".createembeddingsop", - "UsageTypedDict": ".createembeddingsop", - "CreateKeysData": ".createkeysop", - "CreateKeysDataTypedDict": ".createkeysop", - "CreateKeysLimitReset": ".createkeysop", - "CreateKeysRequest": ".createkeysop", - "CreateKeysRequestTypedDict": ".createkeysop", - "CreateKeysResponse": ".createkeysop", - "CreateKeysResponseTypedDict": ".createkeysop", - "CreateResponsesResponse": ".createresponsesop", - "CreateResponsesResponseBody": ".createresponsesop", - "CreateResponsesResponseBodyTypedDict": ".createresponsesop", - "CreateResponsesResponseTypedDict": ".createresponsesop", "DefaultParameters": ".defaultparameters", "DefaultParametersTypedDict": ".defaultparameters", - "DeleteKeysRequest": ".deletekeysop", - "DeleteKeysRequestTypedDict": ".deletekeysop", - "DeleteKeysResponse": ".deletekeysop", - "DeleteKeysResponseTypedDict": ".deletekeysop", "EdgeNetworkTimeoutResponseErrorData": ".edgenetworktimeoutresponseerrordata", "EdgeNetworkTimeoutResponseErrorDataTypedDict": ".edgenetworktimeoutresponseerrordata", "EndpointStatus": ".endpointstatus", - "ExchangeAuthCodeForAPIKeyCodeChallengeMethod": ".exchangeauthcodeforapikeyop", - "ExchangeAuthCodeForAPIKeyRequest": ".exchangeauthcodeforapikeyop", - "ExchangeAuthCodeForAPIKeyRequestTypedDict": ".exchangeauthcodeforapikeyop", - "ExchangeAuthCodeForAPIKeyResponse": ".exchangeauthcodeforapikeyop", - "ExchangeAuthCodeForAPIKeyResponseTypedDict": ".exchangeauthcodeforapikeyop", "FileCitation": ".filecitation", "FileCitationType": ".filecitation", "FileCitationTypedDict": ".filecitation", @@ -1888,43 +1501,6 @@ _dynamic_imports: dict[str, str] = { "FilePathTypedDict": ".filepath", "ForbiddenResponseErrorData": ".forbiddenresponseerrordata", "ForbiddenResponseErrorDataTypedDict": ".forbiddenresponseerrordata", - "GetCreditsResponse": ".getcreditsop", - "GetCreditsResponseTypedDict": ".getcreditsop", - "GetCurrentKeyData": ".getcurrentkeyop", - "GetCurrentKeyDataTypedDict": ".getcurrentkeyop", - "GetCurrentKeyResponse": ".getcurrentkeyop", - "GetCurrentKeyResponseTypedDict": ".getcurrentkeyop", - "RateLimit": ".getcurrentkeyop", - "RateLimitTypedDict": ".getcurrentkeyop", - "APIType": ".getgenerationop", - "GetGenerationData": ".getgenerationop", - "GetGenerationDataTypedDict": ".getgenerationop", - "GetGenerationRequest": ".getgenerationop", - "GetGenerationRequestTypedDict": ".getgenerationop", - "GetGenerationResponse": ".getgenerationop", - "GetGenerationResponseTypedDict": ".getgenerationop", - "GetKeyData": ".getkeyop", - "GetKeyDataTypedDict": ".getkeyop", - "GetKeyRequest": ".getkeyop", - "GetKeyRequestTypedDict": ".getkeyop", - "GetKeyResponse": ".getkeyop", - "GetKeyResponseTypedDict": ".getkeyop", - "GetModelsRequest": ".getmodelsop", - "GetModelsRequestTypedDict": ".getmodelsop", - "GetParametersData": ".getparametersop", - "GetParametersDataTypedDict": ".getparametersop", - "GetParametersProvider": ".getparametersop", - "GetParametersRequest": ".getparametersop", - "GetParametersRequestTypedDict": ".getparametersop", - "GetParametersResponse": ".getparametersop", - "GetParametersResponseTypedDict": ".getparametersop", - "GetParametersSecurity": ".getparametersop", - "GetParametersSecurityTypedDict": ".getparametersop", - "SupportedParameter": ".getparametersop", - "GetUserActivityRequest": ".getuseractivityop", - "GetUserActivityRequestTypedDict": ".getuseractivityop", - "GetUserActivityResponse": ".getuseractivityop", - "GetUserActivityResponseTypedDict": ".getuseractivityop", "ImageGenerationStatus": ".imagegenerationstatus", "InputModality": ".inputmodality", "InstructType": ".instructtype", @@ -1932,29 +1508,11 @@ _dynamic_imports: dict[str, str] = { "InternalServerResponseErrorDataTypedDict": ".internalserverresponseerrordata", "JSONSchemaConfig": ".jsonschemaconfig", "JSONSchemaConfigTypedDict": ".jsonschemaconfig", - "EndpointsListEndpointsResponse": ".listendpointsop", - "EndpointsListEndpointsResponseTypedDict": ".listendpointsop", - "ListEndpointsRequest": ".listendpointsop", - "ListEndpointsRequestTypedDict": ".listendpointsop", "Architecture": ".listendpointsresponse", "ArchitectureTypedDict": ".listendpointsresponse", "ListEndpointsResponse": ".listendpointsresponse", "ListEndpointsResponseTypedDict": ".listendpointsresponse", "Tokenizer": ".listendpointsresponse", - "ListEndpointsZdrResponse": ".listendpointszdrop", - "ListEndpointsZdrResponseTypedDict": ".listendpointszdrop", - "ListModelsUserSecurity": ".listmodelsuserop", - "ListModelsUserSecurityTypedDict": ".listmodelsuserop", - "ListData": ".listop", - "ListDataTypedDict": ".listop", - "ListRequest": ".listop", - "ListRequestTypedDict": ".listop", - "ListResponse": ".listop", - "ListResponseTypedDict": ".listop", - "ListProvidersData": ".listprovidersop", - "ListProvidersDataTypedDict": ".listprovidersop", - "ListProvidersResponse": ".listprovidersop", - "ListProvidersResponseTypedDict": ".listprovidersop", "Message": ".message", "MessageContent": ".message", "MessageContentTypedDict": ".message", @@ -2377,8 +1935,6 @@ _dynamic_imports: dict[str, str] = { "ResponseTextConfigVerbosity": ".responsetextconfig", "Security": ".security", "SecurityTypedDict": ".security", - "SendChatCompletionRequestResponse": ".sendchatcompletionrequestop", - "SendChatCompletionRequestResponseTypedDict": ".sendchatcompletionrequestop", "ServiceUnavailableResponseErrorData": ".serviceunavailableresponseerrordata", "ServiceUnavailableResponseErrorDataTypedDict": ".serviceunavailableresponseerrordata", "SystemMessage": ".systemmessage", @@ -2402,15 +1958,6 @@ _dynamic_imports: dict[str, str] = { "UnauthorizedResponseErrorDataTypedDict": ".unauthorizedresponseerrordata", "UnprocessableEntityResponseErrorData": ".unprocessableentityresponseerrordata", "UnprocessableEntityResponseErrorDataTypedDict": ".unprocessableentityresponseerrordata", - "UpdateKeysData": ".updatekeysop", - "UpdateKeysDataTypedDict": ".updatekeysop", - "UpdateKeysLimitReset": ".updatekeysop", - "UpdateKeysRequest": ".updatekeysop", - "UpdateKeysRequestBody": ".updatekeysop", - "UpdateKeysRequestBodyTypedDict": ".updatekeysop", - "UpdateKeysRequestTypedDict": ".updatekeysop", - "UpdateKeysResponse": ".updatekeysop", - "UpdateKeysResponseTypedDict": ".updatekeysop", "URLCitation": ".urlcitation", "URLCitationType": ".urlcitation", "URLCitationTypedDict": ".urlcitation", diff --git a/src/openrouter/models/activityitem.py b/src/openrouter/components/activityitem.py similarity index 100% rename from src/openrouter/models/activityitem.py rename to src/openrouter/components/activityitem.py diff --git a/src/openrouter/models/assistantmessage.py b/src/openrouter/components/assistantmessage.py similarity index 100% rename from src/openrouter/models/assistantmessage.py rename to src/openrouter/components/assistantmessage.py diff --git a/src/openrouter/models/badgatewayresponseerrordata.py b/src/openrouter/components/badgatewayresponseerrordata.py similarity index 100% rename from src/openrouter/models/badgatewayresponseerrordata.py rename to src/openrouter/components/badgatewayresponseerrordata.py diff --git a/src/openrouter/models/badrequestresponseerrordata.py b/src/openrouter/components/badrequestresponseerrordata.py similarity index 100% rename from src/openrouter/models/badrequestresponseerrordata.py rename to src/openrouter/components/badrequestresponseerrordata.py diff --git a/src/openrouter/models/chatcompletionfinishreason.py b/src/openrouter/components/chatcompletionfinishreason.py similarity index 100% rename from src/openrouter/models/chatcompletionfinishreason.py rename to src/openrouter/components/chatcompletionfinishreason.py diff --git a/src/openrouter/models/chaterror.py b/src/openrouter/components/chaterror.py similarity index 100% rename from src/openrouter/models/chaterror.py rename to src/openrouter/components/chaterror.py diff --git a/src/openrouter/models/chatgenerationparams.py b/src/openrouter/components/chatgenerationparams.py similarity index 100% rename from src/openrouter/models/chatgenerationparams.py rename to src/openrouter/components/chatgenerationparams.py diff --git a/src/openrouter/models/chatgenerationtokenusage.py b/src/openrouter/components/chatgenerationtokenusage.py similarity index 100% rename from src/openrouter/models/chatgenerationtokenusage.py rename to src/openrouter/components/chatgenerationtokenusage.py diff --git a/src/openrouter/models/chatmessagecontentitem.py b/src/openrouter/components/chatmessagecontentitem.py similarity index 100% rename from src/openrouter/models/chatmessagecontentitem.py rename to src/openrouter/components/chatmessagecontentitem.py diff --git a/src/openrouter/models/chatmessagecontentitemaudio.py b/src/openrouter/components/chatmessagecontentitemaudio.py similarity index 100% rename from src/openrouter/models/chatmessagecontentitemaudio.py rename to src/openrouter/components/chatmessagecontentitemaudio.py diff --git a/src/openrouter/models/chatmessagecontentitemimage.py b/src/openrouter/components/chatmessagecontentitemimage.py similarity index 100% rename from src/openrouter/models/chatmessagecontentitemimage.py rename to src/openrouter/components/chatmessagecontentitemimage.py diff --git a/src/openrouter/models/chatmessagecontentitemtext.py b/src/openrouter/components/chatmessagecontentitemtext.py similarity index 100% rename from src/openrouter/models/chatmessagecontentitemtext.py rename to src/openrouter/components/chatmessagecontentitemtext.py diff --git a/src/openrouter/models/chatmessagecontentitemvideo.py b/src/openrouter/components/chatmessagecontentitemvideo.py similarity index 100% rename from src/openrouter/models/chatmessagecontentitemvideo.py rename to src/openrouter/components/chatmessagecontentitemvideo.py diff --git a/src/openrouter/models/chatmessagetokenlogprob.py b/src/openrouter/components/chatmessagetokenlogprob.py similarity index 100% rename from src/openrouter/models/chatmessagetokenlogprob.py rename to src/openrouter/components/chatmessagetokenlogprob.py diff --git a/src/openrouter/models/chatmessagetokenlogprobs.py b/src/openrouter/components/chatmessagetokenlogprobs.py similarity index 100% rename from src/openrouter/models/chatmessagetokenlogprobs.py rename to src/openrouter/components/chatmessagetokenlogprobs.py diff --git a/src/openrouter/models/chatmessagetoolcall.py b/src/openrouter/components/chatmessagetoolcall.py similarity index 100% rename from src/openrouter/models/chatmessagetoolcall.py rename to src/openrouter/components/chatmessagetoolcall.py diff --git a/src/openrouter/models/chatresponse.py b/src/openrouter/components/chatresponse.py similarity index 100% rename from src/openrouter/models/chatresponse.py rename to src/openrouter/components/chatresponse.py diff --git a/src/openrouter/models/chatresponsechoice.py b/src/openrouter/components/chatresponsechoice.py similarity index 100% rename from src/openrouter/models/chatresponsechoice.py rename to src/openrouter/components/chatresponsechoice.py diff --git a/src/openrouter/models/chatstreamingchoice.py b/src/openrouter/components/chatstreamingchoice.py similarity index 100% rename from src/openrouter/models/chatstreamingchoice.py rename to src/openrouter/components/chatstreamingchoice.py diff --git a/src/openrouter/models/chatstreamingmessagechunk.py b/src/openrouter/components/chatstreamingmessagechunk.py similarity index 100% rename from src/openrouter/models/chatstreamingmessagechunk.py rename to src/openrouter/components/chatstreamingmessagechunk.py diff --git a/src/openrouter/models/chatstreamingmessagetoolcall.py b/src/openrouter/components/chatstreamingmessagetoolcall.py similarity index 100% rename from src/openrouter/models/chatstreamingmessagetoolcall.py rename to src/openrouter/components/chatstreamingmessagetoolcall.py diff --git a/src/openrouter/models/chatstreamingresponsechunk.py b/src/openrouter/components/chatstreamingresponsechunk.py similarity index 100% rename from src/openrouter/models/chatstreamingresponsechunk.py rename to src/openrouter/components/chatstreamingresponsechunk.py diff --git a/src/openrouter/models/chatstreamoptions.py b/src/openrouter/components/chatstreamoptions.py similarity index 100% rename from src/openrouter/models/chatstreamoptions.py rename to src/openrouter/components/chatstreamoptions.py diff --git a/src/openrouter/models/completionchoice.py b/src/openrouter/components/completionchoice.py similarity index 100% rename from src/openrouter/models/completionchoice.py rename to src/openrouter/components/completionchoice.py diff --git a/src/openrouter/models/completioncreateparams.py b/src/openrouter/components/completioncreateparams.py similarity index 100% rename from src/openrouter/models/completioncreateparams.py rename to src/openrouter/components/completioncreateparams.py diff --git a/src/openrouter/models/completionlogprobs.py b/src/openrouter/components/completionlogprobs.py similarity index 100% rename from src/openrouter/models/completionlogprobs.py rename to src/openrouter/components/completionlogprobs.py diff --git a/src/openrouter/models/completionresponse.py b/src/openrouter/components/completionresponse.py similarity index 100% rename from src/openrouter/models/completionresponse.py rename to src/openrouter/components/completionresponse.py diff --git a/src/openrouter/models/completionusage.py b/src/openrouter/components/completionusage.py similarity index 100% rename from src/openrouter/models/completionusage.py rename to src/openrouter/components/completionusage.py diff --git a/src/openrouter/models/createchargerequest.py b/src/openrouter/components/createchargerequest.py similarity index 100% rename from src/openrouter/models/createchargerequest.py rename to src/openrouter/components/createchargerequest.py diff --git a/src/openrouter/models/defaultparameters.py b/src/openrouter/components/defaultparameters.py similarity index 100% rename from src/openrouter/models/defaultparameters.py rename to src/openrouter/components/defaultparameters.py diff --git a/src/openrouter/models/edgenetworktimeoutresponseerrordata.py b/src/openrouter/components/edgenetworktimeoutresponseerrordata.py similarity index 100% rename from src/openrouter/models/edgenetworktimeoutresponseerrordata.py rename to src/openrouter/components/edgenetworktimeoutresponseerrordata.py diff --git a/src/openrouter/models/endpointstatus.py b/src/openrouter/components/endpointstatus.py similarity index 100% rename from src/openrouter/models/endpointstatus.py rename to src/openrouter/components/endpointstatus.py diff --git a/src/openrouter/models/filecitation.py b/src/openrouter/components/filecitation.py similarity index 100% rename from src/openrouter/models/filecitation.py rename to src/openrouter/components/filecitation.py diff --git a/src/openrouter/models/filepath.py b/src/openrouter/components/filepath.py similarity index 100% rename from src/openrouter/models/filepath.py rename to src/openrouter/components/filepath.py diff --git a/src/openrouter/models/forbiddenresponseerrordata.py b/src/openrouter/components/forbiddenresponseerrordata.py similarity index 100% rename from src/openrouter/models/forbiddenresponseerrordata.py rename to src/openrouter/components/forbiddenresponseerrordata.py diff --git a/src/openrouter/models/imagegenerationstatus.py b/src/openrouter/components/imagegenerationstatus.py similarity index 100% rename from src/openrouter/models/imagegenerationstatus.py rename to src/openrouter/components/imagegenerationstatus.py diff --git a/src/openrouter/models/inputmodality.py b/src/openrouter/components/inputmodality.py similarity index 100% rename from src/openrouter/models/inputmodality.py rename to src/openrouter/components/inputmodality.py diff --git a/src/openrouter/models/instructtype.py b/src/openrouter/components/instructtype.py similarity index 100% rename from src/openrouter/models/instructtype.py rename to src/openrouter/components/instructtype.py diff --git a/src/openrouter/models/internalserverresponseerrordata.py b/src/openrouter/components/internalserverresponseerrordata.py similarity index 100% rename from src/openrouter/models/internalserverresponseerrordata.py rename to src/openrouter/components/internalserverresponseerrordata.py diff --git a/src/openrouter/models/jsonschemaconfig.py b/src/openrouter/components/jsonschemaconfig.py similarity index 100% rename from src/openrouter/models/jsonschemaconfig.py rename to src/openrouter/components/jsonschemaconfig.py diff --git a/src/openrouter/models/listendpointsresponse.py b/src/openrouter/components/listendpointsresponse.py similarity index 100% rename from src/openrouter/models/listendpointsresponse.py rename to src/openrouter/components/listendpointsresponse.py diff --git a/src/openrouter/models/message.py b/src/openrouter/components/message.py similarity index 100% rename from src/openrouter/models/message.py rename to src/openrouter/components/message.py diff --git a/src/openrouter/models/model.py b/src/openrouter/components/model.py similarity index 100% rename from src/openrouter/models/model.py rename to src/openrouter/components/model.py diff --git a/src/openrouter/models/modelarchitecture.py b/src/openrouter/components/modelarchitecture.py similarity index 100% rename from src/openrouter/models/modelarchitecture.py rename to src/openrouter/components/modelarchitecture.py diff --git a/src/openrouter/models/modelgroup.py b/src/openrouter/components/modelgroup.py similarity index 100% rename from src/openrouter/models/modelgroup.py rename to src/openrouter/components/modelgroup.py diff --git a/src/openrouter/models/modelscountresponse.py b/src/openrouter/components/modelscountresponse.py similarity index 100% rename from src/openrouter/models/modelscountresponse.py rename to src/openrouter/components/modelscountresponse.py diff --git a/src/openrouter/models/modelslistresponse.py b/src/openrouter/components/modelslistresponse.py similarity index 100% rename from src/openrouter/models/modelslistresponse.py rename to src/openrouter/components/modelslistresponse.py diff --git a/src/openrouter/models/namedtoolchoice.py b/src/openrouter/components/namedtoolchoice.py similarity index 100% rename from src/openrouter/models/namedtoolchoice.py rename to src/openrouter/components/namedtoolchoice.py diff --git a/src/openrouter/models/notfoundresponseerrordata.py b/src/openrouter/components/notfoundresponseerrordata.py similarity index 100% rename from src/openrouter/models/notfoundresponseerrordata.py rename to src/openrouter/components/notfoundresponseerrordata.py diff --git a/src/openrouter/models/openairesponsesannotation.py b/src/openrouter/components/openairesponsesannotation.py similarity index 100% rename from src/openrouter/models/openairesponsesannotation.py rename to src/openrouter/components/openairesponsesannotation.py diff --git a/src/openrouter/models/openairesponsesincludable.py b/src/openrouter/components/openairesponsesincludable.py similarity index 100% rename from src/openrouter/models/openairesponsesincludable.py rename to src/openrouter/components/openairesponsesincludable.py diff --git a/src/openrouter/models/openairesponsesincompletedetails.py b/src/openrouter/components/openairesponsesincompletedetails.py similarity index 100% rename from src/openrouter/models/openairesponsesincompletedetails.py rename to src/openrouter/components/openairesponsesincompletedetails.py diff --git a/src/openrouter/models/openairesponsesinput_union.py b/src/openrouter/components/openairesponsesinput_union.py similarity index 100% rename from src/openrouter/models/openairesponsesinput_union.py rename to src/openrouter/components/openairesponsesinput_union.py diff --git a/src/openrouter/models/openairesponsesprompt.py b/src/openrouter/components/openairesponsesprompt.py similarity index 100% rename from src/openrouter/models/openairesponsesprompt.py rename to src/openrouter/components/openairesponsesprompt.py diff --git a/src/openrouter/models/openairesponsesreasoningconfig.py b/src/openrouter/components/openairesponsesreasoningconfig.py similarity index 100% rename from src/openrouter/models/openairesponsesreasoningconfig.py rename to src/openrouter/components/openairesponsesreasoningconfig.py diff --git a/src/openrouter/models/openairesponsesreasoningeffort.py b/src/openrouter/components/openairesponsesreasoningeffort.py similarity index 100% rename from src/openrouter/models/openairesponsesreasoningeffort.py rename to src/openrouter/components/openairesponsesreasoningeffort.py diff --git a/src/openrouter/models/openairesponsesrefusalcontent.py b/src/openrouter/components/openairesponsesrefusalcontent.py similarity index 100% rename from src/openrouter/models/openairesponsesrefusalcontent.py rename to src/openrouter/components/openairesponsesrefusalcontent.py diff --git a/src/openrouter/models/openairesponsesresponsestatus.py b/src/openrouter/components/openairesponsesresponsestatus.py similarity index 100% rename from src/openrouter/models/openairesponsesresponsestatus.py rename to src/openrouter/components/openairesponsesresponsestatus.py diff --git a/src/openrouter/models/openairesponsesservicetier.py b/src/openrouter/components/openairesponsesservicetier.py similarity index 100% rename from src/openrouter/models/openairesponsesservicetier.py rename to src/openrouter/components/openairesponsesservicetier.py diff --git a/src/openrouter/models/openairesponsestoolchoice_union.py b/src/openrouter/components/openairesponsestoolchoice_union.py similarity index 100% rename from src/openrouter/models/openairesponsestoolchoice_union.py rename to src/openrouter/components/openairesponsestoolchoice_union.py diff --git a/src/openrouter/models/openairesponsestruncation.py b/src/openrouter/components/openairesponsestruncation.py similarity index 100% rename from src/openrouter/models/openairesponsestruncation.py rename to src/openrouter/components/openairesponsestruncation.py diff --git a/src/openrouter/models/openresponseseasyinputmessage.py b/src/openrouter/components/openresponseseasyinputmessage.py similarity index 100% rename from src/openrouter/models/openresponseseasyinputmessage.py rename to src/openrouter/components/openresponseseasyinputmessage.py diff --git a/src/openrouter/models/openresponseserrorevent.py b/src/openrouter/components/openresponseserrorevent.py similarity index 100% rename from src/openrouter/models/openresponseserrorevent.py rename to src/openrouter/components/openresponseserrorevent.py diff --git a/src/openrouter/models/openresponsesfunctioncalloutput.py b/src/openrouter/components/openresponsesfunctioncalloutput.py similarity index 100% rename from src/openrouter/models/openresponsesfunctioncalloutput.py rename to src/openrouter/components/openresponsesfunctioncalloutput.py diff --git a/src/openrouter/models/openresponsesfunctiontoolcall.py b/src/openrouter/components/openresponsesfunctiontoolcall.py similarity index 100% rename from src/openrouter/models/openresponsesfunctiontoolcall.py rename to src/openrouter/components/openresponsesfunctiontoolcall.py diff --git a/src/openrouter/models/openresponsesimagegencallcompleted.py b/src/openrouter/components/openresponsesimagegencallcompleted.py similarity index 100% rename from src/openrouter/models/openresponsesimagegencallcompleted.py rename to src/openrouter/components/openresponsesimagegencallcompleted.py diff --git a/src/openrouter/models/openresponsesimagegencallgenerating.py b/src/openrouter/components/openresponsesimagegencallgenerating.py similarity index 100% rename from src/openrouter/models/openresponsesimagegencallgenerating.py rename to src/openrouter/components/openresponsesimagegencallgenerating.py diff --git a/src/openrouter/models/openresponsesimagegencallinprogress.py b/src/openrouter/components/openresponsesimagegencallinprogress.py similarity index 100% rename from src/openrouter/models/openresponsesimagegencallinprogress.py rename to src/openrouter/components/openresponsesimagegencallinprogress.py diff --git a/src/openrouter/models/openresponsesimagegencallpartialimage.py b/src/openrouter/components/openresponsesimagegencallpartialimage.py similarity index 100% rename from src/openrouter/models/openresponsesimagegencallpartialimage.py rename to src/openrouter/components/openresponsesimagegencallpartialimage.py diff --git a/src/openrouter/models/openresponsesinput.py b/src/openrouter/components/openresponsesinput.py similarity index 100% rename from src/openrouter/models/openresponsesinput.py rename to src/openrouter/components/openresponsesinput.py diff --git a/src/openrouter/models/openresponsesinputmessageitem.py b/src/openrouter/components/openresponsesinputmessageitem.py similarity index 100% rename from src/openrouter/models/openresponsesinputmessageitem.py rename to src/openrouter/components/openresponsesinputmessageitem.py diff --git a/src/openrouter/models/openresponseslogprobs.py b/src/openrouter/components/openresponseslogprobs.py similarity index 100% rename from src/openrouter/models/openresponseslogprobs.py rename to src/openrouter/components/openresponseslogprobs.py diff --git a/src/openrouter/models/openresponsesnonstreamingresponse.py b/src/openrouter/components/openresponsesnonstreamingresponse.py similarity index 100% rename from src/openrouter/models/openresponsesnonstreamingresponse.py rename to src/openrouter/components/openresponsesnonstreamingresponse.py diff --git a/src/openrouter/models/openresponsesreasoning.py b/src/openrouter/components/openresponsesreasoning.py similarity index 100% rename from src/openrouter/models/openresponsesreasoning.py rename to src/openrouter/components/openresponsesreasoning.py diff --git a/src/openrouter/models/openresponsesreasoningconfig.py b/src/openrouter/components/openresponsesreasoningconfig.py similarity index 100% rename from src/openrouter/models/openresponsesreasoningconfig.py rename to src/openrouter/components/openresponsesreasoningconfig.py diff --git a/src/openrouter/models/openresponsesreasoningdeltaevent.py b/src/openrouter/components/openresponsesreasoningdeltaevent.py similarity index 100% rename from src/openrouter/models/openresponsesreasoningdeltaevent.py rename to src/openrouter/components/openresponsesreasoningdeltaevent.py diff --git a/src/openrouter/models/openresponsesreasoningdoneevent.py b/src/openrouter/components/openresponsesreasoningdoneevent.py similarity index 100% rename from src/openrouter/models/openresponsesreasoningdoneevent.py rename to src/openrouter/components/openresponsesreasoningdoneevent.py diff --git a/src/openrouter/models/openresponsesreasoningsummarypartaddedevent.py b/src/openrouter/components/openresponsesreasoningsummarypartaddedevent.py similarity index 100% rename from src/openrouter/models/openresponsesreasoningsummarypartaddedevent.py rename to src/openrouter/components/openresponsesreasoningsummarypartaddedevent.py diff --git a/src/openrouter/models/openresponsesreasoningsummarytextdeltaevent.py b/src/openrouter/components/openresponsesreasoningsummarytextdeltaevent.py similarity index 100% rename from src/openrouter/models/openresponsesreasoningsummarytextdeltaevent.py rename to src/openrouter/components/openresponsesreasoningsummarytextdeltaevent.py diff --git a/src/openrouter/models/openresponsesreasoningsummarytextdoneevent.py b/src/openrouter/components/openresponsesreasoningsummarytextdoneevent.py similarity index 100% rename from src/openrouter/models/openresponsesreasoningsummarytextdoneevent.py rename to src/openrouter/components/openresponsesreasoningsummarytextdoneevent.py diff --git a/src/openrouter/models/openresponsesrequest.py b/src/openrouter/components/openresponsesrequest.py similarity index 100% rename from src/openrouter/models/openresponsesrequest.py rename to src/openrouter/components/openresponsesrequest.py diff --git a/src/openrouter/models/openresponsesresponsetext.py b/src/openrouter/components/openresponsesresponsetext.py similarity index 100% rename from src/openrouter/models/openresponsesresponsetext.py rename to src/openrouter/components/openresponsesresponsetext.py diff --git a/src/openrouter/models/openresponsesstreamevent.py b/src/openrouter/components/openresponsesstreamevent.py similarity index 100% rename from src/openrouter/models/openresponsesstreamevent.py rename to src/openrouter/components/openresponsesstreamevent.py diff --git a/src/openrouter/models/openresponsestoplogprobs.py b/src/openrouter/components/openresponsestoplogprobs.py similarity index 100% rename from src/openrouter/models/openresponsestoplogprobs.py rename to src/openrouter/components/openresponsestoplogprobs.py diff --git a/src/openrouter/models/openresponsesusage.py b/src/openrouter/components/openresponsesusage.py similarity index 100% rename from src/openrouter/models/openresponsesusage.py rename to src/openrouter/components/openresponsesusage.py diff --git a/src/openrouter/models/openresponseswebsearch20250826tool.py b/src/openrouter/components/openresponseswebsearch20250826tool.py similarity index 100% rename from src/openrouter/models/openresponseswebsearch20250826tool.py rename to src/openrouter/components/openresponseswebsearch20250826tool.py diff --git a/src/openrouter/models/openresponseswebsearchpreview20250311tool.py b/src/openrouter/components/openresponseswebsearchpreview20250311tool.py similarity index 100% rename from src/openrouter/models/openresponseswebsearchpreview20250311tool.py rename to src/openrouter/components/openresponseswebsearchpreview20250311tool.py diff --git a/src/openrouter/models/openresponseswebsearchpreviewtool.py b/src/openrouter/components/openresponseswebsearchpreviewtool.py similarity index 100% rename from src/openrouter/models/openresponseswebsearchpreviewtool.py rename to src/openrouter/components/openresponseswebsearchpreviewtool.py diff --git a/src/openrouter/models/openresponseswebsearchtool.py b/src/openrouter/components/openresponseswebsearchtool.py similarity index 100% rename from src/openrouter/models/openresponseswebsearchtool.py rename to src/openrouter/components/openresponseswebsearchtool.py diff --git a/src/openrouter/models/outputitemimagegenerationcall.py b/src/openrouter/components/outputitemimagegenerationcall.py similarity index 100% rename from src/openrouter/models/outputitemimagegenerationcall.py rename to src/openrouter/components/outputitemimagegenerationcall.py diff --git a/src/openrouter/models/outputmessage.py b/src/openrouter/components/outputmessage.py similarity index 100% rename from src/openrouter/models/outputmessage.py rename to src/openrouter/components/outputmessage.py diff --git a/src/openrouter/models/outputmodality.py b/src/openrouter/components/outputmodality.py similarity index 100% rename from src/openrouter/models/outputmodality.py rename to src/openrouter/components/outputmodality.py diff --git a/src/openrouter/models/parameter.py b/src/openrouter/components/parameter.py similarity index 100% rename from src/openrouter/models/parameter.py rename to src/openrouter/components/parameter.py diff --git a/src/openrouter/models/payloadtoolargeresponseerrordata.py b/src/openrouter/components/payloadtoolargeresponseerrordata.py similarity index 100% rename from src/openrouter/models/payloadtoolargeresponseerrordata.py rename to src/openrouter/components/payloadtoolargeresponseerrordata.py diff --git a/src/openrouter/models/paymentrequiredresponseerrordata.py b/src/openrouter/components/paymentrequiredresponseerrordata.py similarity index 100% rename from src/openrouter/models/paymentrequiredresponseerrordata.py rename to src/openrouter/components/paymentrequiredresponseerrordata.py diff --git a/src/openrouter/models/perrequestlimits.py b/src/openrouter/components/perrequestlimits.py similarity index 100% rename from src/openrouter/models/perrequestlimits.py rename to src/openrouter/components/perrequestlimits.py diff --git a/src/openrouter/models/providername.py b/src/openrouter/components/providername.py similarity index 100% rename from src/openrouter/models/providername.py rename to src/openrouter/components/providername.py diff --git a/src/openrouter/models/provideroverloadedresponseerrordata.py b/src/openrouter/components/provideroverloadedresponseerrordata.py similarity index 100% rename from src/openrouter/models/provideroverloadedresponseerrordata.py rename to src/openrouter/components/provideroverloadedresponseerrordata.py diff --git a/src/openrouter/models/publicendpoint.py b/src/openrouter/components/publicendpoint.py similarity index 100% rename from src/openrouter/models/publicendpoint.py rename to src/openrouter/components/publicendpoint.py diff --git a/src/openrouter/models/publicpricing.py b/src/openrouter/components/publicpricing.py similarity index 100% rename from src/openrouter/models/publicpricing.py rename to src/openrouter/components/publicpricing.py diff --git a/src/openrouter/models/quantization.py b/src/openrouter/components/quantization.py similarity index 100% rename from src/openrouter/models/quantization.py rename to src/openrouter/components/quantization.py diff --git a/src/openrouter/models/reasoningsummarytext.py b/src/openrouter/components/reasoningsummarytext.py similarity index 100% rename from src/openrouter/models/reasoningsummarytext.py rename to src/openrouter/components/reasoningsummarytext.py diff --git a/src/openrouter/models/reasoningsummaryverbosity.py b/src/openrouter/components/reasoningsummaryverbosity.py similarity index 100% rename from src/openrouter/models/reasoningsummaryverbosity.py rename to src/openrouter/components/reasoningsummaryverbosity.py diff --git a/src/openrouter/models/reasoningtextcontent.py b/src/openrouter/components/reasoningtextcontent.py similarity index 100% rename from src/openrouter/models/reasoningtextcontent.py rename to src/openrouter/components/reasoningtextcontent.py diff --git a/src/openrouter/models/requesttimeoutresponseerrordata.py b/src/openrouter/components/requesttimeoutresponseerrordata.py similarity index 100% rename from src/openrouter/models/requesttimeoutresponseerrordata.py rename to src/openrouter/components/requesttimeoutresponseerrordata.py diff --git a/src/openrouter/models/responseformatjsonschema.py b/src/openrouter/components/responseformatjsonschema.py similarity index 100% rename from src/openrouter/models/responseformatjsonschema.py rename to src/openrouter/components/responseformatjsonschema.py diff --git a/src/openrouter/models/responseformattextconfig.py b/src/openrouter/components/responseformattextconfig.py similarity index 100% rename from src/openrouter/models/responseformattextconfig.py rename to src/openrouter/components/responseformattextconfig.py diff --git a/src/openrouter/models/responseformattextgrammar.py b/src/openrouter/components/responseformattextgrammar.py similarity index 100% rename from src/openrouter/models/responseformattextgrammar.py rename to src/openrouter/components/responseformattextgrammar.py diff --git a/src/openrouter/models/responseinputaudio.py b/src/openrouter/components/responseinputaudio.py similarity index 100% rename from src/openrouter/models/responseinputaudio.py rename to src/openrouter/components/responseinputaudio.py diff --git a/src/openrouter/models/responseinputfile.py b/src/openrouter/components/responseinputfile.py similarity index 100% rename from src/openrouter/models/responseinputfile.py rename to src/openrouter/components/responseinputfile.py diff --git a/src/openrouter/models/responseinputimage.py b/src/openrouter/components/responseinputimage.py similarity index 100% rename from src/openrouter/models/responseinputimage.py rename to src/openrouter/components/responseinputimage.py diff --git a/src/openrouter/models/responseinputtext.py b/src/openrouter/components/responseinputtext.py similarity index 100% rename from src/openrouter/models/responseinputtext.py rename to src/openrouter/components/responseinputtext.py diff --git a/src/openrouter/models/responseoutputtext.py b/src/openrouter/components/responseoutputtext.py similarity index 100% rename from src/openrouter/models/responseoutputtext.py rename to src/openrouter/components/responseoutputtext.py diff --git a/src/openrouter/models/responseserrorfield.py b/src/openrouter/components/responseserrorfield.py similarity index 100% rename from src/openrouter/models/responseserrorfield.py rename to src/openrouter/components/responseserrorfield.py diff --git a/src/openrouter/models/responsesformatjsonobject.py b/src/openrouter/components/responsesformatjsonobject.py similarity index 100% rename from src/openrouter/models/responsesformatjsonobject.py rename to src/openrouter/components/responsesformatjsonobject.py diff --git a/src/openrouter/models/responsesformattext.py b/src/openrouter/components/responsesformattext.py similarity index 100% rename from src/openrouter/models/responsesformattext.py rename to src/openrouter/components/responsesformattext.py diff --git a/src/openrouter/models/responsesformattextjsonschemaconfig.py b/src/openrouter/components/responsesformattextjsonschemaconfig.py similarity index 100% rename from src/openrouter/models/responsesformattextjsonschemaconfig.py rename to src/openrouter/components/responsesformattextjsonschemaconfig.py diff --git a/src/openrouter/models/responsesimagegenerationcall.py b/src/openrouter/components/responsesimagegenerationcall.py similarity index 100% rename from src/openrouter/models/responsesimagegenerationcall.py rename to src/openrouter/components/responsesimagegenerationcall.py diff --git a/src/openrouter/models/responsesoutputitem.py b/src/openrouter/components/responsesoutputitem.py similarity index 100% rename from src/openrouter/models/responsesoutputitem.py rename to src/openrouter/components/responsesoutputitem.py diff --git a/src/openrouter/models/responsesoutputitemfilesearchcall.py b/src/openrouter/components/responsesoutputitemfilesearchcall.py similarity index 100% rename from src/openrouter/models/responsesoutputitemfilesearchcall.py rename to src/openrouter/components/responsesoutputitemfilesearchcall.py diff --git a/src/openrouter/models/responsesoutputitemfunctioncall.py b/src/openrouter/components/responsesoutputitemfunctioncall.py similarity index 100% rename from src/openrouter/models/responsesoutputitemfunctioncall.py rename to src/openrouter/components/responsesoutputitemfunctioncall.py diff --git a/src/openrouter/models/responsesoutputitemreasoning.py b/src/openrouter/components/responsesoutputitemreasoning.py similarity index 100% rename from src/openrouter/models/responsesoutputitemreasoning.py rename to src/openrouter/components/responsesoutputitemreasoning.py diff --git a/src/openrouter/models/responsesoutputmessage.py b/src/openrouter/components/responsesoutputmessage.py similarity index 100% rename from src/openrouter/models/responsesoutputmessage.py rename to src/openrouter/components/responsesoutputmessage.py diff --git a/src/openrouter/models/responsessearchcontextsize.py b/src/openrouter/components/responsessearchcontextsize.py similarity index 100% rename from src/openrouter/models/responsessearchcontextsize.py rename to src/openrouter/components/responsessearchcontextsize.py diff --git a/src/openrouter/models/responseswebsearchcalloutput.py b/src/openrouter/components/responseswebsearchcalloutput.py similarity index 100% rename from src/openrouter/models/responseswebsearchcalloutput.py rename to src/openrouter/components/responseswebsearchcalloutput.py diff --git a/src/openrouter/models/responseswebsearchuserlocation.py b/src/openrouter/components/responseswebsearchuserlocation.py similarity index 100% rename from src/openrouter/models/responseswebsearchuserlocation.py rename to src/openrouter/components/responseswebsearchuserlocation.py diff --git a/src/openrouter/models/responsetextconfig.py b/src/openrouter/components/responsetextconfig.py similarity index 100% rename from src/openrouter/models/responsetextconfig.py rename to src/openrouter/components/responsetextconfig.py diff --git a/src/openrouter/models/security.py b/src/openrouter/components/security.py similarity index 100% rename from src/openrouter/models/security.py rename to src/openrouter/components/security.py diff --git a/src/openrouter/models/serviceunavailableresponseerrordata.py b/src/openrouter/components/serviceunavailableresponseerrordata.py similarity index 100% rename from src/openrouter/models/serviceunavailableresponseerrordata.py rename to src/openrouter/components/serviceunavailableresponseerrordata.py diff --git a/src/openrouter/models/systemmessage.py b/src/openrouter/components/systemmessage.py similarity index 100% rename from src/openrouter/models/systemmessage.py rename to src/openrouter/components/systemmessage.py diff --git a/src/openrouter/models/toolcallstatus.py b/src/openrouter/components/toolcallstatus.py similarity index 100% rename from src/openrouter/models/toolcallstatus.py rename to src/openrouter/components/toolcallstatus.py diff --git a/src/openrouter/models/tooldefinitionjson.py b/src/openrouter/components/tooldefinitionjson.py similarity index 100% rename from src/openrouter/models/tooldefinitionjson.py rename to src/openrouter/components/tooldefinitionjson.py diff --git a/src/openrouter/models/toolresponsemessage.py b/src/openrouter/components/toolresponsemessage.py similarity index 100% rename from src/openrouter/models/toolresponsemessage.py rename to src/openrouter/components/toolresponsemessage.py diff --git a/src/openrouter/models/toomanyrequestsresponseerrordata.py b/src/openrouter/components/toomanyrequestsresponseerrordata.py similarity index 100% rename from src/openrouter/models/toomanyrequestsresponseerrordata.py rename to src/openrouter/components/toomanyrequestsresponseerrordata.py diff --git a/src/openrouter/models/topproviderinfo.py b/src/openrouter/components/topproviderinfo.py similarity index 100% rename from src/openrouter/models/topproviderinfo.py rename to src/openrouter/components/topproviderinfo.py diff --git a/src/openrouter/models/unauthorizedresponseerrordata.py b/src/openrouter/components/unauthorizedresponseerrordata.py similarity index 100% rename from src/openrouter/models/unauthorizedresponseerrordata.py rename to src/openrouter/components/unauthorizedresponseerrordata.py diff --git a/src/openrouter/models/unprocessableentityresponseerrordata.py b/src/openrouter/components/unprocessableentityresponseerrordata.py similarity index 100% rename from src/openrouter/models/unprocessableentityresponseerrordata.py rename to src/openrouter/components/unprocessableentityresponseerrordata.py diff --git a/src/openrouter/models/urlcitation.py b/src/openrouter/components/urlcitation.py similarity index 100% rename from src/openrouter/models/urlcitation.py rename to src/openrouter/components/urlcitation.py diff --git a/src/openrouter/models/usermessage.py b/src/openrouter/components/usermessage.py similarity index 100% rename from src/openrouter/models/usermessage.py rename to src/openrouter/components/usermessage.py diff --git a/src/openrouter/models/websearchpreviewtooluserlocation.py b/src/openrouter/components/websearchpreviewtooluserlocation.py similarity index 100% rename from src/openrouter/models/websearchpreviewtooluserlocation.py rename to src/openrouter/components/websearchpreviewtooluserlocation.py diff --git a/src/openrouter/models/websearchstatus.py b/src/openrouter/components/websearchstatus.py similarity index 100% rename from src/openrouter/models/websearchstatus.py rename to src/openrouter/components/websearchstatus.py diff --git a/src/openrouter/credits.py b/src/openrouter/credits.py index 22a3215..81921f0 100644 --- a/src/openrouter/credits.py +++ b/src/openrouter/credits.py @@ -1,7 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext from openrouter.types import OptionalNullable, UNSET from openrouter.utils import get_security_from_env @@ -19,7 +19,7 @@ class Credits(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.GetCreditsResponse: + ) -> operations.GetCreditsResponse: r"""Get remaining credits Get total credits purchased and used for the authenticated user @@ -69,7 +69,7 @@ class Credits(BaseSDK): operation_id="getCredits", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -79,7 +79,7 @@ class Credits(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetCreditsResponse, http_res) + return unmarshal_json_response(operations.GetCreditsResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -115,7 +115,7 @@ class Credits(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.GetCreditsResponse: + ) -> operations.GetCreditsResponse: r"""Get remaining credits Get total credits purchased and used for the authenticated user @@ -165,7 +165,7 @@ class Credits(BaseSDK): operation_id="getCredits", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -175,7 +175,7 @@ class Credits(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetCreditsResponse, http_res) + return unmarshal_json_response(operations.GetCreditsResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -208,17 +208,17 @@ class Credits(BaseSDK): self, *, security: Union[ - models.CreateCoinbaseChargeSecurity, - models.CreateCoinbaseChargeSecurityTypedDict, + operations.CreateCoinbaseChargeSecurity, + operations.CreateCoinbaseChargeSecurityTypedDict, ], amount: float, sender: str, - chain_id: models.ChainID, + chain_id: components.ChainID, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CreateCoinbaseChargeData: + ) -> operations.CreateCoinbaseChargeData: r"""Create a Coinbase charge for crypto payment Create a Coinbase charge for crypto payment @@ -242,7 +242,7 @@ class Credits(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.CreateChargeRequest( + request = components.CreateChargeRequest( amount=amount, sender=sender, chain_id=chain_id, @@ -261,10 +261,10 @@ class Credits(BaseSDK): accept_header_value="application/json", http_headers=http_headers, security=utils.get_pydantic_model( - security, models.CreateCoinbaseChargeSecurity + security, operations.CreateCoinbaseChargeSecurity ), get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CreateChargeRequest + request, False, False, "json", components.CreateChargeRequest ), timeout_ms=timeout_ms, ) @@ -283,7 +283,7 @@ class Credits(BaseSDK): base_url=base_url or "", operation_id="createCoinbaseCharge", oauth2_scopes=None, - security_source=get_security_from_env(security, models.Security), + security_source=get_security_from_env(security, components.Security), ), request=req, error_status_codes=["400", "401", "429", "4XX", "500", "5XX"], @@ -293,7 +293,7 @@ class Credits(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.CreateCoinbaseChargeResponse, http_res + operations.CreateCoinbaseChargeResponse, http_res ) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( @@ -332,17 +332,17 @@ class Credits(BaseSDK): self, *, security: Union[ - models.CreateCoinbaseChargeSecurity, - models.CreateCoinbaseChargeSecurityTypedDict, + operations.CreateCoinbaseChargeSecurity, + operations.CreateCoinbaseChargeSecurityTypedDict, ], amount: float, sender: str, - chain_id: models.ChainID, + chain_id: components.ChainID, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CreateCoinbaseChargeData: + ) -> operations.CreateCoinbaseChargeData: r"""Create a Coinbase charge for crypto payment Create a Coinbase charge for crypto payment @@ -366,7 +366,7 @@ class Credits(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.CreateChargeRequest( + request = components.CreateChargeRequest( amount=amount, sender=sender, chain_id=chain_id, @@ -385,10 +385,10 @@ class Credits(BaseSDK): accept_header_value="application/json", http_headers=http_headers, security=utils.get_pydantic_model( - security, models.CreateCoinbaseChargeSecurity + security, operations.CreateCoinbaseChargeSecurity ), get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CreateChargeRequest + request, False, False, "json", components.CreateChargeRequest ), timeout_ms=timeout_ms, ) @@ -407,7 +407,7 @@ class Credits(BaseSDK): base_url=base_url or "", operation_id="createCoinbaseCharge", oauth2_scopes=None, - security_source=get_security_from_env(security, models.Security), + security_source=get_security_from_env(security, components.Security), ), request=req, error_status_codes=["400", "401", "429", "4XX", "500", "5XX"], @@ -417,7 +417,7 @@ class Credits(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.CreateCoinbaseChargeResponse, http_res + operations.CreateCoinbaseChargeResponse, http_res ) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( diff --git a/src/openrouter/embeddings.py b/src/openrouter/embeddings.py index d8366ae..ec1b5a8 100644 --- a/src/openrouter/embeddings.py +++ b/src/openrouter/embeddings.py @@ -2,7 +2,7 @@ from .basesdk import BaseSDK from enum import Enum -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext from openrouter.types import OptionalNullable, UNSET from openrouter.utils import get_security_from_env @@ -21,16 +21,16 @@ class Embeddings(BaseSDK): def generate( self, *, - input: Union[models.Input, models.InputTypedDict], + input: Union[operations.Input, operations.InputTypedDict], model: str, provider: Optional[ Union[ - models.CreateEmbeddingsProvider, - models.CreateEmbeddingsProviderTypedDict, + operations.CreateEmbeddingsProvider, + operations.CreateEmbeddingsProviderTypedDict, ] ] = None, encoding_format: Optional[ - Union[models.EncodingFormat, models.EncodingFormatTypedDict] + Union[operations.EncodingFormat, operations.EncodingFormatTypedDict] ] = None, user: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, @@ -38,7 +38,7 @@ class Embeddings(BaseSDK): timeout_ms: Optional[int] = None, accept_header_override: Optional[GenerateAcceptEnum] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CreateEmbeddingsResponse: + ) -> operations.CreateEmbeddingsResponse: r"""Submit an embedding request Submits an embedding request to the embeddings router @@ -64,11 +64,11 @@ class Embeddings(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.CreateEmbeddingsRequest( + request = operations.CreateEmbeddingsRequest( input=input, model=model, provider=utils.get_pydantic_model( - provider, Optional[models.CreateEmbeddingsProvider] + provider, Optional[operations.CreateEmbeddingsProvider] ), encoding_format=encoding_format, user=user, @@ -90,7 +90,7 @@ class Embeddings(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CreateEmbeddingsRequest + request, False, False, "json", operations.CreateEmbeddingsRequest ), timeout_ms=timeout_ms, ) @@ -110,7 +110,7 @@ class Embeddings(BaseSDK): operation_id="createEmbeddings", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -134,7 +134,7 @@ class Embeddings(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.CreateEmbeddingsResponseBody, http_res + operations.CreateEmbeddingsResponseBody, http_res ) if utils.match_response(http_res, "200", "text/event-stream"): return http_res.text @@ -204,16 +204,16 @@ class Embeddings(BaseSDK): async def generate_async( self, *, - input: Union[models.Input, models.InputTypedDict], + input: Union[operations.Input, operations.InputTypedDict], model: str, provider: Optional[ Union[ - models.CreateEmbeddingsProvider, - models.CreateEmbeddingsProviderTypedDict, + operations.CreateEmbeddingsProvider, + operations.CreateEmbeddingsProviderTypedDict, ] ] = None, encoding_format: Optional[ - Union[models.EncodingFormat, models.EncodingFormatTypedDict] + Union[operations.EncodingFormat, operations.EncodingFormatTypedDict] ] = None, user: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, @@ -221,7 +221,7 @@ class Embeddings(BaseSDK): timeout_ms: Optional[int] = None, accept_header_override: Optional[GenerateAcceptEnum] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CreateEmbeddingsResponse: + ) -> operations.CreateEmbeddingsResponse: r"""Submit an embedding request Submits an embedding request to the embeddings router @@ -247,11 +247,11 @@ class Embeddings(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.CreateEmbeddingsRequest( + request = operations.CreateEmbeddingsRequest( input=input, model=model, provider=utils.get_pydantic_model( - provider, Optional[models.CreateEmbeddingsProvider] + provider, Optional[operations.CreateEmbeddingsProvider] ), encoding_format=encoding_format, user=user, @@ -273,7 +273,7 @@ class Embeddings(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CreateEmbeddingsRequest + request, False, False, "json", operations.CreateEmbeddingsRequest ), timeout_ms=timeout_ms, ) @@ -293,7 +293,7 @@ class Embeddings(BaseSDK): operation_id="createEmbeddings", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -317,7 +317,7 @@ class Embeddings(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.CreateEmbeddingsResponseBody, http_res + operations.CreateEmbeddingsResponseBody, http_res ) if utils.match_response(http_res, "200", "text/event-stream"): return http_res.text @@ -391,7 +391,7 @@ class Embeddings(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.Model]: + ) -> List[components.Model]: r"""List all embeddings models Returns a list of all available embeddings models and their properties @@ -441,7 +441,7 @@ class Embeddings(BaseSDK): operation_id="listEmbeddingsModels", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -451,7 +451,7 @@ class Embeddings(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ModelsListResponse, http_res) + return unmarshal_json_response(components.ModelsListResponse, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res @@ -482,7 +482,7 @@ class Embeddings(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.Model]: + ) -> List[components.Model]: r"""List all embeddings models Returns a list of all available embeddings models and their properties @@ -532,7 +532,7 @@ class Embeddings(BaseSDK): operation_id="listEmbeddingsModels", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -542,7 +542,7 @@ class Embeddings(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ModelsListResponse, http_res) + return unmarshal_json_response(components.ModelsListResponse, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res diff --git a/src/openrouter/endpoints.py b/src/openrouter/endpoints.py index 72990b9..432e11b 100644 --- a/src/openrouter/endpoints.py +++ b/src/openrouter/endpoints.py @@ -1,7 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext from openrouter.types import OptionalNullable, UNSET from openrouter.utils import get_security_from_env @@ -21,7 +21,7 @@ class Endpoints(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.ListEndpointsResponse: + ) -> components.ListEndpointsResponse: r"""List all endpoints for a model :param author: @@ -41,7 +41,7 @@ class Endpoints(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.ListEndpointsRequest( + request = operations.ListEndpointsRequest( author=author, slug=slug, ) @@ -77,7 +77,7 @@ class Endpoints(BaseSDK): operation_id="listEndpoints", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -87,9 +87,7 @@ class Endpoints(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.EndpointsListEndpointsResponse, http_res - ) + return unmarshal_json_response(operations.ListEndpointsResponse, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( errors.NotFoundResponseErrorData, http_res @@ -122,7 +120,7 @@ class Endpoints(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.ListEndpointsResponse: + ) -> components.ListEndpointsResponse: r"""List all endpoints for a model :param author: @@ -142,7 +140,7 @@ class Endpoints(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.ListEndpointsRequest( + request = operations.ListEndpointsRequest( author=author, slug=slug, ) @@ -178,7 +176,7 @@ class Endpoints(BaseSDK): operation_id="listEndpoints", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -188,9 +186,7 @@ class Endpoints(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.EndpointsListEndpointsResponse, http_res - ) + return unmarshal_json_response(operations.ListEndpointsResponse, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( errors.NotFoundResponseErrorData, http_res @@ -221,7 +217,7 @@ class Endpoints(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.PublicEndpoint]: + ) -> List[components.PublicEndpoint]: r"""Preview the impact of ZDR on the available endpoints :param retries: Override the default retry configuration for this method @@ -269,7 +265,7 @@ class Endpoints(BaseSDK): operation_id="listEndpointsZdr", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -279,7 +275,9 @@ class Endpoints(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ListEndpointsZdrResponse, http_res) + return unmarshal_json_response( + operations.ListEndpointsZdrResponse, http_res + ) if utils.match_response(http_res, "500", "application/json"): response_data = unmarshal_json_response( errors.InternalServerResponseErrorData, http_res @@ -305,7 +303,7 @@ class Endpoints(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.PublicEndpoint]: + ) -> List[components.PublicEndpoint]: r"""Preview the impact of ZDR on the available endpoints :param retries: Override the default retry configuration for this method @@ -353,7 +351,7 @@ class Endpoints(BaseSDK): operation_id="listEndpointsZdr", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -363,7 +361,9 @@ class Endpoints(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ListEndpointsZdrResponse, http_res) + return unmarshal_json_response( + operations.ListEndpointsZdrResponse, http_res + ) if utils.match_response(http_res, "500", "application/json"): response_data = unmarshal_json_response( errors.InternalServerResponseErrorData, http_res diff --git a/src/openrouter/errors/badgatewayresponse_error.py b/src/openrouter/errors/badgatewayresponse_error.py index b395d6d..9275737 100644 --- a/src/openrouter/errors/badgatewayresponse_error.py +++ b/src/openrouter/errors/badgatewayresponse_error.py @@ -3,16 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - badgatewayresponseerrordata as models_badgatewayresponseerrordata, +from openrouter.components import ( + badgatewayresponseerrordata as components_badgatewayresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class BadGatewayResponseErrorData(BaseModel): - error: models_badgatewayresponseerrordata.BadGatewayResponseErrorData + error: components_badgatewayresponseerrordata.BadGatewayResponseErrorData r"""Error data for BadGatewayResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/badrequestresponse_error.py b/src/openrouter/errors/badrequestresponse_error.py index f2462cb..085e9d4 100644 --- a/src/openrouter/errors/badrequestresponse_error.py +++ b/src/openrouter/errors/badrequestresponse_error.py @@ -3,16 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - badrequestresponseerrordata as models_badrequestresponseerrordata, +from openrouter.components import ( + badrequestresponseerrordata as components_badrequestresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class BadRequestResponseErrorData(BaseModel): - error: models_badrequestresponseerrordata.BadRequestResponseErrorData + error: components_badrequestresponseerrordata.BadRequestResponseErrorData r"""Error data for BadRequestResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/chaterror.py b/src/openrouter/errors/chaterror.py index fdc6324..3236d3c 100644 --- a/src/openrouter/errors/chaterror.py +++ b/src/openrouter/errors/chaterror.py @@ -3,14 +3,14 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx +from openrouter.components import chaterror as components_chaterror from openrouter.errors import OpenRouterError -from openrouter.models import chaterror as models_chaterror from openrouter.types import BaseModel from typing import Optional class ChatErrorData(BaseModel): - error: models_chaterror.ChatErrorError + error: components_chaterror.ChatErrorError @dataclass(unsafe_hash=True) diff --git a/src/openrouter/errors/edgenetworktimeoutresponse_error.py b/src/openrouter/errors/edgenetworktimeoutresponse_error.py index 0970f19..276eb1d 100644 --- a/src/openrouter/errors/edgenetworktimeoutresponse_error.py +++ b/src/openrouter/errors/edgenetworktimeoutresponse_error.py @@ -3,18 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - edgenetworktimeoutresponseerrordata as models_edgenetworktimeoutresponseerrordata, +from openrouter.components import ( + edgenetworktimeoutresponseerrordata as components_edgenetworktimeoutresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class EdgeNetworkTimeoutResponseErrorData(BaseModel): - error: ( - models_edgenetworktimeoutresponseerrordata.EdgeNetworkTimeoutResponseErrorData - ) + error: components_edgenetworktimeoutresponseerrordata.EdgeNetworkTimeoutResponseErrorData r"""Error data for EdgeNetworkTimeoutResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/forbiddenresponse_error.py b/src/openrouter/errors/forbiddenresponse_error.py index 41c6e7c..5ca9c5a 100644 --- a/src/openrouter/errors/forbiddenresponse_error.py +++ b/src/openrouter/errors/forbiddenresponse_error.py @@ -3,16 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - forbiddenresponseerrordata as models_forbiddenresponseerrordata, +from openrouter.components import ( + forbiddenresponseerrordata as components_forbiddenresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class ForbiddenResponseErrorData(BaseModel): - error: models_forbiddenresponseerrordata.ForbiddenResponseErrorData + error: components_forbiddenresponseerrordata.ForbiddenResponseErrorData r"""Error data for ForbiddenResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/internalserverresponse_error.py b/src/openrouter/errors/internalserverresponse_error.py index 2cee3a2..0fd627a 100644 --- a/src/openrouter/errors/internalserverresponse_error.py +++ b/src/openrouter/errors/internalserverresponse_error.py @@ -3,16 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - internalserverresponseerrordata as models_internalserverresponseerrordata, +from openrouter.components import ( + internalserverresponseerrordata as components_internalserverresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class InternalServerResponseErrorData(BaseModel): - error: models_internalserverresponseerrordata.InternalServerResponseErrorData + error: components_internalserverresponseerrordata.InternalServerResponseErrorData r"""Error data for InternalServerResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/notfoundresponse_error.py b/src/openrouter/errors/notfoundresponse_error.py index 6a51fb1..0bf88e1 100644 --- a/src/openrouter/errors/notfoundresponse_error.py +++ b/src/openrouter/errors/notfoundresponse_error.py @@ -3,16 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - notfoundresponseerrordata as models_notfoundresponseerrordata, +from openrouter.components import ( + notfoundresponseerrordata as components_notfoundresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class NotFoundResponseErrorData(BaseModel): - error: models_notfoundresponseerrordata.NotFoundResponseErrorData + error: components_notfoundresponseerrordata.NotFoundResponseErrorData r"""Error data for NotFoundResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/payloadtoolargeresponse_error.py b/src/openrouter/errors/payloadtoolargeresponse_error.py index 993dd6f..1adc6b0 100644 --- a/src/openrouter/errors/payloadtoolargeresponse_error.py +++ b/src/openrouter/errors/payloadtoolargeresponse_error.py @@ -3,16 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - payloadtoolargeresponseerrordata as models_payloadtoolargeresponseerrordata, +from openrouter.components import ( + payloadtoolargeresponseerrordata as components_payloadtoolargeresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class PayloadTooLargeResponseErrorData(BaseModel): - error: models_payloadtoolargeresponseerrordata.PayloadTooLargeResponseErrorData + error: components_payloadtoolargeresponseerrordata.PayloadTooLargeResponseErrorData r"""Error data for PayloadTooLargeResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/paymentrequiredresponse_error.py b/src/openrouter/errors/paymentrequiredresponse_error.py index a7f8d72..25a6c0d 100644 --- a/src/openrouter/errors/paymentrequiredresponse_error.py +++ b/src/openrouter/errors/paymentrequiredresponse_error.py @@ -3,16 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - paymentrequiredresponseerrordata as models_paymentrequiredresponseerrordata, +from openrouter.components import ( + paymentrequiredresponseerrordata as components_paymentrequiredresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class PaymentRequiredResponseErrorData(BaseModel): - error: models_paymentrequiredresponseerrordata.PaymentRequiredResponseErrorData + error: components_paymentrequiredresponseerrordata.PaymentRequiredResponseErrorData r"""Error data for PaymentRequiredResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/provideroverloadedresponse_error.py b/src/openrouter/errors/provideroverloadedresponse_error.py index 3b85954..7c9a231 100644 --- a/src/openrouter/errors/provideroverloadedresponse_error.py +++ b/src/openrouter/errors/provideroverloadedresponse_error.py @@ -3,18 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - provideroverloadedresponseerrordata as models_provideroverloadedresponseerrordata, +from openrouter.components import ( + provideroverloadedresponseerrordata as components_provideroverloadedresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class ProviderOverloadedResponseErrorData(BaseModel): - error: ( - models_provideroverloadedresponseerrordata.ProviderOverloadedResponseErrorData - ) + error: components_provideroverloadedresponseerrordata.ProviderOverloadedResponseErrorData r"""Error data for ProviderOverloadedResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/requesttimeoutresponse_error.py b/src/openrouter/errors/requesttimeoutresponse_error.py index 824b253..1aeceb8 100644 --- a/src/openrouter/errors/requesttimeoutresponse_error.py +++ b/src/openrouter/errors/requesttimeoutresponse_error.py @@ -3,16 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - requesttimeoutresponseerrordata as models_requesttimeoutresponseerrordata, +from openrouter.components import ( + requesttimeoutresponseerrordata as components_requesttimeoutresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class RequestTimeoutResponseErrorData(BaseModel): - error: models_requesttimeoutresponseerrordata.RequestTimeoutResponseErrorData + error: components_requesttimeoutresponseerrordata.RequestTimeoutResponseErrorData r"""Error data for RequestTimeoutResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/serviceunavailableresponse_error.py b/src/openrouter/errors/serviceunavailableresponse_error.py index 717120d..665f9c4 100644 --- a/src/openrouter/errors/serviceunavailableresponse_error.py +++ b/src/openrouter/errors/serviceunavailableresponse_error.py @@ -3,18 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - serviceunavailableresponseerrordata as models_serviceunavailableresponseerrordata, +from openrouter.components import ( + serviceunavailableresponseerrordata as components_serviceunavailableresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class ServiceUnavailableResponseErrorData(BaseModel): - error: ( - models_serviceunavailableresponseerrordata.ServiceUnavailableResponseErrorData - ) + error: components_serviceunavailableresponseerrordata.ServiceUnavailableResponseErrorData r"""Error data for ServiceUnavailableResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/toomanyrequestsresponse_error.py b/src/openrouter/errors/toomanyrequestsresponse_error.py index e5f68e7..294f591 100644 --- a/src/openrouter/errors/toomanyrequestsresponse_error.py +++ b/src/openrouter/errors/toomanyrequestsresponse_error.py @@ -3,16 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - toomanyrequestsresponseerrordata as models_toomanyrequestsresponseerrordata, +from openrouter.components import ( + toomanyrequestsresponseerrordata as components_toomanyrequestsresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class TooManyRequestsResponseErrorData(BaseModel): - error: models_toomanyrequestsresponseerrordata.TooManyRequestsResponseErrorData + error: components_toomanyrequestsresponseerrordata.TooManyRequestsResponseErrorData r"""Error data for TooManyRequestsResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/unauthorizedresponse_error.py b/src/openrouter/errors/unauthorizedresponse_error.py index 3c7e981..6b30617 100644 --- a/src/openrouter/errors/unauthorizedresponse_error.py +++ b/src/openrouter/errors/unauthorizedresponse_error.py @@ -3,16 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - unauthorizedresponseerrordata as models_unauthorizedresponseerrordata, +from openrouter.components import ( + unauthorizedresponseerrordata as components_unauthorizedresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class UnauthorizedResponseErrorData(BaseModel): - error: models_unauthorizedresponseerrordata.UnauthorizedResponseErrorData + error: components_unauthorizedresponseerrordata.UnauthorizedResponseErrorData r"""Error data for UnauthorizedResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/errors/unprocessableentityresponse_error.py b/src/openrouter/errors/unprocessableentityresponse_error.py index 587ba9b..a700217 100644 --- a/src/openrouter/errors/unprocessableentityresponse_error.py +++ b/src/openrouter/errors/unprocessableentityresponse_error.py @@ -3,18 +3,16 @@ from __future__ import annotations from dataclasses import dataclass, field import httpx -from openrouter.errors import OpenRouterError -from openrouter.models import ( - unprocessableentityresponseerrordata as models_unprocessableentityresponseerrordata, +from openrouter.components import ( + unprocessableentityresponseerrordata as components_unprocessableentityresponseerrordata, ) +from openrouter.errors import OpenRouterError from openrouter.types import BaseModel, OptionalNullable, UNSET from typing import Optional class UnprocessableEntityResponseErrorData(BaseModel): - error: ( - models_unprocessableentityresponseerrordata.UnprocessableEntityResponseErrorData - ) + error: components_unprocessableentityresponseerrordata.UnprocessableEntityResponseErrorData r"""Error data for UnprocessableEntityResponse""" user_id: OptionalNullable[str] = UNSET diff --git a/src/openrouter/generations.py b/src/openrouter/generations.py index 17205cc..bcd11fe 100644 --- a/src/openrouter/generations.py +++ b/src/openrouter/generations.py @@ -1,7 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext from openrouter.types import OptionalNullable, UNSET from openrouter.utils import get_security_from_env @@ -20,7 +20,7 @@ class Generations(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.GetGenerationData: + ) -> operations.GetGenerationData: r"""Get request & usage metadata for a generation :param id: @@ -39,7 +39,7 @@ class Generations(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.GetGenerationRequest( + request = operations.GetGenerationRequest( id=id, ) @@ -74,7 +74,7 @@ class Generations(BaseSDK): operation_id="getGeneration", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -95,7 +95,7 @@ class Generations(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetGenerationResponse, http_res) + return unmarshal_json_response(operations.GetGenerationResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -157,7 +157,7 @@ class Generations(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.GetGenerationData: + ) -> operations.GetGenerationData: r"""Get request & usage metadata for a generation :param id: @@ -176,7 +176,7 @@ class Generations(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.GetGenerationRequest( + request = operations.GetGenerationRequest( id=id, ) @@ -211,7 +211,7 @@ class Generations(BaseSDK): operation_id="getGeneration", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -232,7 +232,7 @@ class Generations(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetGenerationResponse, http_res) + return unmarshal_json_response(operations.GetGenerationResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res diff --git a/src/openrouter/models/createresponsesop.py b/src/openrouter/models/createresponsesop.py deleted file mode 100644 index df2fd91..0000000 --- a/src/openrouter/models/createresponsesop.py +++ /dev/null @@ -1,53 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .openresponsesnonstreamingresponse import ( - OpenResponsesNonStreamingResponse, - OpenResponsesNonStreamingResponseTypedDict, -) -from .openresponsesstreamevent import ( - OpenResponsesStreamEvent, - OpenResponsesStreamEventTypedDict, -) -from openrouter.types import BaseModel -from openrouter.utils import eventstreaming -from typing import Union -from typing_extensions import TypeAliasType, TypedDict - - -class CreateResponsesResponseBodyTypedDict(TypedDict): - r"""Successful response""" - - data: OpenResponsesStreamEventTypedDict - r"""Union of all possible event types emitted during response streaming""" - - -class CreateResponsesResponseBody(BaseModel): - r"""Successful response""" - - data: OpenResponsesStreamEvent - r"""Union of all possible event types emitted during response streaming""" - - -CreateResponsesResponseTypedDict = TypeAliasType( - "CreateResponsesResponseTypedDict", - Union[ - OpenResponsesNonStreamingResponseTypedDict, - Union[ - eventstreaming.EventStream[OpenResponsesStreamEventTypedDict], - eventstreaming.EventStreamAsync[OpenResponsesStreamEventTypedDict], - ], - ], -) - - -CreateResponsesResponse = TypeAliasType( - "CreateResponsesResponse", - Union[ - OpenResponsesNonStreamingResponse, - Union[ - eventstreaming.EventStream[OpenResponsesStreamEvent], - eventstreaming.EventStreamAsync[OpenResponsesStreamEvent], - ], - ], -) diff --git a/src/openrouter/models/sendchatcompletionrequestop.py b/src/openrouter/models/sendchatcompletionrequestop.py deleted file mode 100644 index 28f8b3a..0000000 --- a/src/openrouter/models/sendchatcompletionrequestop.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .chatresponse import ChatResponse, ChatResponseTypedDict -from .chatstreamingresponsechunk import ( - ChatStreamingResponseChunkData, - ChatStreamingResponseChunkDataTypedDict, -) -from openrouter.utils import eventstreaming -from typing import Union -from typing_extensions import TypeAliasType - - -SendChatCompletionRequestResponseTypedDict = TypeAliasType( - "SendChatCompletionRequestResponseTypedDict", - Union[ - ChatResponseTypedDict, - Union[ - eventstreaming.EventStream[ChatStreamingResponseChunkDataTypedDict], - eventstreaming.EventStreamAsync[ChatStreamingResponseChunkDataTypedDict], - ], - ], -) - - -SendChatCompletionRequestResponse = TypeAliasType( - "SendChatCompletionRequestResponse", - Union[ - ChatResponse, - Union[ - eventstreaming.EventStream[ChatStreamingResponseChunkData], - eventstreaming.EventStreamAsync[ChatStreamingResponseChunkData], - ], - ], -) diff --git a/src/openrouter/models_.py b/src/openrouter/models_.py index 0caf312..0eb5f27 100644 --- a/src/openrouter/models_.py +++ b/src/openrouter/models_.py @@ -1,9 +1,8 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext -from openrouter.models import listmodelsuserop as models_listmodelsuserop from openrouter.types import OptionalNullable, UNSET from openrouter.utils import get_security_from_env from openrouter.utils.unmarshal_json_response import unmarshal_json_response @@ -20,7 +19,7 @@ class Models(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.ModelsCountResponseData: + ) -> components.ModelsCountResponseData: r"""Get total count of available models :param retries: Override the default retry configuration for this method @@ -68,7 +67,7 @@ class Models(BaseSDK): operation_id="listModelsCount", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -78,7 +77,7 @@ class Models(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ModelsCountResponse, http_res) + return unmarshal_json_response(components.ModelsCountResponse, http_res) if utils.match_response(http_res, "500", "application/json"): response_data = unmarshal_json_response( errors.InternalServerResponseErrorData, http_res @@ -104,7 +103,7 @@ class Models(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.ModelsCountResponseData: + ) -> components.ModelsCountResponseData: r"""Get total count of available models :param retries: Override the default retry configuration for this method @@ -152,7 +151,7 @@ class Models(BaseSDK): operation_id="listModelsCount", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -162,7 +161,7 @@ class Models(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ModelsCountResponse, http_res) + return unmarshal_json_response(components.ModelsCountResponse, http_res) if utils.match_response(http_res, "500", "application/json"): response_data = unmarshal_json_response( errors.InternalServerResponseErrorData, http_res @@ -190,7 +189,7 @@ class Models(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.Model]: + ) -> List[components.Model]: r"""List all models and their properties :param category: @@ -210,7 +209,7 @@ class Models(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.GetModelsRequest( + request = operations.GetModelsRequest( category=category, supported_parameters=supported_parameters, ) @@ -246,7 +245,7 @@ class Models(BaseSDK): operation_id="getModels", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -256,7 +255,7 @@ class Models(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ModelsListResponse, http_res) + return unmarshal_json_response(components.ModelsListResponse, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res @@ -289,7 +288,7 @@ class Models(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.Model]: + ) -> List[components.Model]: r"""List all models and their properties :param category: @@ -309,7 +308,7 @@ class Models(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.GetModelsRequest( + request = operations.GetModelsRequest( category=category, supported_parameters=supported_parameters, ) @@ -345,7 +344,7 @@ class Models(BaseSDK): operation_id="getModels", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -355,7 +354,7 @@ class Models(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ModelsListResponse, http_res) + return unmarshal_json_response(components.ModelsListResponse, http_res) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res @@ -383,14 +382,14 @@ class Models(BaseSDK): self, *, security: Union[ - models_listmodelsuserop.ListModelsUserSecurity, - models_listmodelsuserop.ListModelsUserSecurityTypedDict, + operations.ListModelsUserSecurity, + operations.ListModelsUserSecurityTypedDict, ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.Model]: + ) -> List[components.Model]: r"""List models filtered by user provider preferences :param security: @@ -420,7 +419,9 @@ class Models(BaseSDK): user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=utils.get_pydantic_model(security, models.ListModelsUserSecurity), + security=utils.get_pydantic_model( + security, operations.ListModelsUserSecurity + ), timeout_ms=timeout_ms, ) @@ -438,7 +439,7 @@ class Models(BaseSDK): base_url=base_url or "", operation_id="listModelsUser", oauth2_scopes=None, - security_source=get_security_from_env(security, models.Security), + security_source=get_security_from_env(security, components.Security), ), request=req, error_status_codes=["401", "4XX", "500", "5XX"], @@ -447,7 +448,7 @@ class Models(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ModelsListResponse, http_res) + return unmarshal_json_response(components.ModelsListResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -475,14 +476,14 @@ class Models(BaseSDK): self, *, security: Union[ - models_listmodelsuserop.ListModelsUserSecurity, - models_listmodelsuserop.ListModelsUserSecurityTypedDict, + operations.ListModelsUserSecurity, + operations.ListModelsUserSecurityTypedDict, ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.Model]: + ) -> List[components.Model]: r"""List models filtered by user provider preferences :param security: @@ -512,7 +513,9 @@ class Models(BaseSDK): user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=utils.get_pydantic_model(security, models.ListModelsUserSecurity), + security=utils.get_pydantic_model( + security, operations.ListModelsUserSecurity + ), timeout_ms=timeout_ms, ) @@ -530,7 +533,7 @@ class Models(BaseSDK): base_url=base_url or "", operation_id="listModelsUser", oauth2_scopes=None, - security_source=get_security_from_env(security, models.Security), + security_source=get_security_from_env(security, components.Security), ), request=req, error_status_codes=["401", "4XX", "500", "5XX"], @@ -539,7 +542,7 @@ class Models(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ModelsListResponse, http_res) + return unmarshal_json_response(components.ModelsListResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res diff --git a/src/openrouter/oauth.py b/src/openrouter/oauth.py index 746648c..0bbf0de 100644 --- a/src/openrouter/oauth.py +++ b/src/openrouter/oauth.py @@ -2,7 +2,7 @@ from .basesdk import BaseSDK from datetime import datetime -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext from openrouter.types import OptionalNullable, UNSET from openrouter.utils import get_security_from_env @@ -19,13 +19,13 @@ class OAuth(BaseSDK): code: str, code_verifier: Optional[str] = None, code_challenge_method: OptionalNullable[ - models.ExchangeAuthCodeForAPIKeyCodeChallengeMethod + operations.ExchangeAuthCodeForAPIKeyCodeChallengeMethod ] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.ExchangeAuthCodeForAPIKeyResponse: + ) -> operations.ExchangeAuthCodeForAPIKeyResponse: r"""Exchange authorization code for API key Exchange an authorization code from the PKCE flow for a user-controlled API key @@ -48,7 +48,7 @@ class OAuth(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.ExchangeAuthCodeForAPIKeyRequest( + request = operations.ExchangeAuthCodeForAPIKeyRequest( code=code, code_verifier=code_verifier, code_challenge_method=code_challenge_method, @@ -68,7 +68,11 @@ class OAuth(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.ExchangeAuthCodeForAPIKeyRequest + request, + False, + False, + "json", + operations.ExchangeAuthCodeForAPIKeyRequest, ), timeout_ms=timeout_ms, ) @@ -88,7 +92,7 @@ class OAuth(BaseSDK): operation_id="exchangeAuthCodeForAPIKey", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -99,7 +103,7 @@ class OAuth(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.ExchangeAuthCodeForAPIKeyResponse, http_res + operations.ExchangeAuthCodeForAPIKeyResponse, http_res ) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( @@ -135,13 +139,13 @@ class OAuth(BaseSDK): code: str, code_verifier: Optional[str] = None, code_challenge_method: OptionalNullable[ - models.ExchangeAuthCodeForAPIKeyCodeChallengeMethod + operations.ExchangeAuthCodeForAPIKeyCodeChallengeMethod ] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.ExchangeAuthCodeForAPIKeyResponse: + ) -> operations.ExchangeAuthCodeForAPIKeyResponse: r"""Exchange authorization code for API key Exchange an authorization code from the PKCE flow for a user-controlled API key @@ -164,7 +168,7 @@ class OAuth(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.ExchangeAuthCodeForAPIKeyRequest( + request = operations.ExchangeAuthCodeForAPIKeyRequest( code=code, code_verifier=code_verifier, code_challenge_method=code_challenge_method, @@ -184,7 +188,11 @@ class OAuth(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.ExchangeAuthCodeForAPIKeyRequest + request, + False, + False, + "json", + operations.ExchangeAuthCodeForAPIKeyRequest, ), timeout_ms=timeout_ms, ) @@ -204,7 +212,7 @@ class OAuth(BaseSDK): operation_id="exchangeAuthCodeForAPIKey", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -215,7 +223,7 @@ class OAuth(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.ExchangeAuthCodeForAPIKeyResponse, http_res + operations.ExchangeAuthCodeForAPIKeyResponse, http_res ) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( @@ -251,7 +259,7 @@ class OAuth(BaseSDK): callback_url: str, code_challenge: Optional[str] = None, code_challenge_method: Optional[ - models.CreateAuthKeysCodeCodeChallengeMethod + operations.CreateAuthKeysCodeCodeChallengeMethod ] = None, limit: Optional[float] = None, expires_at: OptionalNullable[datetime] = UNSET, @@ -259,7 +267,7 @@ class OAuth(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CreateAuthKeysCodeData: + ) -> operations.CreateAuthKeysCodeData: r"""Create authorization code Create an authorization code for the PKCE flow to generate a user-controlled API key @@ -284,7 +292,7 @@ class OAuth(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.CreateAuthKeysCodeRequest( + request = operations.CreateAuthKeysCodeRequest( callback_url=callback_url, code_challenge=code_challenge, code_challenge_method=code_challenge_method, @@ -306,7 +314,7 @@ class OAuth(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CreateAuthKeysCodeRequest + request, False, False, "json", operations.CreateAuthKeysCodeRequest ), timeout_ms=timeout_ms, ) @@ -326,7 +334,7 @@ class OAuth(BaseSDK): operation_id="createAuthKeysCode", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -336,7 +344,9 @@ class OAuth(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.CreateAuthKeysCodeResponse, http_res) + return unmarshal_json_response( + operations.CreateAuthKeysCodeResponse, http_res + ) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res @@ -371,7 +381,7 @@ class OAuth(BaseSDK): callback_url: str, code_challenge: Optional[str] = None, code_challenge_method: Optional[ - models.CreateAuthKeysCodeCodeChallengeMethod + operations.CreateAuthKeysCodeCodeChallengeMethod ] = None, limit: Optional[float] = None, expires_at: OptionalNullable[datetime] = UNSET, @@ -379,7 +389,7 @@ class OAuth(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CreateAuthKeysCodeData: + ) -> operations.CreateAuthKeysCodeData: r"""Create authorization code Create an authorization code for the PKCE flow to generate a user-controlled API key @@ -404,7 +414,7 @@ class OAuth(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.CreateAuthKeysCodeRequest( + request = operations.CreateAuthKeysCodeRequest( callback_url=callback_url, code_challenge=code_challenge, code_challenge_method=code_challenge_method, @@ -426,7 +436,7 @@ class OAuth(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CreateAuthKeysCodeRequest + request, False, False, "json", operations.CreateAuthKeysCodeRequest ), timeout_ms=timeout_ms, ) @@ -446,7 +456,7 @@ class OAuth(BaseSDK): operation_id="createAuthKeysCode", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -456,7 +466,9 @@ class OAuth(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.CreateAuthKeysCodeResponse, http_res) + return unmarshal_json_response( + operations.CreateAuthKeysCodeResponse, http_res + ) if utils.match_response(http_res, "400", "application/json"): response_data = unmarshal_json_response( errors.BadRequestResponseErrorData, http_res diff --git a/src/openrouter/operations/__init__.py b/src/openrouter/operations/__init__.py new file mode 100644 index 0000000..a00d958 --- /dev/null +++ b/src/openrouter/operations/__init__.py @@ -0,0 +1,502 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from typing import TYPE_CHECKING +from importlib import import_module +import builtins +import sys + +if TYPE_CHECKING: + from .createauthkeyscode import ( + CreateAuthKeysCodeCodeChallengeMethod, + CreateAuthKeysCodeData, + CreateAuthKeysCodeDataTypedDict, + CreateAuthKeysCodeRequest, + CreateAuthKeysCodeRequestTypedDict, + CreateAuthKeysCodeResponse, + CreateAuthKeysCodeResponseTypedDict, + ) + from .createcoinbasecharge import ( + CallData, + CallDataTypedDict, + CreateCoinbaseChargeData, + CreateCoinbaseChargeDataTypedDict, + CreateCoinbaseChargeResponse, + CreateCoinbaseChargeResponseTypedDict, + CreateCoinbaseChargeSecurity, + CreateCoinbaseChargeSecurityTypedDict, + Metadata, + MetadataTypedDict, + TransferIntent, + TransferIntentTypedDict, + Web3Data, + Web3DataTypedDict, + ) + from .createembeddings import ( + CreateEmbeddingsData, + CreateEmbeddingsDataTypedDict, + CreateEmbeddingsProvider, + CreateEmbeddingsProviderTypedDict, + CreateEmbeddingsRequest, + CreateEmbeddingsRequestTypedDict, + CreateEmbeddingsResponse, + CreateEmbeddingsResponseBody, + CreateEmbeddingsResponseBodyTypedDict, + CreateEmbeddingsResponseTypedDict, + DataCollection, + Embedding, + EmbeddingTypedDict, + EncodingFormat, + EncodingFormatBase64, + EncodingFormatFloat, + EncodingFormatTypedDict, + Ignore, + IgnoreTypedDict, + Input, + InputTypedDict, + MaxPrice, + MaxPriceTypedDict, + Object, + ObjectEmbedding, + Only, + OnlyTypedDict, + Order, + OrderTypedDict, + Sort, + Usage, + UsageTypedDict, + ) + from .createkeys import ( + CreateKeysData, + CreateKeysDataTypedDict, + CreateKeysLimitReset, + CreateKeysRequest, + CreateKeysRequestTypedDict, + CreateKeysResponse, + CreateKeysResponseTypedDict, + ) + from .createresponses import ( + CreateResponsesResponse, + CreateResponsesResponseBody, + CreateResponsesResponseBodyTypedDict, + CreateResponsesResponseTypedDict, + ) + from .deletekeys import ( + DeleteKeysRequest, + DeleteKeysRequestTypedDict, + DeleteKeysResponse, + DeleteKeysResponseTypedDict, + ) + from .exchangeauthcodeforapikey import ( + ExchangeAuthCodeForAPIKeyCodeChallengeMethod, + ExchangeAuthCodeForAPIKeyRequest, + ExchangeAuthCodeForAPIKeyRequestTypedDict, + ExchangeAuthCodeForAPIKeyResponse, + ExchangeAuthCodeForAPIKeyResponseTypedDict, + ) + from .getcredits import GetCreditsResponse, GetCreditsResponseTypedDict + from .getcurrentkey import ( + GetCurrentKeyData, + GetCurrentKeyDataTypedDict, + GetCurrentKeyResponse, + GetCurrentKeyResponseTypedDict, + RateLimit, + RateLimitTypedDict, + ) + from .getgeneration import ( + APIType, + GetGenerationData, + GetGenerationDataTypedDict, + GetGenerationRequest, + GetGenerationRequestTypedDict, + GetGenerationResponse, + GetGenerationResponseTypedDict, + ) + from .getkey import ( + GetKeyData, + GetKeyDataTypedDict, + GetKeyRequest, + GetKeyRequestTypedDict, + GetKeyResponse, + GetKeyResponseTypedDict, + ) + from .getmodels import GetModelsRequest, GetModelsRequestTypedDict + from .getparameters import ( + GetParametersData, + GetParametersDataTypedDict, + GetParametersProvider, + GetParametersRequest, + GetParametersRequestTypedDict, + GetParametersResponse, + GetParametersResponseTypedDict, + GetParametersSecurity, + GetParametersSecurityTypedDict, + SupportedParameter, + ) + from .getuseractivity import ( + GetUserActivityRequest, + GetUserActivityRequestTypedDict, + GetUserActivityResponse, + GetUserActivityResponseTypedDict, + ) + from .list import ( + ListData, + ListDataTypedDict, + ListRequest, + ListRequestTypedDict, + ListResponse, + ListResponseTypedDict, + ) + from .listendpoints import ( + ListEndpointsRequest, + ListEndpointsRequestTypedDict, + ListEndpointsResponse, + ListEndpointsResponseTypedDict, + ) + from .listendpointszdr import ( + ListEndpointsZdrResponse, + ListEndpointsZdrResponseTypedDict, + ) + from .listmodelsuser import ListModelsUserSecurity, ListModelsUserSecurityTypedDict + from .listproviders import ( + ListProvidersData, + ListProvidersDataTypedDict, + ListProvidersResponse, + ListProvidersResponseTypedDict, + ) + from .sendchatcompletionrequest import ( + SendChatCompletionRequestResponse, + SendChatCompletionRequestResponseTypedDict, + ) + from .updatekeys import ( + UpdateKeysData, + UpdateKeysDataTypedDict, + UpdateKeysLimitReset, + UpdateKeysRequest, + UpdateKeysRequestBody, + UpdateKeysRequestBodyTypedDict, + UpdateKeysRequestTypedDict, + UpdateKeysResponse, + UpdateKeysResponseTypedDict, + ) + +__all__ = [ + "APIType", + "CallData", + "CallDataTypedDict", + "CreateAuthKeysCodeCodeChallengeMethod", + "CreateAuthKeysCodeData", + "CreateAuthKeysCodeDataTypedDict", + "CreateAuthKeysCodeRequest", + "CreateAuthKeysCodeRequestTypedDict", + "CreateAuthKeysCodeResponse", + "CreateAuthKeysCodeResponseTypedDict", + "CreateCoinbaseChargeData", + "CreateCoinbaseChargeDataTypedDict", + "CreateCoinbaseChargeResponse", + "CreateCoinbaseChargeResponseTypedDict", + "CreateCoinbaseChargeSecurity", + "CreateCoinbaseChargeSecurityTypedDict", + "CreateEmbeddingsData", + "CreateEmbeddingsDataTypedDict", + "CreateEmbeddingsProvider", + "CreateEmbeddingsProviderTypedDict", + "CreateEmbeddingsRequest", + "CreateEmbeddingsRequestTypedDict", + "CreateEmbeddingsResponse", + "CreateEmbeddingsResponseBody", + "CreateEmbeddingsResponseBodyTypedDict", + "CreateEmbeddingsResponseTypedDict", + "CreateKeysData", + "CreateKeysDataTypedDict", + "CreateKeysLimitReset", + "CreateKeysRequest", + "CreateKeysRequestTypedDict", + "CreateKeysResponse", + "CreateKeysResponseTypedDict", + "CreateResponsesResponse", + "CreateResponsesResponseBody", + "CreateResponsesResponseBodyTypedDict", + "CreateResponsesResponseTypedDict", + "DataCollection", + "DeleteKeysRequest", + "DeleteKeysRequestTypedDict", + "DeleteKeysResponse", + "DeleteKeysResponseTypedDict", + "Embedding", + "EmbeddingTypedDict", + "EncodingFormat", + "EncodingFormatBase64", + "EncodingFormatFloat", + "EncodingFormatTypedDict", + "ExchangeAuthCodeForAPIKeyCodeChallengeMethod", + "ExchangeAuthCodeForAPIKeyRequest", + "ExchangeAuthCodeForAPIKeyRequestTypedDict", + "ExchangeAuthCodeForAPIKeyResponse", + "ExchangeAuthCodeForAPIKeyResponseTypedDict", + "GetCreditsResponse", + "GetCreditsResponseTypedDict", + "GetCurrentKeyData", + "GetCurrentKeyDataTypedDict", + "GetCurrentKeyResponse", + "GetCurrentKeyResponseTypedDict", + "GetGenerationData", + "GetGenerationDataTypedDict", + "GetGenerationRequest", + "GetGenerationRequestTypedDict", + "GetGenerationResponse", + "GetGenerationResponseTypedDict", + "GetKeyData", + "GetKeyDataTypedDict", + "GetKeyRequest", + "GetKeyRequestTypedDict", + "GetKeyResponse", + "GetKeyResponseTypedDict", + "GetModelsRequest", + "GetModelsRequestTypedDict", + "GetParametersData", + "GetParametersDataTypedDict", + "GetParametersProvider", + "GetParametersRequest", + "GetParametersRequestTypedDict", + "GetParametersResponse", + "GetParametersResponseTypedDict", + "GetParametersSecurity", + "GetParametersSecurityTypedDict", + "GetUserActivityRequest", + "GetUserActivityRequestTypedDict", + "GetUserActivityResponse", + "GetUserActivityResponseTypedDict", + "Ignore", + "IgnoreTypedDict", + "Input", + "InputTypedDict", + "ListData", + "ListDataTypedDict", + "ListEndpointsRequest", + "ListEndpointsRequestTypedDict", + "ListEndpointsResponse", + "ListEndpointsResponseTypedDict", + "ListEndpointsZdrResponse", + "ListEndpointsZdrResponseTypedDict", + "ListModelsUserSecurity", + "ListModelsUserSecurityTypedDict", + "ListProvidersData", + "ListProvidersDataTypedDict", + "ListProvidersResponse", + "ListProvidersResponseTypedDict", + "ListRequest", + "ListRequestTypedDict", + "ListResponse", + "ListResponseTypedDict", + "MaxPrice", + "MaxPriceTypedDict", + "Metadata", + "MetadataTypedDict", + "Object", + "ObjectEmbedding", + "Only", + "OnlyTypedDict", + "Order", + "OrderTypedDict", + "RateLimit", + "RateLimitTypedDict", + "SendChatCompletionRequestResponse", + "SendChatCompletionRequestResponseTypedDict", + "Sort", + "SupportedParameter", + "TransferIntent", + "TransferIntentTypedDict", + "UpdateKeysData", + "UpdateKeysDataTypedDict", + "UpdateKeysLimitReset", + "UpdateKeysRequest", + "UpdateKeysRequestBody", + "UpdateKeysRequestBodyTypedDict", + "UpdateKeysRequestTypedDict", + "UpdateKeysResponse", + "UpdateKeysResponseTypedDict", + "Usage", + "UsageTypedDict", + "Web3Data", + "Web3DataTypedDict", +] + +_dynamic_imports: dict[str, str] = { + "CreateAuthKeysCodeCodeChallengeMethod": ".createauthkeyscode", + "CreateAuthKeysCodeData": ".createauthkeyscode", + "CreateAuthKeysCodeDataTypedDict": ".createauthkeyscode", + "CreateAuthKeysCodeRequest": ".createauthkeyscode", + "CreateAuthKeysCodeRequestTypedDict": ".createauthkeyscode", + "CreateAuthKeysCodeResponse": ".createauthkeyscode", + "CreateAuthKeysCodeResponseTypedDict": ".createauthkeyscode", + "CallData": ".createcoinbasecharge", + "CallDataTypedDict": ".createcoinbasecharge", + "CreateCoinbaseChargeData": ".createcoinbasecharge", + "CreateCoinbaseChargeDataTypedDict": ".createcoinbasecharge", + "CreateCoinbaseChargeResponse": ".createcoinbasecharge", + "CreateCoinbaseChargeResponseTypedDict": ".createcoinbasecharge", + "CreateCoinbaseChargeSecurity": ".createcoinbasecharge", + "CreateCoinbaseChargeSecurityTypedDict": ".createcoinbasecharge", + "Metadata": ".createcoinbasecharge", + "MetadataTypedDict": ".createcoinbasecharge", + "TransferIntent": ".createcoinbasecharge", + "TransferIntentTypedDict": ".createcoinbasecharge", + "Web3Data": ".createcoinbasecharge", + "Web3DataTypedDict": ".createcoinbasecharge", + "CreateEmbeddingsData": ".createembeddings", + "CreateEmbeddingsDataTypedDict": ".createembeddings", + "CreateEmbeddingsProvider": ".createembeddings", + "CreateEmbeddingsProviderTypedDict": ".createembeddings", + "CreateEmbeddingsRequest": ".createembeddings", + "CreateEmbeddingsRequestTypedDict": ".createembeddings", + "CreateEmbeddingsResponse": ".createembeddings", + "CreateEmbeddingsResponseBody": ".createembeddings", + "CreateEmbeddingsResponseBodyTypedDict": ".createembeddings", + "CreateEmbeddingsResponseTypedDict": ".createembeddings", + "DataCollection": ".createembeddings", + "Embedding": ".createembeddings", + "EmbeddingTypedDict": ".createembeddings", + "EncodingFormat": ".createembeddings", + "EncodingFormatBase64": ".createembeddings", + "EncodingFormatFloat": ".createembeddings", + "EncodingFormatTypedDict": ".createembeddings", + "Ignore": ".createembeddings", + "IgnoreTypedDict": ".createembeddings", + "Input": ".createembeddings", + "InputTypedDict": ".createembeddings", + "MaxPrice": ".createembeddings", + "MaxPriceTypedDict": ".createembeddings", + "Object": ".createembeddings", + "ObjectEmbedding": ".createembeddings", + "Only": ".createembeddings", + "OnlyTypedDict": ".createembeddings", + "Order": ".createembeddings", + "OrderTypedDict": ".createembeddings", + "Sort": ".createembeddings", + "Usage": ".createembeddings", + "UsageTypedDict": ".createembeddings", + "CreateKeysData": ".createkeys", + "CreateKeysDataTypedDict": ".createkeys", + "CreateKeysLimitReset": ".createkeys", + "CreateKeysRequest": ".createkeys", + "CreateKeysRequestTypedDict": ".createkeys", + "CreateKeysResponse": ".createkeys", + "CreateKeysResponseTypedDict": ".createkeys", + "CreateResponsesResponse": ".createresponses", + "CreateResponsesResponseBody": ".createresponses", + "CreateResponsesResponseBodyTypedDict": ".createresponses", + "CreateResponsesResponseTypedDict": ".createresponses", + "DeleteKeysRequest": ".deletekeys", + "DeleteKeysRequestTypedDict": ".deletekeys", + "DeleteKeysResponse": ".deletekeys", + "DeleteKeysResponseTypedDict": ".deletekeys", + "ExchangeAuthCodeForAPIKeyCodeChallengeMethod": ".exchangeauthcodeforapikey", + "ExchangeAuthCodeForAPIKeyRequest": ".exchangeauthcodeforapikey", + "ExchangeAuthCodeForAPIKeyRequestTypedDict": ".exchangeauthcodeforapikey", + "ExchangeAuthCodeForAPIKeyResponse": ".exchangeauthcodeforapikey", + "ExchangeAuthCodeForAPIKeyResponseTypedDict": ".exchangeauthcodeforapikey", + "GetCreditsResponse": ".getcredits", + "GetCreditsResponseTypedDict": ".getcredits", + "GetCurrentKeyData": ".getcurrentkey", + "GetCurrentKeyDataTypedDict": ".getcurrentkey", + "GetCurrentKeyResponse": ".getcurrentkey", + "GetCurrentKeyResponseTypedDict": ".getcurrentkey", + "RateLimit": ".getcurrentkey", + "RateLimitTypedDict": ".getcurrentkey", + "APIType": ".getgeneration", + "GetGenerationData": ".getgeneration", + "GetGenerationDataTypedDict": ".getgeneration", + "GetGenerationRequest": ".getgeneration", + "GetGenerationRequestTypedDict": ".getgeneration", + "GetGenerationResponse": ".getgeneration", + "GetGenerationResponseTypedDict": ".getgeneration", + "GetKeyData": ".getkey", + "GetKeyDataTypedDict": ".getkey", + "GetKeyRequest": ".getkey", + "GetKeyRequestTypedDict": ".getkey", + "GetKeyResponse": ".getkey", + "GetKeyResponseTypedDict": ".getkey", + "GetModelsRequest": ".getmodels", + "GetModelsRequestTypedDict": ".getmodels", + "GetParametersData": ".getparameters", + "GetParametersDataTypedDict": ".getparameters", + "GetParametersProvider": ".getparameters", + "GetParametersRequest": ".getparameters", + "GetParametersRequestTypedDict": ".getparameters", + "GetParametersResponse": ".getparameters", + "GetParametersResponseTypedDict": ".getparameters", + "GetParametersSecurity": ".getparameters", + "GetParametersSecurityTypedDict": ".getparameters", + "SupportedParameter": ".getparameters", + "GetUserActivityRequest": ".getuseractivity", + "GetUserActivityRequestTypedDict": ".getuseractivity", + "GetUserActivityResponse": ".getuseractivity", + "GetUserActivityResponseTypedDict": ".getuseractivity", + "ListData": ".list", + "ListDataTypedDict": ".list", + "ListRequest": ".list", + "ListRequestTypedDict": ".list", + "ListResponse": ".list", + "ListResponseTypedDict": ".list", + "ListEndpointsRequest": ".listendpoints", + "ListEndpointsRequestTypedDict": ".listendpoints", + "ListEndpointsResponse": ".listendpoints", + "ListEndpointsResponseTypedDict": ".listendpoints", + "ListEndpointsZdrResponse": ".listendpointszdr", + "ListEndpointsZdrResponseTypedDict": ".listendpointszdr", + "ListModelsUserSecurity": ".listmodelsuser", + "ListModelsUserSecurityTypedDict": ".listmodelsuser", + "ListProvidersData": ".listproviders", + "ListProvidersDataTypedDict": ".listproviders", + "ListProvidersResponse": ".listproviders", + "ListProvidersResponseTypedDict": ".listproviders", + "SendChatCompletionRequestResponse": ".sendchatcompletionrequest", + "SendChatCompletionRequestResponseTypedDict": ".sendchatcompletionrequest", + "UpdateKeysData": ".updatekeys", + "UpdateKeysDataTypedDict": ".updatekeys", + "UpdateKeysLimitReset": ".updatekeys", + "UpdateKeysRequest": ".updatekeys", + "UpdateKeysRequestBody": ".updatekeys", + "UpdateKeysRequestBodyTypedDict": ".updatekeys", + "UpdateKeysRequestTypedDict": ".updatekeys", + "UpdateKeysResponse": ".updatekeys", + "UpdateKeysResponseTypedDict": ".updatekeys", +} + + +def dynamic_import(modname, retries=3): + for attempt in range(retries): + try: + return import_module(modname, __package__) + except KeyError: + # Clear any half-initialized module and retry + sys.modules.pop(modname, None) + if attempt == retries - 1: + break + raise KeyError(f"Failed to import module '{modname}' after {retries} attempts") + + +def __getattr__(attr_name: str) -> object: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError( + f"No {attr_name} found in _dynamic_imports for module name -> {__name__} " + ) + + try: + module = dynamic_import(module_name) + result = getattr(module, attr_name) + return result + except ImportError as e: + raise ImportError( + f"Failed to import {attr_name} from {module_name}: {e}" + ) from e + except AttributeError as e: + raise AttributeError( + f"Failed to get {attr_name} from {module_name}: {e}" + ) from e + + +def __dir__(): + lazy_attrs = builtins.list(_dynamic_imports.keys()) + return builtins.sorted(lazy_attrs) diff --git a/src/openrouter/models/createauthkeyscodeop.py b/src/openrouter/operations/createauthkeyscode.py similarity index 100% rename from src/openrouter/models/createauthkeyscodeop.py rename to src/openrouter/operations/createauthkeyscode.py diff --git a/src/openrouter/models/createcoinbasechargeop.py b/src/openrouter/operations/createcoinbasecharge.py similarity index 100% rename from src/openrouter/models/createcoinbasechargeop.py rename to src/openrouter/operations/createcoinbasecharge.py diff --git a/src/openrouter/models/createembeddingsop.py b/src/openrouter/operations/createembeddings.py similarity index 83% rename from src/openrouter/models/createembeddingsop.py rename to src/openrouter/operations/createembeddings.py index f90d907..b84d22b 100644 --- a/src/openrouter/models/createembeddingsop.py +++ b/src/openrouter/operations/createembeddings.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .providername import ProviderName -from .quantization import Quantization +from openrouter.components import ( + providername as components_providername, + quantization as components_quantization, +) from openrouter.types import ( BaseModel, Nullable, @@ -26,7 +28,7 @@ InputTypedDict = TypeAliasType( Input = TypeAliasType("Input", Union[str, List[str], List[float], List[List[float]]]) -CreateEmbeddingsDataCollection = Union[ +DataCollection = Union[ Literal[ "deny", "allow", @@ -40,40 +42,58 @@ r"""Data collection setting. If no available model provider meets the requiremen """ -CreateEmbeddingsOrderTypedDict = TypeAliasType( - "CreateEmbeddingsOrderTypedDict", Union[ProviderName, str] +OrderTypedDict = TypeAliasType( + "OrderTypedDict", Union[components_providername.ProviderName, str] ) -CreateEmbeddingsOrder = TypeAliasType( - "CreateEmbeddingsOrder", - Union[Annotated[ProviderName, PlainValidator(validate_open_enum(False))], str], +Order = TypeAliasType( + "Order", + Union[ + Annotated[ + components_providername.ProviderName, + PlainValidator(validate_open_enum(False)), + ], + str, + ], ) -CreateEmbeddingsOnlyTypedDict = TypeAliasType( - "CreateEmbeddingsOnlyTypedDict", Union[ProviderName, str] +OnlyTypedDict = TypeAliasType( + "OnlyTypedDict", Union[components_providername.ProviderName, str] ) -CreateEmbeddingsOnly = TypeAliasType( - "CreateEmbeddingsOnly", - Union[Annotated[ProviderName, PlainValidator(validate_open_enum(False))], str], +Only = TypeAliasType( + "Only", + Union[ + Annotated[ + components_providername.ProviderName, + PlainValidator(validate_open_enum(False)), + ], + str, + ], ) -CreateEmbeddingsIgnoreTypedDict = TypeAliasType( - "CreateEmbeddingsIgnoreTypedDict", Union[ProviderName, str] +IgnoreTypedDict = TypeAliasType( + "IgnoreTypedDict", Union[components_providername.ProviderName, str] ) -CreateEmbeddingsIgnore = TypeAliasType( - "CreateEmbeddingsIgnore", - Union[Annotated[ProviderName, PlainValidator(validate_open_enum(False))], str], +Ignore = TypeAliasType( + "Ignore", + Union[ + Annotated[ + components_providername.ProviderName, + PlainValidator(validate_open_enum(False)), + ], + str, + ], ) -CreateEmbeddingsSort = Union[ +Sort = Union[ Literal[ "price", "throughput", @@ -84,7 +104,7 @@ CreateEmbeddingsSort = Union[ r"""The sorting strategy to use for this request, if \"order\" is not specified. When set, no load balancing is performed.""" -class CreateEmbeddingsMaxPriceTypedDict(TypedDict): +class MaxPriceTypedDict(TypedDict): r"""The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.""" prompt: NotRequired[Any] @@ -99,7 +119,7 @@ class CreateEmbeddingsMaxPriceTypedDict(TypedDict): r"""A value in string or number format that is a large number""" -class CreateEmbeddingsMaxPrice(BaseModel): +class MaxPrice(BaseModel): r"""The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.""" prompt: Optional[Any] = None @@ -127,7 +147,7 @@ class CreateEmbeddingsProviderTypedDict(TypedDict): """ require_parameters: NotRequired[Nullable[bool]] r"""Whether to filter providers to only those that support the parameters you've provided. If this setting is omitted or set to false, then providers will receive only the parameters they support, and ignore the rest.""" - data_collection: NotRequired[Nullable[CreateEmbeddingsDataCollection]] + data_collection: NotRequired[Nullable[DataCollection]] r"""Data collection setting. If no available model provider meets the requirement, your request will return an error. - allow: (default) allow providers which store user data non-transiently and may train on it - deny: use only providers which do not collect user data. @@ -137,17 +157,17 @@ class CreateEmbeddingsProviderTypedDict(TypedDict): r"""Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.""" enforce_distillable_text: NotRequired[Nullable[bool]] r"""Whether to restrict routing to only models that allow text distillation. When true, only models where the author has allowed distillation will be used.""" - order: NotRequired[Nullable[List[CreateEmbeddingsOrderTypedDict]]] + order: NotRequired[Nullable[List[OrderTypedDict]]] r"""An ordered list of provider slugs. The router will attempt to use the first provider in the subset of this list that supports your requested model, and fall back to the next if it is unavailable. If no providers are available, the request will fail with an error message.""" - only: NotRequired[Nullable[List[CreateEmbeddingsOnlyTypedDict]]] + only: NotRequired[Nullable[List[OnlyTypedDict]]] r"""List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request.""" - ignore: NotRequired[Nullable[List[CreateEmbeddingsIgnoreTypedDict]]] + ignore: NotRequired[Nullable[List[IgnoreTypedDict]]] r"""List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request.""" - quantizations: NotRequired[Nullable[List[Quantization]]] + quantizations: NotRequired[Nullable[List[components_quantization.Quantization]]] r"""A list of quantization levels to filter the provider by.""" - sort: NotRequired[Nullable[CreateEmbeddingsSort]] + sort: NotRequired[Nullable[Sort]] r"""The sorting strategy to use for this request, if \"order\" is not specified. When set, no load balancing is performed.""" - max_price: NotRequired[CreateEmbeddingsMaxPriceTypedDict] + max_price: NotRequired[MaxPriceTypedDict] r"""The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.""" @@ -163,8 +183,7 @@ class CreateEmbeddingsProvider(BaseModel): r"""Whether to filter providers to only those that support the parameters you've provided. If this setting is omitted or set to false, then providers will receive only the parameters they support, and ignore the rest.""" data_collection: Annotated[ - OptionalNullable[CreateEmbeddingsDataCollection], - PlainValidator(validate_open_enum(False)), + OptionalNullable[DataCollection], PlainValidator(validate_open_enum(False)) ] = UNSET r"""Data collection setting. If no available model provider meets the requirement, your request will return an error. - allow: (default) allow providers which store user data non-transiently and may train on it @@ -178,27 +197,31 @@ class CreateEmbeddingsProvider(BaseModel): enforce_distillable_text: OptionalNullable[bool] = UNSET r"""Whether to restrict routing to only models that allow text distillation. When true, only models where the author has allowed distillation will be used.""" - order: OptionalNullable[List[CreateEmbeddingsOrder]] = UNSET + order: OptionalNullable[List[Order]] = UNSET r"""An ordered list of provider slugs. The router will attempt to use the first provider in the subset of this list that supports your requested model, and fall back to the next if it is unavailable. If no providers are available, the request will fail with an error message.""" - only: OptionalNullable[List[CreateEmbeddingsOnly]] = UNSET + only: OptionalNullable[List[Only]] = UNSET r"""List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request.""" - ignore: OptionalNullable[List[CreateEmbeddingsIgnore]] = UNSET + ignore: OptionalNullable[List[Ignore]] = UNSET r"""List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request.""" quantizations: OptionalNullable[ - List[Annotated[Quantization, PlainValidator(validate_open_enum(False))]] + List[ + Annotated[ + components_quantization.Quantization, + PlainValidator(validate_open_enum(False)), + ] + ] ] = UNSET r"""A list of quantization levels to filter the provider by.""" sort: Annotated[ - OptionalNullable[CreateEmbeddingsSort], - PlainValidator(validate_open_enum(False)), + OptionalNullable[Sort], PlainValidator(validate_open_enum(False)) ] = UNSET r"""The sorting strategy to use for this request, if \"order\" is not specified. When set, no load balancing is performed.""" - max_price: Optional[CreateEmbeddingsMaxPrice] = None + max_price: Optional[MaxPrice] = None r"""The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.""" @model_serializer(mode="wrap") @@ -291,7 +314,7 @@ class CreateEmbeddingsRequest(BaseModel): user: Optional[str] = None -CreateEmbeddingsObject = Literal["list",] +Object = Literal["list",] ObjectEmbedding = Literal["embedding",] @@ -334,7 +357,7 @@ class Usage(BaseModel): class CreateEmbeddingsResponseBodyTypedDict(TypedDict): r"""Embedding response""" - object: CreateEmbeddingsObject + object: Object data: List[CreateEmbeddingsDataTypedDict] model: str id: NotRequired[str] @@ -344,7 +367,7 @@ class CreateEmbeddingsResponseBodyTypedDict(TypedDict): class CreateEmbeddingsResponseBody(BaseModel): r"""Embedding response""" - object: CreateEmbeddingsObject + object: Object data: List[CreateEmbeddingsData] diff --git a/src/openrouter/models/createkeysop.py b/src/openrouter/operations/createkeys.py similarity index 100% rename from src/openrouter/models/createkeysop.py rename to src/openrouter/operations/createkeys.py diff --git a/src/openrouter/operations/createresponses.py b/src/openrouter/operations/createresponses.py new file mode 100644 index 0000000..e8ef408 --- /dev/null +++ b/src/openrouter/operations/createresponses.py @@ -0,0 +1,57 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from openrouter.components import ( + openresponsesnonstreamingresponse as components_openresponsesnonstreamingresponse, + openresponsesstreamevent as components_openresponsesstreamevent, +) +from openrouter.types import BaseModel +from openrouter.utils import eventstreaming +from typing import Union +from typing_extensions import TypeAliasType, TypedDict + + +class CreateResponsesResponseBodyTypedDict(TypedDict): + r"""Successful response""" + + data: components_openresponsesstreamevent.OpenResponsesStreamEventTypedDict + r"""Union of all possible event types emitted during response streaming""" + + +class CreateResponsesResponseBody(BaseModel): + r"""Successful response""" + + data: components_openresponsesstreamevent.OpenResponsesStreamEvent + r"""Union of all possible event types emitted during response streaming""" + + +CreateResponsesResponseTypedDict = TypeAliasType( + "CreateResponsesResponseTypedDict", + Union[ + components_openresponsesnonstreamingresponse.OpenResponsesNonStreamingResponseTypedDict, + Union[ + eventstreaming.EventStream[ + components_openresponsesstreamevent.OpenResponsesStreamEventTypedDict + ], + eventstreaming.EventStreamAsync[ + components_openresponsesstreamevent.OpenResponsesStreamEventTypedDict + ], + ], + ], +) + + +CreateResponsesResponse = TypeAliasType( + "CreateResponsesResponse", + Union[ + components_openresponsesnonstreamingresponse.OpenResponsesNonStreamingResponse, + Union[ + eventstreaming.EventStream[ + components_openresponsesstreamevent.OpenResponsesStreamEvent + ], + eventstreaming.EventStreamAsync[ + components_openresponsesstreamevent.OpenResponsesStreamEvent + ], + ], + ], +) diff --git a/src/openrouter/models/deletekeysop.py b/src/openrouter/operations/deletekeys.py similarity index 100% rename from src/openrouter/models/deletekeysop.py rename to src/openrouter/operations/deletekeys.py diff --git a/src/openrouter/models/exchangeauthcodeforapikeyop.py b/src/openrouter/operations/exchangeauthcodeforapikey.py similarity index 100% rename from src/openrouter/models/exchangeauthcodeforapikeyop.py rename to src/openrouter/operations/exchangeauthcodeforapikey.py diff --git a/src/openrouter/models/getcreditsop.py b/src/openrouter/operations/getcredits.py similarity index 100% rename from src/openrouter/models/getcreditsop.py rename to src/openrouter/operations/getcredits.py diff --git a/src/openrouter/models/getcurrentkeyop.py b/src/openrouter/operations/getcurrentkey.py similarity index 100% rename from src/openrouter/models/getcurrentkeyop.py rename to src/openrouter/operations/getcurrentkey.py diff --git a/src/openrouter/models/getgenerationop.py b/src/openrouter/operations/getgeneration.py similarity index 100% rename from src/openrouter/models/getgenerationop.py rename to src/openrouter/operations/getgeneration.py diff --git a/src/openrouter/models/getkeyop.py b/src/openrouter/operations/getkey.py similarity index 100% rename from src/openrouter/models/getkeyop.py rename to src/openrouter/operations/getkey.py diff --git a/src/openrouter/models/getmodelsop.py b/src/openrouter/operations/getmodels.py similarity index 100% rename from src/openrouter/models/getmodelsop.py rename to src/openrouter/operations/getmodels.py diff --git a/src/openrouter/models/getparametersop.py b/src/openrouter/operations/getparameters.py similarity index 100% rename from src/openrouter/models/getparametersop.py rename to src/openrouter/operations/getparameters.py diff --git a/src/openrouter/models/getuseractivityop.py b/src/openrouter/operations/getuseractivity.py similarity index 84% rename from src/openrouter/models/getuseractivityop.py rename to src/openrouter/operations/getuseractivity.py index 05429e4..f485082 100644 --- a/src/openrouter/models/getuseractivityop.py +++ b/src/openrouter/operations/getuseractivity.py @@ -1,7 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .activityitem import ActivityItem, ActivityItemTypedDict +from openrouter.components import activityitem as components_activityitem from openrouter.types import BaseModel from openrouter.utils import FieldMetadata, QueryParamMetadata import pydantic @@ -26,12 +26,12 @@ class GetUserActivityRequest(BaseModel): class GetUserActivityResponseTypedDict(TypedDict): r"""Returns user activity data grouped by endpoint""" - data: List[ActivityItemTypedDict] + data: List[components_activityitem.ActivityItemTypedDict] r"""List of activity items""" class GetUserActivityResponse(BaseModel): r"""Returns user activity data grouped by endpoint""" - data: List[ActivityItem] + data: List[components_activityitem.ActivityItem] r"""List of activity items""" diff --git a/src/openrouter/models/listop.py b/src/openrouter/operations/list.py similarity index 100% rename from src/openrouter/models/listop.py rename to src/openrouter/operations/list.py diff --git a/src/openrouter/models/listendpointsop.py b/src/openrouter/operations/listendpoints.py similarity index 70% rename from src/openrouter/models/listendpointsop.py rename to src/openrouter/operations/listendpoints.py index 152ca6d..20286ca 100644 --- a/src/openrouter/models/listendpointsop.py +++ b/src/openrouter/operations/listendpoints.py @@ -1,7 +1,9 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .listendpointsresponse import ListEndpointsResponse, ListEndpointsResponseTypedDict +from openrouter.components import ( + listendpointsresponse as components_listendpointsresponse, +) from openrouter.types import BaseModel from openrouter.utils import FieldMetadata, PathParamMetadata from typing_extensions import Annotated, TypedDict @@ -22,15 +24,15 @@ class ListEndpointsRequest(BaseModel): ] -class EndpointsListEndpointsResponseTypedDict(TypedDict): +class ListEndpointsResponseTypedDict(TypedDict): r"""Returns a list of endpoints""" - data: ListEndpointsResponseTypedDict + data: components_listendpointsresponse.ListEndpointsResponseTypedDict r"""List of available endpoints for a model""" -class EndpointsListEndpointsResponse(BaseModel): +class ListEndpointsResponse(BaseModel): r"""Returns a list of endpoints""" - data: ListEndpointsResponse + data: components_listendpointsresponse.ListEndpointsResponse r"""List of available endpoints for a model""" diff --git a/src/openrouter/models/listendpointszdrop.py b/src/openrouter/operations/listendpointszdr.py similarity index 65% rename from src/openrouter/models/listendpointszdrop.py rename to src/openrouter/operations/listendpointszdr.py index 0f31004..dcf7b20 100644 --- a/src/openrouter/models/listendpointszdrop.py +++ b/src/openrouter/operations/listendpointszdr.py @@ -1,7 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .publicendpoint import PublicEndpoint, PublicEndpointTypedDict +from openrouter.components import publicendpoint as components_publicendpoint from openrouter.types import BaseModel from typing import List from typing_extensions import TypedDict @@ -10,10 +10,10 @@ from typing_extensions import TypedDict class ListEndpointsZdrResponseTypedDict(TypedDict): r"""Returns a list of endpoints""" - data: List[PublicEndpointTypedDict] + data: List[components_publicendpoint.PublicEndpointTypedDict] class ListEndpointsZdrResponse(BaseModel): r"""Returns a list of endpoints""" - data: List[PublicEndpoint] + data: List[components_publicendpoint.PublicEndpoint] diff --git a/src/openrouter/models/listmodelsuserop.py b/src/openrouter/operations/listmodelsuser.py similarity index 100% rename from src/openrouter/models/listmodelsuserop.py rename to src/openrouter/operations/listmodelsuser.py diff --git a/src/openrouter/models/listprovidersop.py b/src/openrouter/operations/listproviders.py similarity index 100% rename from src/openrouter/models/listprovidersop.py rename to src/openrouter/operations/listproviders.py diff --git a/src/openrouter/operations/sendchatcompletionrequest.py b/src/openrouter/operations/sendchatcompletionrequest.py new file mode 100644 index 0000000..7a576b9 --- /dev/null +++ b/src/openrouter/operations/sendchatcompletionrequest.py @@ -0,0 +1,42 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from openrouter.components import ( + chatresponse as components_chatresponse, + chatstreamingresponsechunk as components_chatstreamingresponsechunk, +) +from openrouter.utils import eventstreaming +from typing import Union +from typing_extensions import TypeAliasType + + +SendChatCompletionRequestResponseTypedDict = TypeAliasType( + "SendChatCompletionRequestResponseTypedDict", + Union[ + components_chatresponse.ChatResponseTypedDict, + Union[ + eventstreaming.EventStream[ + components_chatstreamingresponsechunk.ChatStreamingResponseChunkDataTypedDict + ], + eventstreaming.EventStreamAsync[ + components_chatstreamingresponsechunk.ChatStreamingResponseChunkDataTypedDict + ], + ], + ], +) + + +SendChatCompletionRequestResponse = TypeAliasType( + "SendChatCompletionRequestResponse", + Union[ + components_chatresponse.ChatResponse, + Union[ + eventstreaming.EventStream[ + components_chatstreamingresponsechunk.ChatStreamingResponseChunkData + ], + eventstreaming.EventStreamAsync[ + components_chatstreamingresponsechunk.ChatStreamingResponseChunkData + ], + ], + ], +) diff --git a/src/openrouter/models/updatekeysop.py b/src/openrouter/operations/updatekeys.py similarity index 100% rename from src/openrouter/models/updatekeysop.py rename to src/openrouter/operations/updatekeys.py diff --git a/src/openrouter/parameters.py b/src/openrouter/parameters.py index d3ab5a6..c57023c 100644 --- a/src/openrouter/parameters.py +++ b/src/openrouter/parameters.py @@ -1,9 +1,8 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext -from openrouter.models import getparametersop as models_getparametersop from openrouter.types import OptionalNullable, UNSET from openrouter.utils import get_security_from_env from openrouter.utils.unmarshal_json_response import unmarshal_json_response @@ -17,17 +16,16 @@ class Parameters(BaseSDK): self, *, security: Union[ - models_getparametersop.GetParametersSecurity, - models_getparametersop.GetParametersSecurityTypedDict, + operations.GetParametersSecurity, operations.GetParametersSecurityTypedDict ], author: str, slug: str, - provider: Optional[models_getparametersop.GetParametersProvider] = None, + provider: Optional[operations.GetParametersProvider] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.GetParametersData: + ) -> operations.GetParametersData: r"""Get a model's supported parameters and data about which are most popular :param security: @@ -49,7 +47,7 @@ class Parameters(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.GetParametersRequest( + request = operations.GetParametersRequest( author=author, slug=slug, provider=provider, @@ -67,7 +65,9 @@ class Parameters(BaseSDK): user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=utils.get_pydantic_model(security, models.GetParametersSecurity), + security=utils.get_pydantic_model( + security, operations.GetParametersSecurity + ), timeout_ms=timeout_ms, ) @@ -85,7 +85,7 @@ class Parameters(BaseSDK): base_url=base_url or "", operation_id="getParameters", oauth2_scopes=None, - security_source=get_security_from_env(security, models.Security), + security_source=get_security_from_env(security, components.Security), ), request=req, error_status_codes=["401", "404", "4XX", "500", "5XX"], @@ -94,7 +94,7 @@ class Parameters(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetParametersResponse, http_res) + return unmarshal_json_response(operations.GetParametersResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res @@ -127,17 +127,16 @@ class Parameters(BaseSDK): self, *, security: Union[ - models_getparametersop.GetParametersSecurity, - models_getparametersop.GetParametersSecurityTypedDict, + operations.GetParametersSecurity, operations.GetParametersSecurityTypedDict ], author: str, slug: str, - provider: Optional[models_getparametersop.GetParametersProvider] = None, + provider: Optional[operations.GetParametersProvider] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.GetParametersData: + ) -> operations.GetParametersData: r"""Get a model's supported parameters and data about which are most popular :param security: @@ -159,7 +158,7 @@ class Parameters(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.GetParametersRequest( + request = operations.GetParametersRequest( author=author, slug=slug, provider=provider, @@ -177,7 +176,9 @@ class Parameters(BaseSDK): user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=utils.get_pydantic_model(security, models.GetParametersSecurity), + security=utils.get_pydantic_model( + security, operations.GetParametersSecurity + ), timeout_ms=timeout_ms, ) @@ -195,7 +196,7 @@ class Parameters(BaseSDK): base_url=base_url or "", operation_id="getParameters", oauth2_scopes=None, - security_source=get_security_from_env(security, models.Security), + security_source=get_security_from_env(security, components.Security), ), request=req, error_status_codes=["401", "404", "4XX", "500", "5XX"], @@ -204,7 +205,7 @@ class Parameters(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GetParametersResponse, http_res) + return unmarshal_json_response(operations.GetParametersResponse, http_res) if utils.match_response(http_res, "401", "application/json"): response_data = unmarshal_json_response( errors.UnauthorizedResponseErrorData, http_res diff --git a/src/openrouter/providers.py b/src/openrouter/providers.py index e540e64..a32817e 100644 --- a/src/openrouter/providers.py +++ b/src/openrouter/providers.py @@ -1,7 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext from openrouter.types import OptionalNullable, UNSET from openrouter.utils import get_security_from_env @@ -19,7 +19,7 @@ class Providers(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.ListProvidersData]: + ) -> List[operations.ListProvidersData]: r"""List all providers :param retries: Override the default retry configuration for this method @@ -67,7 +67,7 @@ class Providers(BaseSDK): operation_id="listProviders", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -77,7 +77,7 @@ class Providers(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ListProvidersResponse, http_res) + return unmarshal_json_response(operations.ListProvidersResponse, http_res) if utils.match_response(http_res, "500", "application/json"): response_data = unmarshal_json_response( errors.InternalServerResponseErrorData, http_res @@ -103,7 +103,7 @@ class Providers(BaseSDK): server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> List[models.ListProvidersData]: + ) -> List[operations.ListProvidersData]: r"""List all providers :param retries: Override the default retry configuration for this method @@ -151,7 +151,7 @@ class Providers(BaseSDK): operation_id="listProviders", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -161,7 +161,7 @@ class Providers(BaseSDK): response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.ListProvidersResponse, http_res) + return unmarshal_json_response(operations.ListProvidersResponse, http_res) if utils.match_response(http_res, "500", "application/json"): response_data = unmarshal_json_response( errors.InternalServerResponseErrorData, http_res diff --git a/src/openrouter/responses.py b/src/openrouter/responses.py index 3de9894..277e769 100644 --- a/src/openrouter/responses.py +++ b/src/openrouter/responses.py @@ -2,7 +2,7 @@ from .basesdk import BaseSDK from enum import Enum -from openrouter import errors, models, utils +from openrouter import components, errors, operations, utils from openrouter._hooks import HookContext from openrouter.types import OptionalNullable, UNSET from openrouter.utils import eventstreaming, get_security_from_env @@ -23,20 +23,20 @@ class Responses(BaseSDK): self, *, input: Optional[ - Union[models.OpenResponsesInput, models.OpenResponsesInputTypedDict] + Union[components.OpenResponsesInput, components.OpenResponsesInputTypedDict] ] = None, instructions: OptionalNullable[str] = UNSET, metadata: OptionalNullable[Dict[str, str]] = UNSET, tools: Optional[ Union[ - List[models.OpenResponsesRequestToolUnion], - List[models.OpenResponsesRequestToolUnionTypedDict], + List[components.OpenResponsesRequestToolUnion], + List[components.OpenResponsesRequestToolUnionTypedDict], ] ] = None, tool_choice: Optional[ Union[ - models.OpenAIResponsesToolChoiceUnion, - models.OpenAIResponsesToolChoiceUnionTypedDict, + components.OpenAIResponsesToolChoiceUnion, + components.OpenAIResponsesToolChoiceUnionTypedDict, ] ] = None, parallel_tool_calls: OptionalNullable[bool] = UNSET, @@ -44,14 +44,14 @@ class Responses(BaseSDK): models: Optional[List[str]] = None, text: Optional[ Union[ - models.OpenResponsesResponseText, - models.OpenResponsesResponseTextTypedDict, + components.OpenResponsesResponseText, + components.OpenResponsesResponseTextTypedDict, ] ] = None, reasoning: OptionalNullable[ Union[ - models.OpenResponsesReasoningConfig, - models.OpenResponsesReasoningConfigTypedDict, + components.OpenResponsesReasoningConfig, + components.OpenResponsesReasoningConfigTypedDict, ] ] = UNSET, max_output_tokens: OptionalNullable[float] = UNSET, @@ -61,27 +61,30 @@ class Responses(BaseSDK): prompt_cache_key: OptionalNullable[str] = UNSET, previous_response_id: OptionalNullable[str] = UNSET, prompt: OptionalNullable[ - Union[models.OpenAIResponsesPrompt, models.OpenAIResponsesPromptTypedDict] + Union[ + components.OpenAIResponsesPrompt, + components.OpenAIResponsesPromptTypedDict, + ] ] = UNSET, - include: OptionalNullable[List[models.OpenAIResponsesIncludable]] = UNSET, + include: OptionalNullable[List[components.OpenAIResponsesIncludable]] = UNSET, background: OptionalNullable[bool] = UNSET, safety_identifier: OptionalNullable[str] = UNSET, store: OptionalNullable[bool] = UNSET, - service_tier: OptionalNullable[models.ServiceTier] = UNSET, - truncation: OptionalNullable[models.Truncation] = UNSET, + service_tier: OptionalNullable[components.ServiceTier] = UNSET, + truncation: OptionalNullable[components.Truncation] = UNSET, stream: Union[Literal[False], None] = None, provider: OptionalNullable[ - Union[models.Provider, models.ProviderTypedDict] + Union[components.Provider, components.ProviderTypedDict] ] = UNSET, plugins: Optional[ - Union[List[models.Plugin], List[models.PluginTypedDict]] + Union[List[components.Plugin], List[components.PluginTypedDict]] ] = None, user: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.OpenResponsesNonStreamingResponse: + ) -> components.OpenResponsesNonStreamingResponse: r"""Create a response Creates a streaming or non-streaming response using OpenResponses API format @@ -125,20 +128,20 @@ class Responses(BaseSDK): self, *, input: Optional[ - Union[models.OpenResponsesInput, models.OpenResponsesInputTypedDict] + Union[components.OpenResponsesInput, components.OpenResponsesInputTypedDict] ] = None, instructions: OptionalNullable[str] = UNSET, metadata: OptionalNullable[Dict[str, str]] = UNSET, tools: Optional[ Union[ - List[models.OpenResponsesRequestToolUnion], - List[models.OpenResponsesRequestToolUnionTypedDict], + List[components.OpenResponsesRequestToolUnion], + List[components.OpenResponsesRequestToolUnionTypedDict], ] ] = None, tool_choice: Optional[ Union[ - models.OpenAIResponsesToolChoiceUnion, - models.OpenAIResponsesToolChoiceUnionTypedDict, + components.OpenAIResponsesToolChoiceUnion, + components.OpenAIResponsesToolChoiceUnionTypedDict, ] ] = None, parallel_tool_calls: OptionalNullable[bool] = UNSET, @@ -146,14 +149,14 @@ class Responses(BaseSDK): models: Optional[List[str]] = None, text: Optional[ Union[ - models.OpenResponsesResponseText, - models.OpenResponsesResponseTextTypedDict, + components.OpenResponsesResponseText, + components.OpenResponsesResponseTextTypedDict, ] ] = None, reasoning: OptionalNullable[ Union[ - models.OpenResponsesReasoningConfig, - models.OpenResponsesReasoningConfigTypedDict, + components.OpenResponsesReasoningConfig, + components.OpenResponsesReasoningConfigTypedDict, ] ] = UNSET, max_output_tokens: OptionalNullable[float] = UNSET, @@ -163,27 +166,30 @@ class Responses(BaseSDK): prompt_cache_key: OptionalNullable[str] = UNSET, previous_response_id: OptionalNullable[str] = UNSET, prompt: OptionalNullable[ - Union[models.OpenAIResponsesPrompt, models.OpenAIResponsesPromptTypedDict] + Union[ + components.OpenAIResponsesPrompt, + components.OpenAIResponsesPromptTypedDict, + ] ] = UNSET, - include: OptionalNullable[List[models.OpenAIResponsesIncludable]] = UNSET, + include: OptionalNullable[List[components.OpenAIResponsesIncludable]] = UNSET, background: OptionalNullable[bool] = UNSET, safety_identifier: OptionalNullable[str] = UNSET, store: OptionalNullable[bool] = UNSET, - service_tier: OptionalNullable[models.ServiceTier] = UNSET, - truncation: OptionalNullable[models.Truncation] = UNSET, + service_tier: OptionalNullable[components.ServiceTier] = UNSET, + truncation: OptionalNullable[components.Truncation] = UNSET, stream: Literal[True], provider: OptionalNullable[ - Union[models.Provider, models.ProviderTypedDict] + Union[components.Provider, components.ProviderTypedDict] ] = UNSET, plugins: Optional[ - Union[List[models.Plugin], List[models.PluginTypedDict]] + Union[List[components.Plugin], List[components.PluginTypedDict]] ] = None, user: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> eventstreaming.EventStream[models.OpenResponsesStreamEvent]: + ) -> eventstreaming.EventStream[components.OpenResponsesStreamEvent]: r"""Create a response Creates a streaming or non-streaming response using OpenResponses API format @@ -226,20 +232,20 @@ class Responses(BaseSDK): self, *, input: Optional[ - Union[models.OpenResponsesInput, models.OpenResponsesInputTypedDict] + Union[components.OpenResponsesInput, components.OpenResponsesInputTypedDict] ] = None, instructions: OptionalNullable[str] = UNSET, metadata: OptionalNullable[Dict[str, str]] = UNSET, tools: Optional[ Union[ - List[models.OpenResponsesRequestToolUnion], - List[models.OpenResponsesRequestToolUnionTypedDict], + List[components.OpenResponsesRequestToolUnion], + List[components.OpenResponsesRequestToolUnionTypedDict], ] ] = None, tool_choice: Optional[ Union[ - models.OpenAIResponsesToolChoiceUnion, - models.OpenAIResponsesToolChoiceUnionTypedDict, + components.OpenAIResponsesToolChoiceUnion, + components.OpenAIResponsesToolChoiceUnionTypedDict, ] ] = None, parallel_tool_calls: OptionalNullable[bool] = UNSET, @@ -247,14 +253,14 @@ class Responses(BaseSDK): models: Optional[List[str]] = None, text: Optional[ Union[ - models.OpenResponsesResponseText, - models.OpenResponsesResponseTextTypedDict, + components.OpenResponsesResponseText, + components.OpenResponsesResponseTextTypedDict, ] ] = None, reasoning: OptionalNullable[ Union[ - models.OpenResponsesReasoningConfig, - models.OpenResponsesReasoningConfigTypedDict, + components.OpenResponsesReasoningConfig, + components.OpenResponsesReasoningConfigTypedDict, ] ] = UNSET, max_output_tokens: OptionalNullable[float] = UNSET, @@ -264,27 +270,30 @@ class Responses(BaseSDK): prompt_cache_key: OptionalNullable[str] = UNSET, previous_response_id: OptionalNullable[str] = UNSET, prompt: OptionalNullable[ - Union[models.OpenAIResponsesPrompt, models.OpenAIResponsesPromptTypedDict] + Union[ + components.OpenAIResponsesPrompt, + components.OpenAIResponsesPromptTypedDict, + ] ] = UNSET, - include: OptionalNullable[List[models.OpenAIResponsesIncludable]] = UNSET, + include: OptionalNullable[List[components.OpenAIResponsesIncludable]] = UNSET, background: OptionalNullable[bool] = UNSET, safety_identifier: OptionalNullable[str] = UNSET, store: OptionalNullable[bool] = UNSET, - service_tier: OptionalNullable[models.ServiceTier] = UNSET, - truncation: OptionalNullable[models.Truncation] = UNSET, + service_tier: OptionalNullable[components.ServiceTier] = UNSET, + truncation: OptionalNullable[components.Truncation] = UNSET, stream: Optional[bool] = False, provider: OptionalNullable[ - Union[models.Provider, models.ProviderTypedDict] + Union[components.Provider, components.ProviderTypedDict] ] = UNSET, plugins: Optional[ - Union[List[models.Plugin], List[models.PluginTypedDict]] + Union[List[components.Plugin], List[components.PluginTypedDict]] ] = None, user: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CreateResponsesResponse: + ) -> operations.CreateResponsesResponse: r"""Create a response Creates a streaming or non-streaming response using OpenResponses API format @@ -332,24 +341,26 @@ class Responses(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.OpenResponsesRequest( - input=utils.get_pydantic_model(input, Optional[models.OpenResponsesInput]), + request = components.OpenResponsesRequest( + input=utils.get_pydantic_model( + input, Optional[components.OpenResponsesInput] + ), instructions=instructions, metadata=metadata, tools=utils.get_pydantic_model( - tools, Optional[List[models.OpenResponsesRequestToolUnion]] + tools, Optional[List[components.OpenResponsesRequestToolUnion]] ), tool_choice=utils.get_pydantic_model( - tool_choice, Optional[models.OpenAIResponsesToolChoiceUnion] + tool_choice, Optional[components.OpenAIResponsesToolChoiceUnion] ), parallel_tool_calls=parallel_tool_calls, model=model, models=models, text=utils.get_pydantic_model( - text, Optional[models.OpenResponsesResponseText] + text, Optional[components.OpenResponsesResponseText] ), reasoning=utils.get_pydantic_model( - reasoning, OptionalNullable[models.OpenResponsesReasoningConfig] + reasoning, OptionalNullable[components.OpenResponsesReasoningConfig] ), max_output_tokens=max_output_tokens, temperature=temperature, @@ -358,7 +369,7 @@ class Responses(BaseSDK): prompt_cache_key=prompt_cache_key, previous_response_id=previous_response_id, prompt=utils.get_pydantic_model( - prompt, OptionalNullable[models.OpenAIResponsesPrompt] + prompt, OptionalNullable[components.OpenAIResponsesPrompt] ), include=include, background=background, @@ -368,9 +379,11 @@ class Responses(BaseSDK): truncation=truncation, stream=stream, provider=utils.get_pydantic_model( - provider, OptionalNullable[models.Provider] + provider, OptionalNullable[components.Provider] + ), + plugins=utils.get_pydantic_model( + plugins, Optional[List[components.Plugin]] ), - plugins=utils.get_pydantic_model(plugins, Optional[List[models.Plugin]]), user=user, ) @@ -388,7 +401,7 @@ class Responses(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.OpenResponsesRequest + request, False, False, "json", components.OpenResponsesRequest ), timeout_ms=timeout_ms, ) @@ -408,7 +421,7 @@ class Responses(BaseSDK): operation_id="createResponses", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -437,13 +450,13 @@ class Responses(BaseSDK): if utils.match_response(http_res, "200", "application/json"): http_res_text = utils.stream_to_text(http_res) return unmarshal_json_response( - models.OpenResponsesNonStreamingResponse, http_res, http_res_text + components.OpenResponsesNonStreamingResponse, http_res, http_res_text ) if utils.match_response(http_res, "200", "text/event-stream"): return eventstreaming.EventStream( http_res, lambda raw: utils.unmarshal_json( - raw, models.CreateResponsesResponseBody + raw, operations.CreateResponsesResponseBody ).data, sentinel="[DONE]", client_ref=self, @@ -567,20 +580,20 @@ class Responses(BaseSDK): self, *, input: Optional[ - Union[models.OpenResponsesInput, models.OpenResponsesInputTypedDict] + Union[components.OpenResponsesInput, components.OpenResponsesInputTypedDict] ] = None, instructions: OptionalNullable[str] = UNSET, metadata: OptionalNullable[Dict[str, str]] = UNSET, tools: Optional[ Union[ - List[models.OpenResponsesRequestToolUnion], - List[models.OpenResponsesRequestToolUnionTypedDict], + List[components.OpenResponsesRequestToolUnion], + List[components.OpenResponsesRequestToolUnionTypedDict], ] ] = None, tool_choice: Optional[ Union[ - models.OpenAIResponsesToolChoiceUnion, - models.OpenAIResponsesToolChoiceUnionTypedDict, + components.OpenAIResponsesToolChoiceUnion, + components.OpenAIResponsesToolChoiceUnionTypedDict, ] ] = None, parallel_tool_calls: OptionalNullable[bool] = UNSET, @@ -588,14 +601,14 @@ class Responses(BaseSDK): models: Optional[List[str]] = None, text: Optional[ Union[ - models.OpenResponsesResponseText, - models.OpenResponsesResponseTextTypedDict, + components.OpenResponsesResponseText, + components.OpenResponsesResponseTextTypedDict, ] ] = None, reasoning: OptionalNullable[ Union[ - models.OpenResponsesReasoningConfig, - models.OpenResponsesReasoningConfigTypedDict, + components.OpenResponsesReasoningConfig, + components.OpenResponsesReasoningConfigTypedDict, ] ] = UNSET, max_output_tokens: OptionalNullable[float] = UNSET, @@ -605,27 +618,30 @@ class Responses(BaseSDK): prompt_cache_key: OptionalNullable[str] = UNSET, previous_response_id: OptionalNullable[str] = UNSET, prompt: OptionalNullable[ - Union[models.OpenAIResponsesPrompt, models.OpenAIResponsesPromptTypedDict] + Union[ + components.OpenAIResponsesPrompt, + components.OpenAIResponsesPromptTypedDict, + ] ] = UNSET, - include: OptionalNullable[List[models.OpenAIResponsesIncludable]] = UNSET, + include: OptionalNullable[List[components.OpenAIResponsesIncludable]] = UNSET, background: OptionalNullable[bool] = UNSET, safety_identifier: OptionalNullable[str] = UNSET, store: OptionalNullable[bool] = UNSET, - service_tier: OptionalNullable[models.ServiceTier] = UNSET, - truncation: OptionalNullable[models.Truncation] = UNSET, + service_tier: OptionalNullable[components.ServiceTier] = UNSET, + truncation: OptionalNullable[components.Truncation] = UNSET, stream: Union[Literal[False], None] = None, provider: OptionalNullable[ - Union[models.Provider, models.ProviderTypedDict] + Union[components.Provider, components.ProviderTypedDict] ] = UNSET, plugins: Optional[ - Union[List[models.Plugin], List[models.PluginTypedDict]] + Union[List[components.Plugin], List[components.PluginTypedDict]] ] = None, user: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.OpenResponsesNonStreamingResponse: + ) -> components.OpenResponsesNonStreamingResponse: r"""Create a response Creates a streaming or non-streaming response using OpenResponses API format @@ -669,20 +685,20 @@ class Responses(BaseSDK): self, *, input: Optional[ - Union[models.OpenResponsesInput, models.OpenResponsesInputTypedDict] + Union[components.OpenResponsesInput, components.OpenResponsesInputTypedDict] ] = None, instructions: OptionalNullable[str] = UNSET, metadata: OptionalNullable[Dict[str, str]] = UNSET, tools: Optional[ Union[ - List[models.OpenResponsesRequestToolUnion], - List[models.OpenResponsesRequestToolUnionTypedDict], + List[components.OpenResponsesRequestToolUnion], + List[components.OpenResponsesRequestToolUnionTypedDict], ] ] = None, tool_choice: Optional[ Union[ - models.OpenAIResponsesToolChoiceUnion, - models.OpenAIResponsesToolChoiceUnionTypedDict, + components.OpenAIResponsesToolChoiceUnion, + components.OpenAIResponsesToolChoiceUnionTypedDict, ] ] = None, parallel_tool_calls: OptionalNullable[bool] = UNSET, @@ -690,14 +706,14 @@ class Responses(BaseSDK): models: Optional[List[str]] = None, text: Optional[ Union[ - models.OpenResponsesResponseText, - models.OpenResponsesResponseTextTypedDict, + components.OpenResponsesResponseText, + components.OpenResponsesResponseTextTypedDict, ] ] = None, reasoning: OptionalNullable[ Union[ - models.OpenResponsesReasoningConfig, - models.OpenResponsesReasoningConfigTypedDict, + components.OpenResponsesReasoningConfig, + components.OpenResponsesReasoningConfigTypedDict, ] ] = UNSET, max_output_tokens: OptionalNullable[float] = UNSET, @@ -707,27 +723,30 @@ class Responses(BaseSDK): prompt_cache_key: OptionalNullable[str] = UNSET, previous_response_id: OptionalNullable[str] = UNSET, prompt: OptionalNullable[ - Union[models.OpenAIResponsesPrompt, models.OpenAIResponsesPromptTypedDict] + Union[ + components.OpenAIResponsesPrompt, + components.OpenAIResponsesPromptTypedDict, + ] ] = UNSET, - include: OptionalNullable[List[models.OpenAIResponsesIncludable]] = UNSET, + include: OptionalNullable[List[components.OpenAIResponsesIncludable]] = UNSET, background: OptionalNullable[bool] = UNSET, safety_identifier: OptionalNullable[str] = UNSET, store: OptionalNullable[bool] = UNSET, - service_tier: OptionalNullable[models.ServiceTier] = UNSET, - truncation: OptionalNullable[models.Truncation] = UNSET, + service_tier: OptionalNullable[components.ServiceTier] = UNSET, + truncation: OptionalNullable[components.Truncation] = UNSET, stream: Literal[True], provider: OptionalNullable[ - Union[models.Provider, models.ProviderTypedDict] + Union[components.Provider, components.ProviderTypedDict] ] = UNSET, plugins: Optional[ - Union[List[models.Plugin], List[models.PluginTypedDict]] + Union[List[components.Plugin], List[components.PluginTypedDict]] ] = None, user: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> eventstreaming.EventStreamAsync[models.OpenResponsesStreamEvent]: + ) -> eventstreaming.EventStreamAsync[components.OpenResponsesStreamEvent]: r"""Create a response Creates a streaming or non-streaming response using OpenResponses API format @@ -770,20 +789,20 @@ class Responses(BaseSDK): self, *, input: Optional[ - Union[models.OpenResponsesInput, models.OpenResponsesInputTypedDict] + Union[components.OpenResponsesInput, components.OpenResponsesInputTypedDict] ] = None, instructions: OptionalNullable[str] = UNSET, metadata: OptionalNullable[Dict[str, str]] = UNSET, tools: Optional[ Union[ - List[models.OpenResponsesRequestToolUnion], - List[models.OpenResponsesRequestToolUnionTypedDict], + List[components.OpenResponsesRequestToolUnion], + List[components.OpenResponsesRequestToolUnionTypedDict], ] ] = None, tool_choice: Optional[ Union[ - models.OpenAIResponsesToolChoiceUnion, - models.OpenAIResponsesToolChoiceUnionTypedDict, + components.OpenAIResponsesToolChoiceUnion, + components.OpenAIResponsesToolChoiceUnionTypedDict, ] ] = None, parallel_tool_calls: OptionalNullable[bool] = UNSET, @@ -791,14 +810,14 @@ class Responses(BaseSDK): models: Optional[List[str]] = None, text: Optional[ Union[ - models.OpenResponsesResponseText, - models.OpenResponsesResponseTextTypedDict, + components.OpenResponsesResponseText, + components.OpenResponsesResponseTextTypedDict, ] ] = None, reasoning: OptionalNullable[ Union[ - models.OpenResponsesReasoningConfig, - models.OpenResponsesReasoningConfigTypedDict, + components.OpenResponsesReasoningConfig, + components.OpenResponsesReasoningConfigTypedDict, ] ] = UNSET, max_output_tokens: OptionalNullable[float] = UNSET, @@ -808,27 +827,30 @@ class Responses(BaseSDK): prompt_cache_key: OptionalNullable[str] = UNSET, previous_response_id: OptionalNullable[str] = UNSET, prompt: OptionalNullable[ - Union[models.OpenAIResponsesPrompt, models.OpenAIResponsesPromptTypedDict] + Union[ + components.OpenAIResponsesPrompt, + components.OpenAIResponsesPromptTypedDict, + ] ] = UNSET, - include: OptionalNullable[List[models.OpenAIResponsesIncludable]] = UNSET, + include: OptionalNullable[List[components.OpenAIResponsesIncludable]] = UNSET, background: OptionalNullable[bool] = UNSET, safety_identifier: OptionalNullable[str] = UNSET, store: OptionalNullable[bool] = UNSET, - service_tier: OptionalNullable[models.ServiceTier] = UNSET, - truncation: OptionalNullable[models.Truncation] = UNSET, + service_tier: OptionalNullable[components.ServiceTier] = UNSET, + truncation: OptionalNullable[components.Truncation] = UNSET, stream: Optional[bool] = False, provider: OptionalNullable[ - Union[models.Provider, models.ProviderTypedDict] + Union[components.Provider, components.ProviderTypedDict] ] = UNSET, plugins: Optional[ - Union[List[models.Plugin], List[models.PluginTypedDict]] + Union[List[components.Plugin], List[components.PluginTypedDict]] ] = None, user: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CreateResponsesResponse: + ) -> operations.CreateResponsesResponse: r"""Create a response Creates a streaming or non-streaming response using OpenResponses API format @@ -876,24 +898,26 @@ class Responses(BaseSDK): else: base_url = self._get_url(base_url, url_variables) - request = models.OpenResponsesRequest( - input=utils.get_pydantic_model(input, Optional[models.OpenResponsesInput]), + request = components.OpenResponsesRequest( + input=utils.get_pydantic_model( + input, Optional[components.OpenResponsesInput] + ), instructions=instructions, metadata=metadata, tools=utils.get_pydantic_model( - tools, Optional[List[models.OpenResponsesRequestToolUnion]] + tools, Optional[List[components.OpenResponsesRequestToolUnion]] ), tool_choice=utils.get_pydantic_model( - tool_choice, Optional[models.OpenAIResponsesToolChoiceUnion] + tool_choice, Optional[components.OpenAIResponsesToolChoiceUnion] ), parallel_tool_calls=parallel_tool_calls, model=model, models=models, text=utils.get_pydantic_model( - text, Optional[models.OpenResponsesResponseText] + text, Optional[components.OpenResponsesResponseText] ), reasoning=utils.get_pydantic_model( - reasoning, OptionalNullable[models.OpenResponsesReasoningConfig] + reasoning, OptionalNullable[components.OpenResponsesReasoningConfig] ), max_output_tokens=max_output_tokens, temperature=temperature, @@ -902,7 +926,7 @@ class Responses(BaseSDK): prompt_cache_key=prompt_cache_key, previous_response_id=previous_response_id, prompt=utils.get_pydantic_model( - prompt, OptionalNullable[models.OpenAIResponsesPrompt] + prompt, OptionalNullable[components.OpenAIResponsesPrompt] ), include=include, background=background, @@ -912,9 +936,11 @@ class Responses(BaseSDK): truncation=truncation, stream=stream, provider=utils.get_pydantic_model( - provider, OptionalNullable[models.Provider] + provider, OptionalNullable[components.Provider] + ), + plugins=utils.get_pydantic_model( + plugins, Optional[List[components.Plugin]] ), - plugins=utils.get_pydantic_model(plugins, Optional[List[models.Plugin]]), user=user, ) @@ -932,7 +958,7 @@ class Responses(BaseSDK): http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.OpenResponsesRequest + request, False, False, "json", components.OpenResponsesRequest ), timeout_ms=timeout_ms, ) @@ -952,7 +978,7 @@ class Responses(BaseSDK): operation_id="createResponses", oauth2_scopes=None, security_source=get_security_from_env( - self.sdk_configuration.security, models.Security + self.sdk_configuration.security, components.Security ), ), request=req, @@ -981,13 +1007,13 @@ class Responses(BaseSDK): if utils.match_response(http_res, "200", "application/json"): http_res_text = await utils.stream_to_text_async(http_res) return unmarshal_json_response( - models.OpenResponsesNonStreamingResponse, http_res, http_res_text + components.OpenResponsesNonStreamingResponse, http_res, http_res_text ) if utils.match_response(http_res, "200", "text/event-stream"): return eventstreaming.EventStreamAsync( http_res, lambda raw: utils.unmarshal_json( - raw, models.CreateResponsesResponseBody + raw, operations.CreateResponsesResponseBody ).data, sentinel="[DONE]", client_ref=self, diff --git a/src/openrouter/sdk.py b/src/openrouter/sdk.py index 8b3fee6..0ad8870 100644 --- a/src/openrouter/sdk.py +++ b/src/openrouter/sdk.py @@ -7,7 +7,7 @@ from .utils.logger import Logger, get_default_logger from .utils.retries import RetryConfig import httpx import importlib -from openrouter import models, utils +from openrouter import components, utils from openrouter._hooks import SDKHooks from openrouter.types import OptionalNullable, UNSET import sys @@ -121,9 +121,9 @@ class OpenRouter(BaseSDK): security: Any = None if callable(api_key): # pylint: disable=unnecessary-lambda-assignment - security = lambda: models.Security(api_key=api_key()) + security = lambda: components.Security(api_key=api_key()) else: - security = models.Security(api_key=api_key) + security = components.Security(api_key=api_key) if server_url is not None: if url_params is not None: diff --git a/src/openrouter/sdkconfiguration.py b/src/openrouter/sdkconfiguration.py index e9d471c..4f12a18 100644 --- a/src/openrouter/sdkconfiguration.py +++ b/src/openrouter/sdkconfiguration.py @@ -9,7 +9,7 @@ from ._version import ( from .httpclient import AsyncHttpClient, HttpClient from .utils import Logger, RetryConfig, remove_suffix from dataclasses import dataclass -from openrouter import models +from openrouter import components from openrouter.types import OptionalNullable, UNSET from pydantic import Field from typing import Callable, Dict, Optional, Tuple, Union @@ -30,7 +30,9 @@ class SDKConfiguration: async_client: Union[AsyncHttpClient, None] async_client_supplied: bool debug_logger: Logger - security: Optional[Union[models.Security, Callable[[], models.Security]]] = None + security: Optional[ + Union[components.Security, Callable[[], components.Security]] + ] = None server_url: Optional[str] = "" server: Optional[str] = "" language: str = "python" diff --git a/src/openrouter/utils/oauth_create_authorization_url.py b/src/openrouter/utils/oauth_create_authorization_url.py index b36ae82..402c5ae 100644 --- a/src/openrouter/utils/oauth_create_authorization_url.py +++ b/src/openrouter/utils/oauth_create_authorization_url.py @@ -2,7 +2,7 @@ from dataclasses import dataclass from typing import TYPE_CHECKING, Literal, Optional, Union -from urllib.parse import ParseResult, urlencode, urlparse +from urllib.parse import ParseResult, urlencode if TYPE_CHECKING: from openrouter.sdk import OpenRouter @@ -16,10 +16,12 @@ class CreateAuthorizationUrlRequestBase: @dataclass -class CreateAuthorizationUrlRequestWithPKCE(CreateAuthorizationUrlRequestBase): +class CreateAuthorizationUrlRequestWithPKCE: """Request parameters with PKCE for creating an authorization URL""" + callback_url: Union[str, ParseResult] code_challenge_method: Literal["S256", "plain"] code_challenge: str + limit: Optional[float] = None # Union type for request - either with PKCE or without diff --git a/uv.lock b/uv.lock new file mode 100644 index 0000000..13776ed --- /dev/null +++ b/uv.lock @@ -0,0 +1,535 @@ +version = 1 +revision = 3 +requires-python = ">=3.9.2" +resolution-markers = [ + "python_full_version >= '3.12'", + "python_full_version == '3.11.*'", + "python_full_version == '3.10.*'", + "python_full_version < '3.10'", +] + +[[package]] +name = "annotated-types" +version = "0.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" }, +] + +[[package]] +name = "anyio" +version = "4.11.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, + { name = "idna" }, + { name = "sniffio" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c6/78/7d432127c41b50bccba979505f272c16cbcadcc33645d5fa3a738110ae75/anyio-4.11.0.tar.gz", hash = "sha256:82a8d0b81e318cc5ce71a5f1f8b5c4e63619620b63141ef8c995fa0db95a57c4", size = 219094, upload-time = "2025-09-23T09:19:12.58Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/15/b3/9b1a8074496371342ec1e796a96f99c82c945a339cd81a8e73de28b4cf9e/anyio-4.11.0-py3-none-any.whl", hash = "sha256:0287e96f4d26d4149305414d4e3bc32f0dcd0862365a4bddea19d7a1ec38c4fc", size = 109097, upload-time = "2025-09-23T09:19:10.601Z" }, +] + +[[package]] +name = "astroid" +version = "3.2.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9e/53/1067e1113ecaf58312357f2cd93063674924119d80d173adc3f6f2387aa2/astroid-3.2.4.tar.gz", hash = "sha256:0e14202810b30da1b735827f78f5157be2bbd4a7a59b7707ca0bfc2fb4c0063a", size = 397576, upload-time = "2024-07-20T12:57:43.26Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/80/96/b32bbbb46170a1c8b8b1f28c794202e25cfe743565e9d3469b8eb1e0cc05/astroid-3.2.4-py3-none-any.whl", hash = "sha256:413658a61eeca6202a59231abb473f932038fbcbf1666587f66d482083413a25", size = 276348, upload-time = "2024-07-20T12:57:40.886Z" }, +] + +[[package]] +name = "certifi" +version = "2025.11.12" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/8c/58f469717fa48465e4a50c014a0400602d3c437d7c0c468e17ada824da3a/certifi-2025.11.12.tar.gz", hash = "sha256:d8ab5478f2ecd78af242878415affce761ca6bc54a22a27e026d7c25357c3316", size = 160538, upload-time = "2025-11-12T02:54:51.517Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/70/7d/9bc192684cea499815ff478dfcdc13835ddf401365057044fb721ec6bddb/certifi-2025.11.12-py3-none-any.whl", hash = "sha256:97de8790030bbd5c2d96b7ec782fc2f7820ef8dba6db909ccf95449f2d062d4b", size = 159438, upload-time = "2025-11-12T02:54:49.735Z" }, +] + +[[package]] +name = "colorama" +version = "0.4.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, +] + +[[package]] +name = "dill" +version = "0.4.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/12/80/630b4b88364e9a8c8c5797f4602d0f76ef820909ee32f0bacb9f90654042/dill-0.4.0.tar.gz", hash = "sha256:0633f1d2df477324f53a895b02c901fb961bdbf65a17122586ea7019292cbcf0", size = 186976, upload-time = "2025-04-16T00:41:48.867Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/50/3d/9373ad9c56321fdab5b41197068e1d8c25883b3fea29dd361f9b55116869/dill-0.4.0-py3-none-any.whl", hash = "sha256:44f54bf6412c2c8464c14e8243eb163690a9800dbe2c367330883b19c7561049", size = 119668, upload-time = "2025-04-16T00:41:47.671Z" }, +] + +[[package]] +name = "exceptiongroup" +version = "1.3.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0b/9f/a65090624ecf468cdca03533906e7c69ed7588582240cfe7cc9e770b50eb/exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88", size = 29749, upload-time = "2025-05-10T17:42:51.123Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/36/f4/c6e662dade71f56cd2f3735141b265c3c79293c109549c1e6933b0651ffc/exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10", size = 16674, upload-time = "2025-05-10T17:42:49.33Z" }, +] + +[[package]] +name = "h11" +version = "0.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" }, +] + +[[package]] +name = "httpcore" +version = "1.0.9" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "h11" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" }, +] + +[[package]] +name = "httpx" +version = "0.28.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "certifi" }, + { name = "httpcore" }, + { name = "idna" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, +] + +[[package]] +name = "idna" +version = "3.11" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60/idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902", size = 194582, upload-time = "2025-10-12T14:55:20.501Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008, upload-time = "2025-10-12T14:55:18.883Z" }, +] + +[[package]] +name = "isort" +version = "5.13.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/87/f9/c1eb8635a24e87ade2efce21e3ce8cd6b8630bb685ddc9cdaca1349b2eb5/isort-5.13.2.tar.gz", hash = "sha256:48fdfcb9face5d58a4f6dde2e72a1fb8dcaf8ab26f95ab49fab84c2ddefb0109", size = 175303, upload-time = "2023-12-13T20:37:26.124Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/b3/8def84f539e7d2289a02f0524b944b15d7c75dab7628bedf1c4f0992029c/isort-5.13.2-py3-none-any.whl", hash = "sha256:8ca5e72a8d85860d5a3fa69b8745237f2939afe12dbf656afbcb47fe72d947a6", size = 92310, upload-time = "2023-12-13T20:37:23.244Z" }, +] + +[[package]] +name = "mccabe" +version = "0.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e7/ff/0ffefdcac38932a54d2b5eed4e0ba8a408f215002cd178ad1df0f2806ff8/mccabe-0.7.0.tar.gz", hash = "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325", size = 9658, upload-time = "2022-01-24T01:14:51.113Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/27/1a/1f68f9ba0c207934b35b86a8ca3aad8395a3d6dd7921c0686e23853ff5a9/mccabe-0.7.0-py2.py3-none-any.whl", hash = "sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e", size = 7350, upload-time = "2022-01-24T01:14:49.62Z" }, +] + +[[package]] +name = "mypy" +version = "1.15.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mypy-extensions" }, + { name = "tomli", marker = "python_full_version < '3.11'" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ce/43/d5e49a86afa64bd3839ea0d5b9c7103487007d728e1293f52525d6d5486a/mypy-1.15.0.tar.gz", hash = "sha256:404534629d51d3efea5c800ee7c42b72a6554d6c400e6a79eafe15d11341fd43", size = 3239717, upload-time = "2025-02-05T03:50:34.655Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/68/f8/65a7ce8d0e09b6329ad0c8d40330d100ea343bd4dd04c4f8ae26462d0a17/mypy-1.15.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:979e4e1a006511dacf628e36fadfecbcc0160a8af6ca7dad2f5025529e082c13", size = 10738433, upload-time = "2025-02-05T03:49:29.145Z" }, + { url = "https://files.pythonhosted.org/packages/b4/95/9c0ecb8eacfe048583706249439ff52105b3f552ea9c4024166c03224270/mypy-1.15.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c4bb0e1bd29f7d34efcccd71cf733580191e9a264a2202b0239da95984c5b559", size = 9861472, upload-time = "2025-02-05T03:49:16.986Z" }, + { url = "https://files.pythonhosted.org/packages/84/09/9ec95e982e282e20c0d5407bc65031dfd0f0f8ecc66b69538296e06fcbee/mypy-1.15.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:be68172e9fd9ad8fb876c6389f16d1c1b5f100ffa779f77b1fb2176fcc9ab95b", size = 11611424, upload-time = "2025-02-05T03:49:46.908Z" }, + { url = "https://files.pythonhosted.org/packages/78/13/f7d14e55865036a1e6a0a69580c240f43bc1f37407fe9235c0d4ef25ffb0/mypy-1.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c7be1e46525adfa0d97681432ee9fcd61a3964c2446795714699a998d193f1a3", size = 12365450, upload-time = "2025-02-05T03:50:05.89Z" }, + { url = "https://files.pythonhosted.org/packages/48/e1/301a73852d40c241e915ac6d7bcd7fedd47d519246db2d7b86b9d7e7a0cb/mypy-1.15.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:2e2c2e6d3593f6451b18588848e66260ff62ccca522dd231cd4dd59b0160668b", size = 12551765, upload-time = "2025-02-05T03:49:33.56Z" }, + { url = "https://files.pythonhosted.org/packages/77/ba/c37bc323ae5fe7f3f15a28e06ab012cd0b7552886118943e90b15af31195/mypy-1.15.0-cp310-cp310-win_amd64.whl", hash = "sha256:6983aae8b2f653e098edb77f893f7b6aca69f6cffb19b2cc7443f23cce5f4828", size = 9274701, upload-time = "2025-02-05T03:49:38.981Z" }, + { url = "https://files.pythonhosted.org/packages/03/bc/f6339726c627bd7ca1ce0fa56c9ae2d0144604a319e0e339bdadafbbb599/mypy-1.15.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2922d42e16d6de288022e5ca321cd0618b238cfc5570e0263e5ba0a77dbef56f", size = 10662338, upload-time = "2025-02-05T03:50:17.287Z" }, + { url = "https://files.pythonhosted.org/packages/e2/90/8dcf506ca1a09b0d17555cc00cd69aee402c203911410136cd716559efe7/mypy-1.15.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2ee2d57e01a7c35de00f4634ba1bbf015185b219e4dc5909e281016df43f5ee5", size = 9787540, upload-time = "2025-02-05T03:49:51.21Z" }, + { url = "https://files.pythonhosted.org/packages/05/05/a10f9479681e5da09ef2f9426f650d7b550d4bafbef683b69aad1ba87457/mypy-1.15.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:973500e0774b85d9689715feeffcc980193086551110fd678ebe1f4342fb7c5e", size = 11538051, upload-time = "2025-02-05T03:50:20.885Z" }, + { url = "https://files.pythonhosted.org/packages/e9/9a/1f7d18b30edd57441a6411fcbc0c6869448d1a4bacbaee60656ac0fc29c8/mypy-1.15.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a95fb17c13e29d2d5195869262f8125dfdb5c134dc8d9a9d0aecf7525b10c2c", size = 12286751, upload-time = "2025-02-05T03:49:42.408Z" }, + { url = "https://files.pythonhosted.org/packages/72/af/19ff499b6f1dafcaf56f9881f7a965ac2f474f69f6f618b5175b044299f5/mypy-1.15.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1905f494bfd7d85a23a88c5d97840888a7bd516545fc5aaedff0267e0bb54e2f", size = 12421783, upload-time = "2025-02-05T03:49:07.707Z" }, + { url = "https://files.pythonhosted.org/packages/96/39/11b57431a1f686c1aed54bf794870efe0f6aeca11aca281a0bd87a5ad42c/mypy-1.15.0-cp311-cp311-win_amd64.whl", hash = "sha256:c9817fa23833ff189db061e6d2eff49b2f3b6ed9856b4a0a73046e41932d744f", size = 9265618, upload-time = "2025-02-05T03:49:54.581Z" }, + { url = "https://files.pythonhosted.org/packages/98/3a/03c74331c5eb8bd025734e04c9840532226775c47a2c39b56a0c8d4f128d/mypy-1.15.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:aea39e0583d05124836ea645f412e88a5c7d0fd77a6d694b60d9b6b2d9f184fd", size = 10793981, upload-time = "2025-02-05T03:50:28.25Z" }, + { url = "https://files.pythonhosted.org/packages/f0/1a/41759b18f2cfd568848a37c89030aeb03534411eef981df621d8fad08a1d/mypy-1.15.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2f2147ab812b75e5b5499b01ade1f4a81489a147c01585cda36019102538615f", size = 9749175, upload-time = "2025-02-05T03:50:13.411Z" }, + { url = "https://files.pythonhosted.org/packages/12/7e/873481abf1ef112c582db832740f4c11b2bfa510e829d6da29b0ab8c3f9c/mypy-1.15.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ce436f4c6d218a070048ed6a44c0bbb10cd2cc5e272b29e7845f6a2f57ee4464", size = 11455675, upload-time = "2025-02-05T03:50:31.421Z" }, + { url = "https://files.pythonhosted.org/packages/b3/d0/92ae4cde706923a2d3f2d6c39629134063ff64b9dedca9c1388363da072d/mypy-1.15.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8023ff13985661b50a5928fc7a5ca15f3d1affb41e5f0a9952cb68ef090b31ee", size = 12410020, upload-time = "2025-02-05T03:48:48.705Z" }, + { url = "https://files.pythonhosted.org/packages/46/8b/df49974b337cce35f828ba6fda228152d6db45fed4c86ba56ffe442434fd/mypy-1.15.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:1124a18bc11a6a62887e3e137f37f53fbae476dc36c185d549d4f837a2a6a14e", size = 12498582, upload-time = "2025-02-05T03:49:03.628Z" }, + { url = "https://files.pythonhosted.org/packages/13/50/da5203fcf6c53044a0b699939f31075c45ae8a4cadf538a9069b165c1050/mypy-1.15.0-cp312-cp312-win_amd64.whl", hash = "sha256:171a9ca9a40cd1843abeca0e405bc1940cd9b305eaeea2dda769ba096932bb22", size = 9366614, upload-time = "2025-02-05T03:50:00.313Z" }, + { url = "https://files.pythonhosted.org/packages/6a/9b/fd2e05d6ffff24d912f150b87db9e364fa8282045c875654ce7e32fffa66/mypy-1.15.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:93faf3fdb04768d44bf28693293f3904bbb555d076b781ad2530214ee53e3445", size = 10788592, upload-time = "2025-02-05T03:48:55.789Z" }, + { url = "https://files.pythonhosted.org/packages/74/37/b246d711c28a03ead1fd906bbc7106659aed7c089d55fe40dd58db812628/mypy-1.15.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:811aeccadfb730024c5d3e326b2fbe9249bb7413553f15499a4050f7c30e801d", size = 9753611, upload-time = "2025-02-05T03:48:44.581Z" }, + { url = "https://files.pythonhosted.org/packages/a6/ac/395808a92e10cfdac8003c3de9a2ab6dc7cde6c0d2a4df3df1b815ffd067/mypy-1.15.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:98b7b9b9aedb65fe628c62a6dc57f6d5088ef2dfca37903a7d9ee374d03acca5", size = 11438443, upload-time = "2025-02-05T03:49:25.514Z" }, + { url = "https://files.pythonhosted.org/packages/d2/8b/801aa06445d2de3895f59e476f38f3f8d610ef5d6908245f07d002676cbf/mypy-1.15.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c43a7682e24b4f576d93072216bf56eeff70d9140241f9edec0c104d0c515036", size = 12402541, upload-time = "2025-02-05T03:49:57.623Z" }, + { url = "https://files.pythonhosted.org/packages/c7/67/5a4268782eb77344cc613a4cf23540928e41f018a9a1ec4c6882baf20ab8/mypy-1.15.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:baefc32840a9f00babd83251560e0ae1573e2f9d1b067719479bfb0e987c6357", size = 12494348, upload-time = "2025-02-05T03:48:52.361Z" }, + { url = "https://files.pythonhosted.org/packages/83/3e/57bb447f7bbbfaabf1712d96f9df142624a386d98fb026a761532526057e/mypy-1.15.0-cp313-cp313-win_amd64.whl", hash = "sha256:b9378e2c00146c44793c98b8d5a61039a048e31f429fb0eb546d93f4b000bedf", size = 9373648, upload-time = "2025-02-05T03:49:11.395Z" }, + { url = "https://files.pythonhosted.org/packages/5a/fa/79cf41a55b682794abe71372151dbbf856e3008f6767057229e6649d294a/mypy-1.15.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e601a7fa172c2131bff456bb3ee08a88360760d0d2f8cbd7a75a65497e2df078", size = 10737129, upload-time = "2025-02-05T03:50:24.509Z" }, + { url = "https://files.pythonhosted.org/packages/d3/33/dd8feb2597d648de29e3da0a8bf4e1afbda472964d2a4a0052203a6f3594/mypy-1.15.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:712e962a6357634fef20412699a3655c610110e01cdaa6180acec7fc9f8513ba", size = 9856335, upload-time = "2025-02-05T03:49:36.398Z" }, + { url = "https://files.pythonhosted.org/packages/e4/b5/74508959c1b06b96674b364ffeb7ae5802646b32929b7701fc6b18447592/mypy-1.15.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f95579473af29ab73a10bada2f9722856792a36ec5af5399b653aa28360290a5", size = 11611935, upload-time = "2025-02-05T03:49:14.154Z" }, + { url = "https://files.pythonhosted.org/packages/6c/53/da61b9d9973efcd6507183fdad96606996191657fe79701b2c818714d573/mypy-1.15.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8f8722560a14cde92fdb1e31597760dc35f9f5524cce17836c0d22841830fd5b", size = 12365827, upload-time = "2025-02-05T03:48:59.458Z" }, + { url = "https://files.pythonhosted.org/packages/c1/72/965bd9ee89540c79a25778cc080c7e6ef40aa1eeac4d52cec7eae6eb5228/mypy-1.15.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:1fbb8da62dc352133d7d7ca90ed2fb0e9d42bb1a32724c287d3c76c58cbaa9c2", size = 12541924, upload-time = "2025-02-05T03:50:03.12Z" }, + { url = "https://files.pythonhosted.org/packages/46/d0/f41645c2eb263e6c77ada7d76f894c580c9ddb20d77f0c24d34273a4dab2/mypy-1.15.0-cp39-cp39-win_amd64.whl", hash = "sha256:d10d994b41fb3497719bbf866f227b3489048ea4bbbb5015357db306249f7980", size = 9271176, upload-time = "2025-02-05T03:50:10.86Z" }, + { url = "https://files.pythonhosted.org/packages/09/4e/a7d65c7322c510de2c409ff3828b03354a7c43f5a8ed458a7a131b41c7b9/mypy-1.15.0-py3-none-any.whl", hash = "sha256:5469affef548bd1895d86d3bf10ce2b44e33d86923c29e4d675b3e323437ea3e", size = 2221777, upload-time = "2025-02-05T03:50:08.348Z" }, +] + +[[package]] +name = "mypy-extensions" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/6e/371856a3fb9d31ca8dac321cda606860fa4548858c0cc45d9d1d4ca2628b/mypy_extensions-1.1.0.tar.gz", hash = "sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558", size = 6343, upload-time = "2025-04-22T14:54:24.164Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl", hash = "sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505", size = 4963, upload-time = "2025-04-22T14:54:22.983Z" }, +] + +[[package]] +name = "nodeenv" +version = "1.9.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/43/16/fc88b08840de0e0a72a2f9d8c6bae36be573e475a6326ae854bcc549fc45/nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f", size = 47437, upload-time = "2024-06-04T18:44:11.171Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d2/1d/1b658dbd2b9fa9c4c9f32accbfc0205d532c8c6194dc0f2a4c0428e7128a/nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9", size = 22314, upload-time = "2024-06-04T18:44:08.352Z" }, +] + +[[package]] +name = "openrouter" +version = "0.0.14" +source = { editable = "." } +dependencies = [ + { name = "httpcore" }, + { name = "httpx" }, + { name = "pydantic" }, +] + +[package.dev-dependencies] +dev = [ + { name = "mypy" }, + { name = "pylint" }, + { name = "pyright" }, +] + +[package.metadata] +requires-dist = [ + { name = "httpcore", specifier = ">=1.0.9" }, + { name = "httpx", specifier = ">=0.28.1" }, + { name = "pydantic", specifier = ">=2.11.2" }, +] + +[package.metadata.requires-dev] +dev = [ + { name = "mypy", specifier = "==1.15.0" }, + { name = "pylint", specifier = "==3.2.3" }, + { name = "pyright", specifier = "==1.1.398" }, +] + +[[package]] +name = "platformdirs" +version = "4.4.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.10'", +] +sdist = { url = "https://files.pythonhosted.org/packages/23/e8/21db9c9987b0e728855bd57bff6984f67952bea55d6f75e055c46b5383e8/platformdirs-4.4.0.tar.gz", hash = "sha256:ca753cf4d81dc309bc67b0ea38fd15dc97bc30ce419a7f58d13eb3bf14c4febf", size = 21634, upload-time = "2025-08-26T14:32:04.268Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/40/4b/2028861e724d3bd36227adfa20d3fd24c3fc6d52032f4a93c133be5d17ce/platformdirs-4.4.0-py3-none-any.whl", hash = "sha256:abd01743f24e5287cd7a5db3752faf1a2d65353f38ec26d98e25a6db65958c85", size = 18654, upload-time = "2025-08-26T14:32:02.735Z" }, +] + +[[package]] +name = "platformdirs" +version = "4.5.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.12'", + "python_full_version == '3.11.*'", + "python_full_version == '3.10.*'", +] +sdist = { url = "https://files.pythonhosted.org/packages/61/33/9611380c2bdb1225fdef633e2a9610622310fed35ab11dac9620972ee088/platformdirs-4.5.0.tar.gz", hash = "sha256:70ddccdd7c99fc5942e9fc25636a8b34d04c24b335100223152c2803e4063312", size = 21632, upload-time = "2025-10-08T17:44:48.791Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/73/cb/ac7874b3e5d58441674fb70742e6c374b28b0c7cb988d37d991cde47166c/platformdirs-4.5.0-py3-none-any.whl", hash = "sha256:e578a81bb873cbb89a41fcc904c7ef523cc18284b7e3b3ccf06aca1403b7ebd3", size = 18651, upload-time = "2025-10-08T17:44:47.223Z" }, +] + +[[package]] +name = "pydantic" +version = "2.12.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-types" }, + { name = "pydantic-core" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/96/ad/a17bc283d7d81837c061c49e3eaa27a45991759a1b7eae1031921c6bd924/pydantic-2.12.4.tar.gz", hash = "sha256:0f8cb9555000a4b5b617f66bfd2566264c4984b27589d3b845685983e8ea85ac", size = 821038, upload-time = "2025-11-05T10:50:08.59Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/82/2f/e68750da9b04856e2a7ec56fc6f034a5a79775e9b9a81882252789873798/pydantic-2.12.4-py3-none-any.whl", hash = "sha256:92d3d202a745d46f9be6df459ac5a064fdaa3c1c4cd8adcfa332ccf3c05f871e", size = 463400, upload-time = "2025-11-05T10:50:06.732Z" }, +] + +[[package]] +name = "pydantic-core" +version = "2.41.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/71/70/23b021c950c2addd24ec408e9ab05d59b035b39d97cdc1130e1bce647bb6/pydantic_core-2.41.5.tar.gz", hash = "sha256:08daa51ea16ad373ffd5e7606252cc32f07bc72b28284b6bc9c6df804816476e", size = 460952, upload-time = "2025-11-04T13:43:49.098Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c6/90/32c9941e728d564b411d574d8ee0cf09b12ec978cb22b294995bae5549a5/pydantic_core-2.41.5-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:77b63866ca88d804225eaa4af3e664c5faf3568cea95360d21f4725ab6e07146", size = 2107298, upload-time = "2025-11-04T13:39:04.116Z" }, + { url = "https://files.pythonhosted.org/packages/fb/a8/61c96a77fe28993d9a6fb0f4127e05430a267b235a124545d79fea46dd65/pydantic_core-2.41.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:dfa8a0c812ac681395907e71e1274819dec685fec28273a28905df579ef137e2", size = 1901475, upload-time = "2025-11-04T13:39:06.055Z" }, + { url = "https://files.pythonhosted.org/packages/5d/b6/338abf60225acc18cdc08b4faef592d0310923d19a87fba1faf05af5346e/pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5921a4d3ca3aee735d9fd163808f5e8dd6c6972101e4adbda9a4667908849b97", size = 1918815, upload-time = "2025-11-04T13:39:10.41Z" }, + { url = "https://files.pythonhosted.org/packages/d1/1c/2ed0433e682983d8e8cba9c8d8ef274d4791ec6a6f24c58935b90e780e0a/pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e25c479382d26a2a41b7ebea1043564a937db462816ea07afa8a44c0866d52f9", size = 2065567, upload-time = "2025-11-04T13:39:12.244Z" }, + { url = "https://files.pythonhosted.org/packages/b3/24/cf84974ee7d6eae06b9e63289b7b8f6549d416b5c199ca2d7ce13bbcf619/pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f547144f2966e1e16ae626d8ce72b4cfa0caedc7fa28052001c94fb2fcaa1c52", size = 2230442, upload-time = "2025-11-04T13:39:13.962Z" }, + { url = "https://files.pythonhosted.org/packages/fd/21/4e287865504b3edc0136c89c9c09431be326168b1eb7841911cbc877a995/pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6f52298fbd394f9ed112d56f3d11aabd0d5bd27beb3084cc3d8ad069483b8941", size = 2350956, upload-time = "2025-11-04T13:39:15.889Z" }, + { url = "https://files.pythonhosted.org/packages/a8/76/7727ef2ffa4b62fcab916686a68a0426b9b790139720e1934e8ba797e238/pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:100baa204bb412b74fe285fb0f3a385256dad1d1879f0a5cb1499ed2e83d132a", size = 2068253, upload-time = "2025-11-04T13:39:17.403Z" }, + { url = "https://files.pythonhosted.org/packages/d5/8c/a4abfc79604bcb4c748e18975c44f94f756f08fb04218d5cb87eb0d3a63e/pydantic_core-2.41.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:05a2c8852530ad2812cb7914dc61a1125dc4e06252ee98e5638a12da6cc6fb6c", size = 2177050, upload-time = "2025-11-04T13:39:19.351Z" }, + { url = "https://files.pythonhosted.org/packages/67/b1/de2e9a9a79b480f9cb0b6e8b6ba4c50b18d4e89852426364c66aa82bb7b3/pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:29452c56df2ed968d18d7e21f4ab0ac55e71dc59524872f6fc57dcf4a3249ed2", size = 2147178, upload-time = "2025-11-04T13:39:21Z" }, + { url = "https://files.pythonhosted.org/packages/16/c1/dfb33f837a47b20417500efaa0378adc6635b3c79e8369ff7a03c494b4ac/pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:d5160812ea7a8a2ffbe233d8da666880cad0cbaf5d4de74ae15c313213d62556", size = 2341833, upload-time = "2025-11-04T13:39:22.606Z" }, + { url = "https://files.pythonhosted.org/packages/47/36/00f398642a0f4b815a9a558c4f1dca1b4020a7d49562807d7bc9ff279a6c/pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:df3959765b553b9440adfd3c795617c352154e497a4eaf3752555cfb5da8fc49", size = 2321156, upload-time = "2025-11-04T13:39:25.843Z" }, + { url = "https://files.pythonhosted.org/packages/7e/70/cad3acd89fde2010807354d978725ae111ddf6d0ea46d1ea1775b5c1bd0c/pydantic_core-2.41.5-cp310-cp310-win32.whl", hash = "sha256:1f8d33a7f4d5a7889e60dc39856d76d09333d8a6ed0f5f1190635cbec70ec4ba", size = 1989378, upload-time = "2025-11-04T13:39:27.92Z" }, + { url = "https://files.pythonhosted.org/packages/76/92/d338652464c6c367e5608e4488201702cd1cbb0f33f7b6a85a60fe5f3720/pydantic_core-2.41.5-cp310-cp310-win_amd64.whl", hash = "sha256:62de39db01b8d593e45871af2af9e497295db8d73b085f6bfd0b18c83c70a8f9", size = 2013622, upload-time = "2025-11-04T13:39:29.848Z" }, + { url = "https://files.pythonhosted.org/packages/e8/72/74a989dd9f2084b3d9530b0915fdda64ac48831c30dbf7c72a41a5232db8/pydantic_core-2.41.5-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:a3a52f6156e73e7ccb0f8cced536adccb7042be67cb45f9562e12b319c119da6", size = 2105873, upload-time = "2025-11-04T13:39:31.373Z" }, + { url = "https://files.pythonhosted.org/packages/12/44/37e403fd9455708b3b942949e1d7febc02167662bf1a7da5b78ee1ea2842/pydantic_core-2.41.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7f3bf998340c6d4b0c9a2f02d6a400e51f123b59565d74dc60d252ce888c260b", size = 1899826, upload-time = "2025-11-04T13:39:32.897Z" }, + { url = "https://files.pythonhosted.org/packages/33/7f/1d5cab3ccf44c1935a359d51a8a2a9e1a654b744b5e7f80d41b88d501eec/pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:378bec5c66998815d224c9ca994f1e14c0c21cb95d2f52b6021cc0b2a58f2a5a", size = 1917869, upload-time = "2025-11-04T13:39:34.469Z" }, + { url = "https://files.pythonhosted.org/packages/6e/6a/30d94a9674a7fe4f4744052ed6c5e083424510be1e93da5bc47569d11810/pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e7b576130c69225432866fe2f4a469a85a54ade141d96fd396dffcf607b558f8", size = 2063890, upload-time = "2025-11-04T13:39:36.053Z" }, + { url = "https://files.pythonhosted.org/packages/50/be/76e5d46203fcb2750e542f32e6c371ffa9b8ad17364cf94bb0818dbfb50c/pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6cb58b9c66f7e4179a2d5e0f849c48eff5c1fca560994d6eb6543abf955a149e", size = 2229740, upload-time = "2025-11-04T13:39:37.753Z" }, + { url = "https://files.pythonhosted.org/packages/d3/ee/fed784df0144793489f87db310a6bbf8118d7b630ed07aa180d6067e653a/pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:88942d3a3dff3afc8288c21e565e476fc278902ae4d6d134f1eeda118cc830b1", size = 2350021, upload-time = "2025-11-04T13:39:40.94Z" }, + { url = "https://files.pythonhosted.org/packages/c8/be/8fed28dd0a180dca19e72c233cbf58efa36df055e5b9d90d64fd1740b828/pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f31d95a179f8d64d90f6831d71fa93290893a33148d890ba15de25642c5d075b", size = 2066378, upload-time = "2025-11-04T13:39:42.523Z" }, + { url = "https://files.pythonhosted.org/packages/b0/3b/698cf8ae1d536a010e05121b4958b1257f0b5522085e335360e53a6b1c8b/pydantic_core-2.41.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c1df3d34aced70add6f867a8cf413e299177e0c22660cc767218373d0779487b", size = 2175761, upload-time = "2025-11-04T13:39:44.553Z" }, + { url = "https://files.pythonhosted.org/packages/b8/ba/15d537423939553116dea94ce02f9c31be0fa9d0b806d427e0308ec17145/pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:4009935984bd36bd2c774e13f9a09563ce8de4abaa7226f5108262fa3e637284", size = 2146303, upload-time = "2025-11-04T13:39:46.238Z" }, + { url = "https://files.pythonhosted.org/packages/58/7f/0de669bf37d206723795f9c90c82966726a2ab06c336deba4735b55af431/pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:34a64bc3441dc1213096a20fe27e8e128bd3ff89921706e83c0b1ac971276594", size = 2340355, upload-time = "2025-11-04T13:39:48.002Z" }, + { url = "https://files.pythonhosted.org/packages/e5/de/e7482c435b83d7e3c3ee5ee4451f6e8973cff0eb6007d2872ce6383f6398/pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:c9e19dd6e28fdcaa5a1de679aec4141f691023916427ef9bae8584f9c2fb3b0e", size = 2319875, upload-time = "2025-11-04T13:39:49.705Z" }, + { url = "https://files.pythonhosted.org/packages/fe/e6/8c9e81bb6dd7560e33b9053351c29f30c8194b72f2d6932888581f503482/pydantic_core-2.41.5-cp311-cp311-win32.whl", hash = "sha256:2c010c6ded393148374c0f6f0bf89d206bf3217f201faa0635dcd56bd1520f6b", size = 1987549, upload-time = "2025-11-04T13:39:51.842Z" }, + { url = "https://files.pythonhosted.org/packages/11/66/f14d1d978ea94d1bc21fc98fcf570f9542fe55bfcc40269d4e1a21c19bf7/pydantic_core-2.41.5-cp311-cp311-win_amd64.whl", hash = "sha256:76ee27c6e9c7f16f47db7a94157112a2f3a00e958bc626e2f4ee8bec5c328fbe", size = 2011305, upload-time = "2025-11-04T13:39:53.485Z" }, + { url = "https://files.pythonhosted.org/packages/56/d8/0e271434e8efd03186c5386671328154ee349ff0354d83c74f5caaf096ed/pydantic_core-2.41.5-cp311-cp311-win_arm64.whl", hash = "sha256:4bc36bbc0b7584de96561184ad7f012478987882ebf9f9c389b23f432ea3d90f", size = 1972902, upload-time = "2025-11-04T13:39:56.488Z" }, + { url = "https://files.pythonhosted.org/packages/5f/5d/5f6c63eebb5afee93bcaae4ce9a898f3373ca23df3ccaef086d0233a35a7/pydantic_core-2.41.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:f41a7489d32336dbf2199c8c0a215390a751c5b014c2c1c5366e817202e9cdf7", size = 2110990, upload-time = "2025-11-04T13:39:58.079Z" }, + { url = "https://files.pythonhosted.org/packages/aa/32/9c2e8ccb57c01111e0fd091f236c7b371c1bccea0fa85247ac55b1e2b6b6/pydantic_core-2.41.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:070259a8818988b9a84a449a2a7337c7f430a22acc0859c6b110aa7212a6d9c0", size = 1896003, upload-time = "2025-11-04T13:39:59.956Z" }, + { url = "https://files.pythonhosted.org/packages/68/b8/a01b53cb0e59139fbc9e4fda3e9724ede8de279097179be4ff31f1abb65a/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e96cea19e34778f8d59fe40775a7a574d95816eb150850a85a7a4c8f4b94ac69", size = 1919200, upload-time = "2025-11-04T13:40:02.241Z" }, + { url = "https://files.pythonhosted.org/packages/38/de/8c36b5198a29bdaade07b5985e80a233a5ac27137846f3bc2d3b40a47360/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ed2e99c456e3fadd05c991f8f437ef902e00eedf34320ba2b0842bd1c3ca3a75", size = 2052578, upload-time = "2025-11-04T13:40:04.401Z" }, + { url = "https://files.pythonhosted.org/packages/00/b5/0e8e4b5b081eac6cb3dbb7e60a65907549a1ce035a724368c330112adfdd/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:65840751b72fbfd82c3c640cff9284545342a4f1eb1586ad0636955b261b0b05", size = 2208504, upload-time = "2025-11-04T13:40:06.072Z" }, + { url = "https://files.pythonhosted.org/packages/77/56/87a61aad59c7c5b9dc8caad5a41a5545cba3810c3e828708b3d7404f6cef/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e536c98a7626a98feb2d3eaf75944ef6f3dbee447e1f841eae16f2f0a72d8ddc", size = 2335816, upload-time = "2025-11-04T13:40:07.835Z" }, + { url = "https://files.pythonhosted.org/packages/0d/76/941cc9f73529988688a665a5c0ecff1112b3d95ab48f81db5f7606f522d3/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eceb81a8d74f9267ef4081e246ffd6d129da5d87e37a77c9bde550cb04870c1c", size = 2075366, upload-time = "2025-11-04T13:40:09.804Z" }, + { url = "https://files.pythonhosted.org/packages/d3/43/ebef01f69baa07a482844faaa0a591bad1ef129253ffd0cdaa9d8a7f72d3/pydantic_core-2.41.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d38548150c39b74aeeb0ce8ee1d8e82696f4a4e16ddc6de7b1d8823f7de4b9b5", size = 2171698, upload-time = "2025-11-04T13:40:12.004Z" }, + { url = "https://files.pythonhosted.org/packages/b1/87/41f3202e4193e3bacfc2c065fab7706ebe81af46a83d3e27605029c1f5a6/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:c23e27686783f60290e36827f9c626e63154b82b116d7fe9adba1fda36da706c", size = 2132603, upload-time = "2025-11-04T13:40:13.868Z" }, + { url = "https://files.pythonhosted.org/packages/49/7d/4c00df99cb12070b6bccdef4a195255e6020a550d572768d92cc54dba91a/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:482c982f814460eabe1d3bb0adfdc583387bd4691ef00b90575ca0d2b6fe2294", size = 2329591, upload-time = "2025-11-04T13:40:15.672Z" }, + { url = "https://files.pythonhosted.org/packages/cc/6a/ebf4b1d65d458f3cda6a7335d141305dfa19bdc61140a884d165a8a1bbc7/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:bfea2a5f0b4d8d43adf9d7b8bf019fb46fdd10a2e5cde477fbcb9d1fa08c68e1", size = 2319068, upload-time = "2025-11-04T13:40:17.532Z" }, + { url = "https://files.pythonhosted.org/packages/49/3b/774f2b5cd4192d5ab75870ce4381fd89cf218af999515baf07e7206753f0/pydantic_core-2.41.5-cp312-cp312-win32.whl", hash = "sha256:b74557b16e390ec12dca509bce9264c3bbd128f8a2c376eaa68003d7f327276d", size = 1985908, upload-time = "2025-11-04T13:40:19.309Z" }, + { url = "https://files.pythonhosted.org/packages/86/45/00173a033c801cacf67c190fef088789394feaf88a98a7035b0e40d53dc9/pydantic_core-2.41.5-cp312-cp312-win_amd64.whl", hash = "sha256:1962293292865bca8e54702b08a4f26da73adc83dd1fcf26fbc875b35d81c815", size = 2020145, upload-time = "2025-11-04T13:40:21.548Z" }, + { url = "https://files.pythonhosted.org/packages/f9/22/91fbc821fa6d261b376a3f73809f907cec5ca6025642c463d3488aad22fb/pydantic_core-2.41.5-cp312-cp312-win_arm64.whl", hash = "sha256:1746d4a3d9a794cacae06a5eaaccb4b8643a131d45fbc9af23e353dc0a5ba5c3", size = 1976179, upload-time = "2025-11-04T13:40:23.393Z" }, + { url = "https://files.pythonhosted.org/packages/87/06/8806241ff1f70d9939f9af039c6c35f2360cf16e93c2ca76f184e76b1564/pydantic_core-2.41.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:941103c9be18ac8daf7b7adca8228f8ed6bb7a1849020f643b3a14d15b1924d9", size = 2120403, upload-time = "2025-11-04T13:40:25.248Z" }, + { url = "https://files.pythonhosted.org/packages/94/02/abfa0e0bda67faa65fef1c84971c7e45928e108fe24333c81f3bfe35d5f5/pydantic_core-2.41.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:112e305c3314f40c93998e567879e887a3160bb8689ef3d2c04b6cc62c33ac34", size = 1896206, upload-time = "2025-11-04T13:40:27.099Z" }, + { url = "https://files.pythonhosted.org/packages/15/df/a4c740c0943e93e6500f9eb23f4ca7ec9bf71b19e608ae5b579678c8d02f/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cbaad15cb0c90aa221d43c00e77bb33c93e8d36e0bf74760cd00e732d10a6a0", size = 1919307, upload-time = "2025-11-04T13:40:29.806Z" }, + { url = "https://files.pythonhosted.org/packages/9a/e3/6324802931ae1d123528988e0e86587c2072ac2e5394b4bc2bc34b61ff6e/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:03ca43e12fab6023fc79d28ca6b39b05f794ad08ec2feccc59a339b02f2b3d33", size = 2063258, upload-time = "2025-11-04T13:40:33.544Z" }, + { url = "https://files.pythonhosted.org/packages/c9/d4/2230d7151d4957dd79c3044ea26346c148c98fbf0ee6ebd41056f2d62ab5/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dc799088c08fa04e43144b164feb0c13f9a0bc40503f8df3e9fde58a3c0c101e", size = 2214917, upload-time = "2025-11-04T13:40:35.479Z" }, + { url = "https://files.pythonhosted.org/packages/e6/9f/eaac5df17a3672fef0081b6c1bb0b82b33ee89aa5cec0d7b05f52fd4a1fa/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:97aeba56665b4c3235a0e52b2c2f5ae9cd071b8a8310ad27bddb3f7fb30e9aa2", size = 2332186, upload-time = "2025-11-04T13:40:37.436Z" }, + { url = "https://files.pythonhosted.org/packages/cf/4e/35a80cae583a37cf15604b44240e45c05e04e86f9cfd766623149297e971/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:406bf18d345822d6c21366031003612b9c77b3e29ffdb0f612367352aab7d586", size = 2073164, upload-time = "2025-11-04T13:40:40.289Z" }, + { url = "https://files.pythonhosted.org/packages/bf/e3/f6e262673c6140dd3305d144d032f7bd5f7497d3871c1428521f19f9efa2/pydantic_core-2.41.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b93590ae81f7010dbe380cdeab6f515902ebcbefe0b9327cc4804d74e93ae69d", size = 2179146, upload-time = "2025-11-04T13:40:42.809Z" }, + { url = "https://files.pythonhosted.org/packages/75/c7/20bd7fc05f0c6ea2056a4565c6f36f8968c0924f19b7d97bbfea55780e73/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:01a3d0ab748ee531f4ea6c3e48ad9dac84ddba4b0d82291f87248f2f9de8d740", size = 2137788, upload-time = "2025-11-04T13:40:44.752Z" }, + { url = "https://files.pythonhosted.org/packages/3a/8d/34318ef985c45196e004bc46c6eab2eda437e744c124ef0dbe1ff2c9d06b/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:6561e94ba9dacc9c61bce40e2d6bdc3bfaa0259d3ff36ace3b1e6901936d2e3e", size = 2340133, upload-time = "2025-11-04T13:40:46.66Z" }, + { url = "https://files.pythonhosted.org/packages/9c/59/013626bf8c78a5a5d9350d12e7697d3d4de951a75565496abd40ccd46bee/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:915c3d10f81bec3a74fbd4faebe8391013ba61e5a1a8d48c4455b923bdda7858", size = 2324852, upload-time = "2025-11-04T13:40:48.575Z" }, + { url = "https://files.pythonhosted.org/packages/1a/d9/c248c103856f807ef70c18a4f986693a46a8ffe1602e5d361485da502d20/pydantic_core-2.41.5-cp313-cp313-win32.whl", hash = "sha256:650ae77860b45cfa6e2cdafc42618ceafab3a2d9a3811fcfbd3bbf8ac3c40d36", size = 1994679, upload-time = "2025-11-04T13:40:50.619Z" }, + { url = "https://files.pythonhosted.org/packages/9e/8b/341991b158ddab181cff136acd2552c9f35bd30380422a639c0671e99a91/pydantic_core-2.41.5-cp313-cp313-win_amd64.whl", hash = "sha256:79ec52ec461e99e13791ec6508c722742ad745571f234ea6255bed38c6480f11", size = 2019766, upload-time = "2025-11-04T13:40:52.631Z" }, + { url = "https://files.pythonhosted.org/packages/73/7d/f2f9db34af103bea3e09735bb40b021788a5e834c81eedb541991badf8f5/pydantic_core-2.41.5-cp313-cp313-win_arm64.whl", hash = "sha256:3f84d5c1b4ab906093bdc1ff10484838aca54ef08de4afa9de0f5f14d69639cd", size = 1981005, upload-time = "2025-11-04T13:40:54.734Z" }, + { url = "https://files.pythonhosted.org/packages/ea/28/46b7c5c9635ae96ea0fbb779e271a38129df2550f763937659ee6c5dbc65/pydantic_core-2.41.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:3f37a19d7ebcdd20b96485056ba9e8b304e27d9904d233d7b1015db320e51f0a", size = 2119622, upload-time = "2025-11-04T13:40:56.68Z" }, + { url = "https://files.pythonhosted.org/packages/74/1a/145646e5687e8d9a1e8d09acb278c8535ebe9e972e1f162ed338a622f193/pydantic_core-2.41.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1d1d9764366c73f996edd17abb6d9d7649a7eb690006ab6adbda117717099b14", size = 1891725, upload-time = "2025-11-04T13:40:58.807Z" }, + { url = "https://files.pythonhosted.org/packages/23/04/e89c29e267b8060b40dca97bfc64a19b2a3cf99018167ea1677d96368273/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:25e1c2af0fce638d5f1988b686f3b3ea8cd7de5f244ca147c777769e798a9cd1", size = 1915040, upload-time = "2025-11-04T13:41:00.853Z" }, + { url = "https://files.pythonhosted.org/packages/84/a3/15a82ac7bd97992a82257f777b3583d3e84bdb06ba6858f745daa2ec8a85/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:506d766a8727beef16b7adaeb8ee6217c64fc813646b424d0804d67c16eddb66", size = 2063691, upload-time = "2025-11-04T13:41:03.504Z" }, + { url = "https://files.pythonhosted.org/packages/74/9b/0046701313c6ef08c0c1cf0e028c67c770a4e1275ca73131563c5f2a310a/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4819fa52133c9aa3c387b3328f25c1facc356491e6135b459f1de698ff64d869", size = 2213897, upload-time = "2025-11-04T13:41:05.804Z" }, + { url = "https://files.pythonhosted.org/packages/8a/cd/6bac76ecd1b27e75a95ca3a9a559c643b3afcd2dd62086d4b7a32a18b169/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2b761d210c9ea91feda40d25b4efe82a1707da2ef62901466a42492c028553a2", size = 2333302, upload-time = "2025-11-04T13:41:07.809Z" }, + { url = "https://files.pythonhosted.org/packages/4c/d2/ef2074dc020dd6e109611a8be4449b98cd25e1b9b8a303c2f0fca2f2bcf7/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22f0fb8c1c583a3b6f24df2470833b40207e907b90c928cc8d3594b76f874375", size = 2064877, upload-time = "2025-11-04T13:41:09.827Z" }, + { url = "https://files.pythonhosted.org/packages/18/66/e9db17a9a763d72f03de903883c057b2592c09509ccfe468187f2a2eef29/pydantic_core-2.41.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2782c870e99878c634505236d81e5443092fba820f0373997ff75f90f68cd553", size = 2180680, upload-time = "2025-11-04T13:41:12.379Z" }, + { url = "https://files.pythonhosted.org/packages/d3/9e/3ce66cebb929f3ced22be85d4c2399b8e85b622db77dad36b73c5387f8f8/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:0177272f88ab8312479336e1d777f6b124537d47f2123f89cb37e0accea97f90", size = 2138960, upload-time = "2025-11-04T13:41:14.627Z" }, + { url = "https://files.pythonhosted.org/packages/a6/62/205a998f4327d2079326b01abee48e502ea739d174f0a89295c481a2272e/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:63510af5e38f8955b8ee5687740d6ebf7c2a0886d15a6d65c32814613681bc07", size = 2339102, upload-time = "2025-11-04T13:41:16.868Z" }, + { url = "https://files.pythonhosted.org/packages/3c/0d/f05e79471e889d74d3d88f5bd20d0ed189ad94c2423d81ff8d0000aab4ff/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:e56ba91f47764cc14f1daacd723e3e82d1a89d783f0f5afe9c364b8bb491ccdb", size = 2326039, upload-time = "2025-11-04T13:41:18.934Z" }, + { url = "https://files.pythonhosted.org/packages/ec/e1/e08a6208bb100da7e0c4b288eed624a703f4d129bde2da475721a80cab32/pydantic_core-2.41.5-cp314-cp314-win32.whl", hash = "sha256:aec5cf2fd867b4ff45b9959f8b20ea3993fc93e63c7363fe6851424c8a7e7c23", size = 1995126, upload-time = "2025-11-04T13:41:21.418Z" }, + { url = "https://files.pythonhosted.org/packages/48/5d/56ba7b24e9557f99c9237e29f5c09913c81eeb2f3217e40e922353668092/pydantic_core-2.41.5-cp314-cp314-win_amd64.whl", hash = "sha256:8e7c86f27c585ef37c35e56a96363ab8de4e549a95512445b85c96d3e2f7c1bf", size = 2015489, upload-time = "2025-11-04T13:41:24.076Z" }, + { url = "https://files.pythonhosted.org/packages/4e/bb/f7a190991ec9e3e0ba22e4993d8755bbc4a32925c0b5b42775c03e8148f9/pydantic_core-2.41.5-cp314-cp314-win_arm64.whl", hash = "sha256:e672ba74fbc2dc8eea59fb6d4aed6845e6905fc2a8afe93175d94a83ba2a01a0", size = 1977288, upload-time = "2025-11-04T13:41:26.33Z" }, + { url = "https://files.pythonhosted.org/packages/92/ed/77542d0c51538e32e15afe7899d79efce4b81eee631d99850edc2f5e9349/pydantic_core-2.41.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8566def80554c3faa0e65ac30ab0932b9e3a5cd7f8323764303d468e5c37595a", size = 2120255, upload-time = "2025-11-04T13:41:28.569Z" }, + { url = "https://files.pythonhosted.org/packages/bb/3d/6913dde84d5be21e284439676168b28d8bbba5600d838b9dca99de0fad71/pydantic_core-2.41.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b80aa5095cd3109962a298ce14110ae16b8c1aece8b72f9dafe81cf597ad80b3", size = 1863760, upload-time = "2025-11-04T13:41:31.055Z" }, + { url = "https://files.pythonhosted.org/packages/5a/f0/e5e6b99d4191da102f2b0eb9687aaa7f5bea5d9964071a84effc3e40f997/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3006c3dd9ba34b0c094c544c6006cc79e87d8612999f1a5d43b769b89181f23c", size = 1878092, upload-time = "2025-11-04T13:41:33.21Z" }, + { url = "https://files.pythonhosted.org/packages/71/48/36fb760642d568925953bcc8116455513d6e34c4beaa37544118c36aba6d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:72f6c8b11857a856bcfa48c86f5368439f74453563f951e473514579d44aa612", size = 2053385, upload-time = "2025-11-04T13:41:35.508Z" }, + { url = "https://files.pythonhosted.org/packages/20/25/92dc684dd8eb75a234bc1c764b4210cf2646479d54b47bf46061657292a8/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5cb1b2f9742240e4bb26b652a5aeb840aa4b417c7748b6f8387927bc6e45e40d", size = 2218832, upload-time = "2025-11-04T13:41:37.732Z" }, + { url = "https://files.pythonhosted.org/packages/e2/09/f53e0b05023d3e30357d82eb35835d0f6340ca344720a4599cd663dca599/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd3d54f38609ff308209bd43acea66061494157703364ae40c951f83ba99a1a9", size = 2327585, upload-time = "2025-11-04T13:41:40Z" }, + { url = "https://files.pythonhosted.org/packages/aa/4e/2ae1aa85d6af35a39b236b1b1641de73f5a6ac4d5a7509f77b814885760c/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ff4321e56e879ee8d2a879501c8e469414d948f4aba74a2d4593184eb326660", size = 2041078, upload-time = "2025-11-04T13:41:42.323Z" }, + { url = "https://files.pythonhosted.org/packages/cd/13/2e215f17f0ef326fc72afe94776edb77525142c693767fc347ed6288728d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d0d2568a8c11bf8225044aa94409e21da0cb09dcdafe9ecd10250b2baad531a9", size = 2173914, upload-time = "2025-11-04T13:41:45.221Z" }, + { url = "https://files.pythonhosted.org/packages/02/7a/f999a6dcbcd0e5660bc348a3991c8915ce6599f4f2c6ac22f01d7a10816c/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:a39455728aabd58ceabb03c90e12f71fd30fa69615760a075b9fec596456ccc3", size = 2129560, upload-time = "2025-11-04T13:41:47.474Z" }, + { url = "https://files.pythonhosted.org/packages/3a/b1/6c990ac65e3b4c079a4fb9f5b05f5b013afa0f4ed6780a3dd236d2cbdc64/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:239edca560d05757817c13dc17c50766136d21f7cd0fac50295499ae24f90fdf", size = 2329244, upload-time = "2025-11-04T13:41:49.992Z" }, + { url = "https://files.pythonhosted.org/packages/d9/02/3c562f3a51afd4d88fff8dffb1771b30cfdfd79befd9883ee094f5b6c0d8/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:2a5e06546e19f24c6a96a129142a75cee553cc018ffee48a460059b1185f4470", size = 2331955, upload-time = "2025-11-04T13:41:54.079Z" }, + { url = "https://files.pythonhosted.org/packages/5c/96/5fb7d8c3c17bc8c62fdb031c47d77a1af698f1d7a406b0f79aaa1338f9ad/pydantic_core-2.41.5-cp314-cp314t-win32.whl", hash = "sha256:b4ececa40ac28afa90871c2cc2b9ffd2ff0bf749380fbdf57d165fd23da353aa", size = 1988906, upload-time = "2025-11-04T13:41:56.606Z" }, + { url = "https://files.pythonhosted.org/packages/22/ed/182129d83032702912c2e2d8bbe33c036f342cc735737064668585dac28f/pydantic_core-2.41.5-cp314-cp314t-win_amd64.whl", hash = "sha256:80aa89cad80b32a912a65332f64a4450ed00966111b6615ca6816153d3585a8c", size = 1981607, upload-time = "2025-11-04T13:41:58.889Z" }, + { url = "https://files.pythonhosted.org/packages/9f/ed/068e41660b832bb0b1aa5b58011dea2a3fe0ba7861ff38c4d4904c1c1a99/pydantic_core-2.41.5-cp314-cp314t-win_arm64.whl", hash = "sha256:35b44f37a3199f771c3eaa53051bc8a70cd7b54f333531c59e29fd4db5d15008", size = 1974769, upload-time = "2025-11-04T13:42:01.186Z" }, + { url = "https://files.pythonhosted.org/packages/54/db/160dffb57ed9a3705c4cbcbff0ac03bdae45f1ca7d58ab74645550df3fbd/pydantic_core-2.41.5-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:8bfeaf8735be79f225f3fefab7f941c712aaca36f1128c9d7e2352ee1aa87bdf", size = 2107999, upload-time = "2025-11-04T13:42:03.885Z" }, + { url = "https://files.pythonhosted.org/packages/a3/7d/88e7de946f60d9263cc84819f32513520b85c0f8322f9b8f6e4afc938383/pydantic_core-2.41.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:346285d28e4c8017da95144c7f3acd42740d637ff41946af5ce6e5e420502dd5", size = 1929745, upload-time = "2025-11-04T13:42:06.075Z" }, + { url = "https://files.pythonhosted.org/packages/d5/c2/aef51e5b283780e85e99ff19db0f05842d2d4a8a8cd15e63b0280029b08f/pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a75dafbf87d6276ddc5b2bf6fae5254e3d0876b626eb24969a574fff9149ee5d", size = 1920220, upload-time = "2025-11-04T13:42:08.457Z" }, + { url = "https://files.pythonhosted.org/packages/c7/97/492ab10f9ac8695cd76b2fdb24e9e61f394051df71594e9bcc891c9f586e/pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7b93a4d08587e2b7e7882de461e82b6ed76d9026ce91ca7915e740ecc7855f60", size = 2067296, upload-time = "2025-11-04T13:42:10.817Z" }, + { url = "https://files.pythonhosted.org/packages/ec/23/984149650e5269c59a2a4c41d234a9570adc68ab29981825cfaf4cfad8f4/pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e8465ab91a4bd96d36dde3263f06caa6a8a6019e4113f24dc753d79a8b3a3f82", size = 2231548, upload-time = "2025-11-04T13:42:13.843Z" }, + { url = "https://files.pythonhosted.org/packages/71/0c/85bcbb885b9732c28bec67a222dbed5ed2d77baee1f8bba2002e8cd00c5c/pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:299e0a22e7ae2b85c1a57f104538b2656e8ab1873511fd718a1c1c6f149b77b5", size = 2362571, upload-time = "2025-11-04T13:42:16.208Z" }, + { url = "https://files.pythonhosted.org/packages/c0/4a/412d2048be12c334003e9b823a3fa3d038e46cc2d64dd8aab50b31b65499/pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:707625ef0983fcfb461acfaf14de2067c5942c6bb0f3b4c99158bed6fedd3cf3", size = 2068175, upload-time = "2025-11-04T13:42:18.911Z" }, + { url = "https://files.pythonhosted.org/packages/73/f4/c58b6a776b502d0a5540ad02e232514285513572060f0d78f7832ca3c98b/pydantic_core-2.41.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f41eb9797986d6ebac5e8edff36d5cef9de40def462311b3eb3eeded1431e425", size = 2177203, upload-time = "2025-11-04T13:42:22.578Z" }, + { url = "https://files.pythonhosted.org/packages/ed/ae/f06ea4c7e7a9eead3d165e7623cd2ea0cb788e277e4f935af63fc98fa4e6/pydantic_core-2.41.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0384e2e1021894b1ff5a786dbf94771e2986ebe2869533874d7e43bc79c6f504", size = 2148191, upload-time = "2025-11-04T13:42:24.89Z" }, + { url = "https://files.pythonhosted.org/packages/c1/57/25a11dcdc656bf5f8b05902c3c2934ac3ea296257cc4a3f79a6319e61856/pydantic_core-2.41.5-cp39-cp39-musllinux_1_1_armv7l.whl", hash = "sha256:f0cd744688278965817fd0839c4a4116add48d23890d468bc436f78beb28abf5", size = 2343907, upload-time = "2025-11-04T13:42:27.683Z" }, + { url = "https://files.pythonhosted.org/packages/96/82/e33d5f4933d7a03327c0c43c65d575e5919d4974ffc026bc917a5f7b9f61/pydantic_core-2.41.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:753e230374206729bf0a807954bcc6c150d3743928a73faffee51ac6557a03c3", size = 2322174, upload-time = "2025-11-04T13:42:30.776Z" }, + { url = "https://files.pythonhosted.org/packages/81/45/4091be67ce9f469e81656f880f3506f6a5624121ec5eb3eab37d7581897d/pydantic_core-2.41.5-cp39-cp39-win32.whl", hash = "sha256:873e0d5b4fb9b89ef7c2d2a963ea7d02879d9da0da8d9d4933dee8ee86a8b460", size = 1990353, upload-time = "2025-11-04T13:42:33.111Z" }, + { url = "https://files.pythonhosted.org/packages/44/8a/a98aede18db6e9cd5d66bcacd8a409fcf8134204cdede2e7de35c5a2c5ef/pydantic_core-2.41.5-cp39-cp39-win_amd64.whl", hash = "sha256:e4f4a984405e91527a0d62649ee21138f8e3d0ef103be488c1dc11a80d7f184b", size = 2015698, upload-time = "2025-11-04T13:42:35.484Z" }, + { url = "https://files.pythonhosted.org/packages/11/72/90fda5ee3b97e51c494938a4a44c3a35a9c96c19bba12372fb9c634d6f57/pydantic_core-2.41.5-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:b96d5f26b05d03cc60f11a7761a5ded1741da411e7fe0909e27a5e6a0cb7b034", size = 2115441, upload-time = "2025-11-04T13:42:39.557Z" }, + { url = "https://files.pythonhosted.org/packages/1f/53/8942f884fa33f50794f119012dc6a1a02ac43a56407adaac20463df8e98f/pydantic_core-2.41.5-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:634e8609e89ceecea15e2d61bc9ac3718caaaa71963717bf3c8f38bfde64242c", size = 1930291, upload-time = "2025-11-04T13:42:42.169Z" }, + { url = "https://files.pythonhosted.org/packages/79/c8/ecb9ed9cd942bce09fc888ee960b52654fbdbede4ba6c2d6e0d3b1d8b49c/pydantic_core-2.41.5-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:93e8740d7503eb008aa2df04d3b9735f845d43ae845e6dcd2be0b55a2da43cd2", size = 1948632, upload-time = "2025-11-04T13:42:44.564Z" }, + { url = "https://files.pythonhosted.org/packages/2e/1b/687711069de7efa6af934e74f601e2a4307365e8fdc404703afc453eab26/pydantic_core-2.41.5-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f15489ba13d61f670dcc96772e733aad1a6f9c429cc27574c6cdaed82d0146ad", size = 2138905, upload-time = "2025-11-04T13:42:47.156Z" }, + { url = "https://files.pythonhosted.org/packages/09/32/59b0c7e63e277fa7911c2fc70ccfb45ce4b98991e7ef37110663437005af/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:7da7087d756b19037bc2c06edc6c170eeef3c3bafcb8f532ff17d64dc427adfd", size = 2110495, upload-time = "2025-11-04T13:42:49.689Z" }, + { url = "https://files.pythonhosted.org/packages/aa/81/05e400037eaf55ad400bcd318c05bb345b57e708887f07ddb2d20e3f0e98/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:aabf5777b5c8ca26f7824cb4a120a740c9588ed58df9b2d196ce92fba42ff8dc", size = 1915388, upload-time = "2025-11-04T13:42:52.215Z" }, + { url = "https://files.pythonhosted.org/packages/6e/0d/e3549b2399f71d56476b77dbf3cf8937cec5cd70536bdc0e374a421d0599/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c007fe8a43d43b3969e8469004e9845944f1a80e6acd47c150856bb87f230c56", size = 1942879, upload-time = "2025-11-04T13:42:56.483Z" }, + { url = "https://files.pythonhosted.org/packages/f7/07/34573da085946b6a313d7c42f82f16e8920bfd730665de2d11c0c37a74b5/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:76d0819de158cd855d1cbb8fcafdf6f5cf1eb8e470abe056d5d161106e38062b", size = 2139017, upload-time = "2025-11-04T13:42:59.471Z" }, + { url = "https://files.pythonhosted.org/packages/e6/b0/1a2aa41e3b5a4ba11420aba2d091b2d17959c8d1519ece3627c371951e73/pydantic_core-2.41.5-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:b5819cd790dbf0c5eb9f82c73c16b39a65dd6dd4d1439dcdea7816ec9adddab8", size = 2103351, upload-time = "2025-11-04T13:43:02.058Z" }, + { url = "https://files.pythonhosted.org/packages/a4/ee/31b1f0020baaf6d091c87900ae05c6aeae101fa4e188e1613c80e4f1ea31/pydantic_core-2.41.5-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:5a4e67afbc95fa5c34cf27d9089bca7fcab4e51e57278d710320a70b956d1b9a", size = 1925363, upload-time = "2025-11-04T13:43:05.159Z" }, + { url = "https://files.pythonhosted.org/packages/e1/89/ab8e86208467e467a80deaca4e434adac37b10a9d134cd2f99b28a01e483/pydantic_core-2.41.5-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ece5c59f0ce7d001e017643d8d24da587ea1f74f6993467d85ae8a5ef9d4f42b", size = 2135615, upload-time = "2025-11-04T13:43:08.116Z" }, + { url = "https://files.pythonhosted.org/packages/99/0a/99a53d06dd0348b2008f2f30884b34719c323f16c3be4e6cc1203b74a91d/pydantic_core-2.41.5-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:16f80f7abe3351f8ea6858914ddc8c77e02578544a0ebc15b4c2e1a0e813b0b2", size = 2175369, upload-time = "2025-11-04T13:43:12.49Z" }, + { url = "https://files.pythonhosted.org/packages/6d/94/30ca3b73c6d485b9bb0bc66e611cff4a7138ff9736b7e66bcf0852151636/pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:33cb885e759a705b426baada1fe68cbb0a2e68e34c5d0d0289a364cf01709093", size = 2144218, upload-time = "2025-11-04T13:43:15.431Z" }, + { url = "https://files.pythonhosted.org/packages/87/57/31b4f8e12680b739a91f472b5671294236b82586889ef764b5fbc6669238/pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:c8d8b4eb992936023be7dee581270af5c6e0697a8559895f527f5b7105ecd36a", size = 2329951, upload-time = "2025-11-04T13:43:18.062Z" }, + { url = "https://files.pythonhosted.org/packages/7d/73/3c2c8edef77b8f7310e6fb012dbc4b8551386ed575b9eb6fb2506e28a7eb/pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:242a206cd0318f95cd21bdacff3fcc3aab23e79bba5cac3db5a841c9ef9c6963", size = 2318428, upload-time = "2025-11-04T13:43:20.679Z" }, + { url = "https://files.pythonhosted.org/packages/2f/02/8559b1f26ee0d502c74f9cca5c0d2fd97e967e083e006bbbb4e97f3a043a/pydantic_core-2.41.5-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d3a978c4f57a597908b7e697229d996d77a6d3c94901e9edee593adada95ce1a", size = 2147009, upload-time = "2025-11-04T13:43:23.286Z" }, + { url = "https://files.pythonhosted.org/packages/5f/9b/1b3f0e9f9305839d7e84912f9e8bfbd191ed1b1ef48083609f0dabde978c/pydantic_core-2.41.5-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:b2379fa7ed44ddecb5bfe4e48577d752db9fc10be00a6b7446e9663ba143de26", size = 2101980, upload-time = "2025-11-04T13:43:25.97Z" }, + { url = "https://files.pythonhosted.org/packages/a4/ed/d71fefcb4263df0da6a85b5d8a7508360f2f2e9b3bf5814be9c8bccdccc1/pydantic_core-2.41.5-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:266fb4cbf5e3cbd0b53669a6d1b039c45e3ce651fd5442eff4d07c2cc8d66808", size = 1923865, upload-time = "2025-11-04T13:43:28.763Z" }, + { url = "https://files.pythonhosted.org/packages/ce/3a/626b38db460d675f873e4444b4bb030453bbe7b4ba55df821d026a0493c4/pydantic_core-2.41.5-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:58133647260ea01e4d0500089a8c4f07bd7aa6ce109682b1426394988d8aaacc", size = 2134256, upload-time = "2025-11-04T13:43:31.71Z" }, + { url = "https://files.pythonhosted.org/packages/83/d9/8412d7f06f616bbc053d30cb4e5f76786af3221462ad5eee1f202021eb4e/pydantic_core-2.41.5-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:287dad91cfb551c363dc62899a80e9e14da1f0e2b6ebde82c806612ca2a13ef1", size = 2174762, upload-time = "2025-11-04T13:43:34.744Z" }, + { url = "https://files.pythonhosted.org/packages/55/4c/162d906b8e3ba3a99354e20faa1b49a85206c47de97a639510a0e673f5da/pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:03b77d184b9eb40240ae9fd676ca364ce1085f203e1b1256f8ab9984dca80a84", size = 2143141, upload-time = "2025-11-04T13:43:37.701Z" }, + { url = "https://files.pythonhosted.org/packages/1f/f2/f11dd73284122713f5f89fc940f370d035fa8e1e078d446b3313955157fe/pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:a668ce24de96165bb239160b3d854943128f4334822900534f2fe947930e5770", size = 2330317, upload-time = "2025-11-04T13:43:40.406Z" }, + { url = "https://files.pythonhosted.org/packages/88/9d/b06ca6acfe4abb296110fb1273a4d848a0bfb2ff65f3ee92127b3244e16b/pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f14f8f046c14563f8eb3f45f499cc658ab8d10072961e07225e507adb700e93f", size = 2316992, upload-time = "2025-11-04T13:43:43.602Z" }, + { url = "https://files.pythonhosted.org/packages/36/c7/cfc8e811f061c841d7990b0201912c3556bfeb99cdcb7ed24adc8d6f8704/pydantic_core-2.41.5-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:56121965f7a4dc965bff783d70b907ddf3d57f6eba29b6d2e5dabfaf07799c51", size = 2145302, upload-time = "2025-11-04T13:43:46.64Z" }, +] + +[[package]] +name = "pylint" +version = "3.2.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "astroid" }, + { name = "colorama", marker = "sys_platform == 'win32'" }, + { name = "dill" }, + { name = "isort" }, + { name = "mccabe" }, + { name = "platformdirs", version = "4.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, + { name = "platformdirs", version = "4.5.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "tomli", marker = "python_full_version < '3.11'" }, + { name = "tomlkit" }, + { name = "typing-extensions", marker = "python_full_version < '3.10'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9a/e9/60280b14cc1012794120345ce378504cf17409e38cd88f455dc24e0ad6b5/pylint-3.2.3.tar.gz", hash = "sha256:02f6c562b215582386068d52a30f520d84fdbcf2a95fc7e855b816060d048b60", size = 1506739, upload-time = "2024-06-06T14:19:17.955Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/50/d3/d346f779cbc9384d8b805a7557b5f2b8ee9f842bffebec9fc6364d6ae183/pylint-3.2.3-py3-none-any.whl", hash = "sha256:b3d7d2708a3e04b4679e02d99e72329a8b7ee8afb8d04110682278781f889fa8", size = 519244, upload-time = "2024-06-06T14:19:13.228Z" }, +] + +[[package]] +name = "pyright" +version = "1.1.398" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "nodeenv" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/24/d6/48740f1d029e9fc4194880d1ad03dcf0ba3a8f802e0e166b8f63350b3584/pyright-1.1.398.tar.gz", hash = "sha256:357a13edd9be8082dc73be51190913e475fa41a6efb6ec0d4b7aab3bc11638d8", size = 3892675, upload-time = "2025-03-26T10:06:06.063Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/58/e0/5283593f61b3c525d6d7e94cfb6b3ded20b3df66e953acaf7bb4f23b3f6e/pyright-1.1.398-py3-none-any.whl", hash = "sha256:0a70bfd007d9ea7de1cf9740e1ad1a40a122592cfe22a3f6791b06162ad08753", size = 5780235, upload-time = "2025-03-26T10:06:03.994Z" }, +] + +[[package]] +name = "sniffio" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372, upload-time = "2024-02-25T23:20:04.057Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235, upload-time = "2024-02-25T23:20:01.196Z" }, +] + +[[package]] +name = "tomli" +version = "2.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/52/ed/3f73f72945444548f33eba9a87fc7a6e969915e7b1acc8260b30e1f76a2f/tomli-2.3.0.tar.gz", hash = "sha256:64be704a875d2a59753d80ee8a533c3fe183e3f06807ff7dc2232938ccb01549", size = 17392, upload-time = "2025-10-08T22:01:47.119Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/2e/299f62b401438d5fe1624119c723f5d877acc86a4c2492da405626665f12/tomli-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:88bd15eb972f3664f5ed4b57c1634a97153b4bac4479dcb6a495f41921eb7f45", size = 153236, upload-time = "2025-10-08T22:01:00.137Z" }, + { url = "https://files.pythonhosted.org/packages/86/7f/d8fffe6a7aefdb61bced88fcb5e280cfd71e08939da5894161bd71bea022/tomli-2.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:883b1c0d6398a6a9d29b508c331fa56adbcdff647f6ace4dfca0f50e90dfd0ba", size = 148084, upload-time = "2025-10-08T22:01:01.63Z" }, + { url = "https://files.pythonhosted.org/packages/47/5c/24935fb6a2ee63e86d80e4d3b58b222dafaf438c416752c8b58537c8b89a/tomli-2.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d1381caf13ab9f300e30dd8feadb3de072aeb86f1d34a8569453ff32a7dea4bf", size = 234832, upload-time = "2025-10-08T22:01:02.543Z" }, + { url = "https://files.pythonhosted.org/packages/89/da/75dfd804fc11e6612846758a23f13271b76d577e299592b4371a4ca4cd09/tomli-2.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a0e285d2649b78c0d9027570d4da3425bdb49830a6156121360b3f8511ea3441", size = 242052, upload-time = "2025-10-08T22:01:03.836Z" }, + { url = "https://files.pythonhosted.org/packages/70/8c/f48ac899f7b3ca7eb13af73bacbc93aec37f9c954df3c08ad96991c8c373/tomli-2.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0a154a9ae14bfcf5d8917a59b51ffd5a3ac1fd149b71b47a3a104ca4edcfa845", size = 239555, upload-time = "2025-10-08T22:01:04.834Z" }, + { url = "https://files.pythonhosted.org/packages/ba/28/72f8afd73f1d0e7829bfc093f4cb98ce0a40ffc0cc997009ee1ed94ba705/tomli-2.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:74bf8464ff93e413514fefd2be591c3b0b23231a77f901db1eb30d6f712fc42c", size = 245128, upload-time = "2025-10-08T22:01:05.84Z" }, + { url = "https://files.pythonhosted.org/packages/b6/eb/a7679c8ac85208706d27436e8d421dfa39d4c914dcf5fa8083a9305f58d9/tomli-2.3.0-cp311-cp311-win32.whl", hash = "sha256:00b5f5d95bbfc7d12f91ad8c593a1659b6387b43f054104cda404be6bda62456", size = 96445, upload-time = "2025-10-08T22:01:06.896Z" }, + { url = "https://files.pythonhosted.org/packages/0a/fe/3d3420c4cb1ad9cb462fb52967080575f15898da97e21cb6f1361d505383/tomli-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:4dc4ce8483a5d429ab602f111a93a6ab1ed425eae3122032db7e9acf449451be", size = 107165, upload-time = "2025-10-08T22:01:08.107Z" }, + { url = "https://files.pythonhosted.org/packages/ff/b7/40f36368fcabc518bb11c8f06379a0fd631985046c038aca08c6d6a43c6e/tomli-2.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d7d86942e56ded512a594786a5ba0a5e521d02529b3826e7761a05138341a2ac", size = 154891, upload-time = "2025-10-08T22:01:09.082Z" }, + { url = "https://files.pythonhosted.org/packages/f9/3f/d9dd692199e3b3aab2e4e4dd948abd0f790d9ded8cd10cbaae276a898434/tomli-2.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:73ee0b47d4dad1c5e996e3cd33b8a76a50167ae5f96a2607cbe8cc773506ab22", size = 148796, upload-time = "2025-10-08T22:01:10.266Z" }, + { url = "https://files.pythonhosted.org/packages/60/83/59bff4996c2cf9f9387a0f5a3394629c7efa5ef16142076a23a90f1955fa/tomli-2.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:792262b94d5d0a466afb5bc63c7daa9d75520110971ee269152083270998316f", size = 242121, upload-time = "2025-10-08T22:01:11.332Z" }, + { url = "https://files.pythonhosted.org/packages/45/e5/7c5119ff39de8693d6baab6c0b6dcb556d192c165596e9fc231ea1052041/tomli-2.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4f195fe57ecceac95a66a75ac24d9d5fbc98ef0962e09b2eddec5d39375aae52", size = 250070, upload-time = "2025-10-08T22:01:12.498Z" }, + { url = "https://files.pythonhosted.org/packages/45/12/ad5126d3a278f27e6701abde51d342aa78d06e27ce2bb596a01f7709a5a2/tomli-2.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e31d432427dcbf4d86958c184b9bfd1e96b5b71f8eb17e6d02531f434fd335b8", size = 245859, upload-time = "2025-10-08T22:01:13.551Z" }, + { url = "https://files.pythonhosted.org/packages/fb/a1/4d6865da6a71c603cfe6ad0e6556c73c76548557a8d658f9e3b142df245f/tomli-2.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7b0882799624980785240ab732537fcfc372601015c00f7fc367c55308c186f6", size = 250296, upload-time = "2025-10-08T22:01:14.614Z" }, + { url = "https://files.pythonhosted.org/packages/a0/b7/a7a7042715d55c9ba6e8b196d65d2cb662578b4d8cd17d882d45322b0d78/tomli-2.3.0-cp312-cp312-win32.whl", hash = "sha256:ff72b71b5d10d22ecb084d345fc26f42b5143c5533db5e2eaba7d2d335358876", size = 97124, upload-time = "2025-10-08T22:01:15.629Z" }, + { url = "https://files.pythonhosted.org/packages/06/1e/f22f100db15a68b520664eb3328fb0ae4e90530887928558112c8d1f4515/tomli-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:1cb4ed918939151a03f33d4242ccd0aa5f11b3547d0cf30f7c74a408a5b99878", size = 107698, upload-time = "2025-10-08T22:01:16.51Z" }, + { url = "https://files.pythonhosted.org/packages/89/48/06ee6eabe4fdd9ecd48bf488f4ac783844fd777f547b8d1b61c11939974e/tomli-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5192f562738228945d7b13d4930baffda67b69425a7f0da96d360b0a3888136b", size = 154819, upload-time = "2025-10-08T22:01:17.964Z" }, + { url = "https://files.pythonhosted.org/packages/f1/01/88793757d54d8937015c75dcdfb673c65471945f6be98e6a0410fba167ed/tomli-2.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:be71c93a63d738597996be9528f4abe628d1adf5e6eb11607bc8fe1a510b5dae", size = 148766, upload-time = "2025-10-08T22:01:18.959Z" }, + { url = "https://files.pythonhosted.org/packages/42/17/5e2c956f0144b812e7e107f94f1cc54af734eb17b5191c0bbfb72de5e93e/tomli-2.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c4665508bcbac83a31ff8ab08f424b665200c0e1e645d2bd9ab3d3e557b6185b", size = 240771, upload-time = "2025-10-08T22:01:20.106Z" }, + { url = "https://files.pythonhosted.org/packages/d5/f4/0fbd014909748706c01d16824eadb0307115f9562a15cbb012cd9b3512c5/tomli-2.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4021923f97266babc6ccab9f5068642a0095faa0a51a246a6a02fccbb3514eaf", size = 248586, upload-time = "2025-10-08T22:01:21.164Z" }, + { url = "https://files.pythonhosted.org/packages/30/77/fed85e114bde5e81ecf9bc5da0cc69f2914b38f4708c80ae67d0c10180c5/tomli-2.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4ea38c40145a357d513bffad0ed869f13c1773716cf71ccaa83b0fa0cc4e42f", size = 244792, upload-time = "2025-10-08T22:01:22.417Z" }, + { url = "https://files.pythonhosted.org/packages/55/92/afed3d497f7c186dc71e6ee6d4fcb0acfa5f7d0a1a2878f8beae379ae0cc/tomli-2.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ad805ea85eda330dbad64c7ea7a4556259665bdf9d2672f5dccc740eb9d3ca05", size = 248909, upload-time = "2025-10-08T22:01:23.859Z" }, + { url = "https://files.pythonhosted.org/packages/f8/84/ef50c51b5a9472e7265ce1ffc7f24cd4023d289e109f669bdb1553f6a7c2/tomli-2.3.0-cp313-cp313-win32.whl", hash = "sha256:97d5eec30149fd3294270e889b4234023f2c69747e555a27bd708828353ab606", size = 96946, upload-time = "2025-10-08T22:01:24.893Z" }, + { url = "https://files.pythonhosted.org/packages/b2/b7/718cd1da0884f281f95ccfa3a6cc572d30053cba64603f79d431d3c9b61b/tomli-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:0c95ca56fbe89e065c6ead5b593ee64b84a26fca063b5d71a1122bf26e533999", size = 107705, upload-time = "2025-10-08T22:01:26.153Z" }, + { url = "https://files.pythonhosted.org/packages/19/94/aeafa14a52e16163008060506fcb6aa1949d13548d13752171a755c65611/tomli-2.3.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:cebc6fe843e0733ee827a282aca4999b596241195f43b4cc371d64fc6639da9e", size = 154244, upload-time = "2025-10-08T22:01:27.06Z" }, + { url = "https://files.pythonhosted.org/packages/db/e4/1e58409aa78eefa47ccd19779fc6f36787edbe7d4cd330eeeedb33a4515b/tomli-2.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:4c2ef0244c75aba9355561272009d934953817c49f47d768070c3c94355c2aa3", size = 148637, upload-time = "2025-10-08T22:01:28.059Z" }, + { url = "https://files.pythonhosted.org/packages/26/b6/d1eccb62f665e44359226811064596dd6a366ea1f985839c566cd61525ae/tomli-2.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c22a8bf253bacc0cf11f35ad9808b6cb75ada2631c2d97c971122583b129afbc", size = 241925, upload-time = "2025-10-08T22:01:29.066Z" }, + { url = "https://files.pythonhosted.org/packages/70/91/7cdab9a03e6d3d2bb11beae108da5bdc1c34bdeb06e21163482544ddcc90/tomli-2.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0eea8cc5c5e9f89c9b90c4896a8deefc74f518db5927d0e0e8d4a80953d774d0", size = 249045, upload-time = "2025-10-08T22:01:31.98Z" }, + { url = "https://files.pythonhosted.org/packages/15/1b/8c26874ed1f6e4f1fcfeb868db8a794cbe9f227299402db58cfcc858766c/tomli-2.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b74a0e59ec5d15127acdabd75ea17726ac4c5178ae51b85bfe39c4f8a278e879", size = 245835, upload-time = "2025-10-08T22:01:32.989Z" }, + { url = "https://files.pythonhosted.org/packages/fd/42/8e3c6a9a4b1a1360c1a2a39f0b972cef2cc9ebd56025168c4137192a9321/tomli-2.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b5870b50c9db823c595983571d1296a6ff3e1b88f734a4c8f6fc6188397de005", size = 253109, upload-time = "2025-10-08T22:01:34.052Z" }, + { url = "https://files.pythonhosted.org/packages/22/0c/b4da635000a71b5f80130937eeac12e686eefb376b8dee113b4a582bba42/tomli-2.3.0-cp314-cp314-win32.whl", hash = "sha256:feb0dacc61170ed7ab602d3d972a58f14ee3ee60494292d384649a3dc38ef463", size = 97930, upload-time = "2025-10-08T22:01:35.082Z" }, + { url = "https://files.pythonhosted.org/packages/b9/74/cb1abc870a418ae99cd5c9547d6bce30701a954e0e721821df483ef7223c/tomli-2.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:b273fcbd7fc64dc3600c098e39136522650c49bca95df2d11cf3b626422392c8", size = 107964, upload-time = "2025-10-08T22:01:36.057Z" }, + { url = "https://files.pythonhosted.org/packages/54/78/5c46fff6432a712af9f792944f4fcd7067d8823157949f4e40c56b8b3c83/tomli-2.3.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:940d56ee0410fa17ee1f12b817b37a4d4e4dc4d27340863cc67236c74f582e77", size = 163065, upload-time = "2025-10-08T22:01:37.27Z" }, + { url = "https://files.pythonhosted.org/packages/39/67/f85d9bd23182f45eca8939cd2bc7050e1f90c41f4a2ecbbd5963a1d1c486/tomli-2.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f85209946d1fe94416debbb88d00eb92ce9cd5266775424ff81bc959e001acaf", size = 159088, upload-time = "2025-10-08T22:01:38.235Z" }, + { url = "https://files.pythonhosted.org/packages/26/5a/4b546a0405b9cc0659b399f12b6adb750757baf04250b148d3c5059fc4eb/tomli-2.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a56212bdcce682e56b0aaf79e869ba5d15a6163f88d5451cbde388d48b13f530", size = 268193, upload-time = "2025-10-08T22:01:39.712Z" }, + { url = "https://files.pythonhosted.org/packages/42/4f/2c12a72ae22cf7b59a7fe75b3465b7aba40ea9145d026ba41cb382075b0e/tomli-2.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c5f3ffd1e098dfc032d4d3af5c0ac64f6d286d98bc148698356847b80fa4de1b", size = 275488, upload-time = "2025-10-08T22:01:40.773Z" }, + { url = "https://files.pythonhosted.org/packages/92/04/a038d65dbe160c3aa5a624e93ad98111090f6804027d474ba9c37c8ae186/tomli-2.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5e01decd096b1530d97d5d85cb4dff4af2d8347bd35686654a004f8dea20fc67", size = 272669, upload-time = "2025-10-08T22:01:41.824Z" }, + { url = "https://files.pythonhosted.org/packages/be/2f/8b7c60a9d1612a7cbc39ffcca4f21a73bf368a80fc25bccf8253e2563267/tomli-2.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:8a35dd0e643bb2610f156cca8db95d213a90015c11fee76c946aa62b7ae7e02f", size = 279709, upload-time = "2025-10-08T22:01:43.177Z" }, + { url = "https://files.pythonhosted.org/packages/7e/46/cc36c679f09f27ded940281c38607716c86cf8ba4a518d524e349c8b4874/tomli-2.3.0-cp314-cp314t-win32.whl", hash = "sha256:a1f7f282fe248311650081faafa5f4732bdbfef5d45fe3f2e702fbc6f2d496e0", size = 107563, upload-time = "2025-10-08T22:01:44.233Z" }, + { url = "https://files.pythonhosted.org/packages/84/ff/426ca8683cf7b753614480484f6437f568fd2fda2edbdf57a2d3d8b27a0b/tomli-2.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:70a251f8d4ba2d9ac2542eecf008b3c8a9fc5c3f9f02c56a9d7952612be2fdba", size = 119756, upload-time = "2025-10-08T22:01:45.234Z" }, + { url = "https://files.pythonhosted.org/packages/77/b8/0135fadc89e73be292b473cb820b4f5a08197779206b33191e801feeae40/tomli-2.3.0-py3-none-any.whl", hash = "sha256:e95b1af3c5b07d9e643909b5abbec77cd9f1217e6d0bca72b0234736b9fb1f1b", size = 14408, upload-time = "2025-10-08T22:01:46.04Z" }, +] + +[[package]] +name = "tomlkit" +version = "0.13.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cc/18/0bbf3884e9eaa38819ebe46a7bd25dcd56b67434402b66a58c4b8e552575/tomlkit-0.13.3.tar.gz", hash = "sha256:430cf247ee57df2b94ee3fbe588e71d362a941ebb545dec29b53961d61add2a1", size = 185207, upload-time = "2025-06-05T07:13:44.947Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bd/75/8539d011f6be8e29f339c42e633aae3cb73bffa95dd0f9adec09b9c58e85/tomlkit-0.13.3-py3-none-any.whl", hash = "sha256:c89c649d79ee40629a9fda55f8ace8c6a1b42deb912b2a8fd8d942ddadb606b0", size = 38901, upload-time = "2025-06-05T07:13:43.546Z" }, +] + +[[package]] +name = "typing-extensions" +version = "4.15.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391, upload-time = "2025-08-25T13:49:26.313Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" }, +] + +[[package]] +name = "typing-inspection" +version = "0.4.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" }, +]