Skip to content

Commit d4474da

Browse files
committed
more updates
1 parent aed8199 commit d4474da

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+588
-415
lines changed

.speakeasy/gen.lock

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: cfd52247-6a25-4c6d-bbce-fe6fce0cd69d
33
management:
4-
docChecksum: bcccd1abd05f6654a822386f2eefbd8a
4+
docChecksum: 01481f11e87a18cf1daa583fee2c88fb
55
docVersion: 1.0.0
66
speakeasyVersion: 1.666.0
77
generationVersion: 2.768.0
8-
releaseVersion: 0.0.16
9-
configChecksum: cd00e781b0ef78cfcb3fe812f51e93ff
8+
releaseVersion: 0.0.21
9+
configChecksum: 52c13d7fdf159611bf5d900363e322ac
1010
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
1212
published: true
@@ -66,16 +66,14 @@ generatedFiles:
6666
- docs/components/chatgenerationtokenusage.md
6767
- docs/components/chatmessagecontentitem.md
6868
- docs/components/chatmessagecontentitemaudio.md
69-
- docs/components/chatmessagecontentitemaudioformat.md
7069
- docs/components/chatmessagecontentitemaudioinputaudio.md
71-
- docs/components/chatmessagecontentitemfile.md
70+
- docs/components/chatmessagecontentitemcachecontrol.md
7271
- docs/components/chatmessagecontentitemimage.md
7372
- docs/components/chatmessagecontentitemimagedetail.md
7473
- docs/components/chatmessagecontentitemtext.md
7574
- docs/components/chatmessagecontentitemvideo.md
7675
- docs/components/chatmessagecontentitemvideoinputvideo.md
7776
- docs/components/chatmessagecontentitemvideovideourl.md
78-
- docs/components/chatmessagecontentitemvideovideourlvideourl.md
7977
- docs/components/chatmessagetokenlogprob.md
8078
- docs/components/chatmessagetokenlogprobs.md
8179
- docs/components/chatmessagetoolcall.md
@@ -108,19 +106,20 @@ generatedFiles:
108106
- docs/components/costdetails.md
109107
- docs/components/createchargerequest.md
110108
- docs/components/datacollection.md
109+
- docs/components/debug.md
111110
- docs/components/defaultparameters.md
112111
- docs/components/edgenetworktimeoutresponseerrordata.md
113112
- docs/components/effort.md
114113
- docs/components/endpointstatus.md
115114
- docs/components/engine.md
116-
- docs/components/file.md
117115
- docs/components/filecitation.md
118116
- docs/components/filecitationtype.md
119117
- docs/components/filepath.md
120118
- docs/components/filepathtype.md
121119
- docs/components/forbiddenresponseerrordata.md
122120
- docs/components/idfileparser.md
123121
- docs/components/idmoderation.md
122+
- docs/components/idresponsehealing.md
124123
- docs/components/idweb.md
125124
- docs/components/ignore.md
126125
- docs/components/imagegenerationstatus.md
@@ -304,6 +303,7 @@ generatedFiles:
304303
- docs/components/plugin.md
305304
- docs/components/pluginfileparser.md
306305
- docs/components/pluginmoderation.md
306+
- docs/components/pluginresponsehealing.md
307307
- docs/components/pluginweb.md
308308
- docs/components/pricing.md
309309
- docs/components/prompt.md
@@ -395,6 +395,7 @@ generatedFiles:
395395
- docs/components/toplogprob.md
396396
- docs/components/topproviderinfo.md
397397
- docs/components/truncation.md
398+
- docs/components/ttl.md
398399
- docs/components/type.md
399400
- docs/components/typeresponsecompleted.md
400401
- docs/components/typeresponsecontentpartadded.md
@@ -420,7 +421,8 @@ generatedFiles:
420421
- docs/components/usermessage.md
421422
- docs/components/usermessagecontent.md
422423
- docs/components/variables.md
423-
- docs/components/videourl.md
424+
- docs/components/videourl1.md
425+
- docs/components/videourl2.md
424426
- docs/components/websearchpreviewtooluserlocation.md
425427
- docs/components/websearchpreviewtooluserlocationtype.md
426428
- docs/components/websearchstatus.md
@@ -471,6 +473,7 @@ generatedFiles:
471473
- docs/operations/exchangeauthcodeforapikeycodechallengemethod.md
472474
- docs/operations/exchangeauthcodeforapikeyrequest.md
473475
- docs/operations/exchangeauthcodeforapikeyresponse.md
476+
- docs/operations/getcreditsdata.md
474477
- docs/operations/getcreditsresponse.md
475478
- docs/operations/getcurrentkeydata.md
476479
- docs/operations/getcurrentkeyresponse.md
@@ -553,12 +556,13 @@ generatedFiles:
553556
- src/openrouter/components/assistantmessage.py
554557
- src/openrouter/components/badgatewayresponseerrordata.py
555558
- src/openrouter/components/badrequestresponseerrordata.py
559+
- src/openrouter/components/chatcompletionfinishreason.py
556560
- src/openrouter/components/chaterror.py
557561
- src/openrouter/components/chatgenerationparams.py
558562
- src/openrouter/components/chatgenerationtokenusage.py
559563
- src/openrouter/components/chatmessagecontentitem.py
560564
- src/openrouter/components/chatmessagecontentitemaudio.py
561-
- src/openrouter/components/chatmessagecontentitemfile.py
565+
- src/openrouter/components/chatmessagecontentitemcachecontrol.py
562566
- src/openrouter/components/chatmessagecontentitemimage.py
563567
- src/openrouter/components/chatmessagecontentitemtext.py
564568
- src/openrouter/components/chatmessagecontentitemvideo.py
@@ -567,6 +571,7 @@ generatedFiles:
567571
- src/openrouter/components/chatmessagetoolcall.py
568572
- src/openrouter/components/chatresponse.py
569573
- src/openrouter/components/chatresponsechoice.py
574+
- src/openrouter/components/chatstreamingchoice.py
570575
- src/openrouter/components/chatstreamingmessagechunk.py
571576
- src/openrouter/components/chatstreamingmessagetoolcall.py
572577
- src/openrouter/components/chatstreamingresponsechunk.py
@@ -689,7 +694,6 @@ generatedFiles:
689694
- src/openrouter/components/unprocessableentityresponseerrordata.py
690695
- src/openrouter/components/urlcitation.py
691696
- src/openrouter/components/usermessage.py
692-
- src/openrouter/components/videourl.py
693697
- src/openrouter/components/websearchpreviewtooluserlocation.py
694698
- src/openrouter/components/websearchstatus.py
695699
- src/openrouter/credits.py
@@ -773,7 +777,7 @@ examples:
773777
createResponses:
774778
speakeasy-default-create-responses:
775779
requestBody:
776-
application/json: {"stream": false}
780+
application/json: {"store": false, "service_tier": "auto", "stream": false}
777781
responses:
778782
"200":
779783
application/json: {"id": "resp-abc123", "object": "response", "created_at": 1704067200, "model": "gpt-4", "output": [{"id": "msg-abc123", "role": "assistant", "type": "message", "content": [{"type": "output_text", "text": "Hello! How can I help you today?"}]}], "error": null, "incomplete_details": null, "temperature": null, "top_p": null, "instructions": null, "metadata": null, "tools": [], "tool_choice": "auto", "parallel_tool_calls": true}
@@ -823,7 +827,7 @@ examples:
823827
speakeasy-default-get-credits:
824828
responses:
825829
"200":
826-
application/json: {}
830+
application/json: {"data": {"total_credits": 100.5, "total_usage": 25.75}}
827831
"401":
828832
application/json: {"error": {"code": 401, "message": "Missing Authentication header"}}
829833
"403":

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ generation:
3131
skipResponseBodyAssertions: false
3232
preApplyUnionDiscriminators: true
3333
python:
34-
version: 0.0.16
34+
version: 0.0.21
3535
additionalDependencies:
3636
dev: {}
3737
main: {}

0 commit comments

Comments
 (0)