Skip to content

Commit d433ce3

Browse files
authored
chore: regenerate Python SDK with updated OpenAPI spec (#26)
2 parents 67ef52b + 61e5216 commit d433ce3

File tree

65 files changed

+2256
-494
lines changed

Some content is hidden

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

65 files changed

+2256
-494
lines changed

.claude/settings.local.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"permissions": {
33
"allow": [
4-
"Bash(python3:*)"
4+
"Bash(python3:*)",
5+
"Bash(git push:*)",
6+
"Bash(gh pr create:*)"
57
],
68
"deny": [],
79
"ask": []

.speakeasy/gen.lock

Lines changed: 31 additions & 13 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: 01481f11e87a18cf1daa583fee2c88fb
4+
docChecksum: e929ecf569d79ab96a315332a4855566
55
docVersion: 1.0.0
66
speakeasyVersion: 1.666.0
77
generationVersion: 2.768.0
8-
releaseVersion: 0.0.21
9-
configChecksum: 52c13d7fdf159611bf5d900363e322ac
8+
releaseVersion: 0.0.22
9+
configChecksum: 0afda3910a58a8d797ac6674fa858711
1010
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
1212
published: true
@@ -58,10 +58,22 @@ generatedFiles:
5858
- docs/components/chatcompletionfinishreason.md
5959
- docs/components/chaterrorerror.md
6060
- docs/components/chatgenerationparams.md
61+
- docs/components/chatgenerationparamsdatacollection.md
62+
- docs/components/chatgenerationparamsengine.md
63+
- docs/components/chatgenerationparamsmaxprice.md
64+
- docs/components/chatgenerationparamspdf.md
65+
- docs/components/chatgenerationparamspdfengine.md
66+
- docs/components/chatgenerationparamspluginfileparser.md
67+
- docs/components/chatgenerationparamspluginmoderation.md
68+
- docs/components/chatgenerationparamspluginresponsehealing.md
69+
- docs/components/chatgenerationparamspluginunion.md
70+
- docs/components/chatgenerationparamspluginweb.md
71+
- docs/components/chatgenerationparamsprovider.md
6172
- docs/components/chatgenerationparamsresponseformatjsonobject.md
6273
- docs/components/chatgenerationparamsresponseformatpython.md
6374
- docs/components/chatgenerationparamsresponseformattext.md
6475
- docs/components/chatgenerationparamsresponseformatunion.md
76+
- docs/components/chatgenerationparamsroute.md
6577
- docs/components/chatgenerationparamsstop.md
6678
- docs/components/chatgenerationtokenusage.md
6779
- docs/components/chatmessagecontentitem.md
@@ -111,7 +123,6 @@ generatedFiles:
111123
- docs/components/edgenetworktimeoutresponseerrordata.md
112124
- docs/components/effort.md
113125
- docs/components/endpointstatus.md
114-
- docs/components/engine.md
115126
- docs/components/filecitation.md
116127
- docs/components/filecitationtype.md
117128
- docs/components/filepath.md
@@ -130,7 +141,6 @@ generatedFiles:
130141
- docs/components/internalserverresponseerrordata.md
131142
- docs/components/jsonschemaconfig.md
132143
- docs/components/listendpointsresponse.md
133-
- docs/components/maxprice.md
134144
- docs/components/message.md
135145
- docs/components/messagecontent.md
136146
- docs/components/messagedeveloper.md
@@ -244,6 +254,17 @@ generatedFiles:
244254
- docs/components/openresponsesreasoningsummarytextdoneeventtype.md
245255
- docs/components/openresponsesreasoningtype.md
246256
- docs/components/openresponsesrequest.md
257+
- docs/components/openresponsesrequestengine.md
258+
- docs/components/openresponsesrequestmaxprice.md
259+
- docs/components/openresponsesrequestpdf.md
260+
- docs/components/openresponsesrequestpdfengine.md
261+
- docs/components/openresponsesrequestpluginfileparser.md
262+
- docs/components/openresponsesrequestpluginmoderation.md
263+
- docs/components/openresponsesrequestpluginresponsehealing.md
264+
- docs/components/openresponsesrequestpluginunion.md
265+
- docs/components/openresponsesrequestpluginweb.md
266+
- docs/components/openresponsesrequestprovider.md
267+
- docs/components/openresponsesrequestroute.md
247268
- docs/components/openresponsesrequesttoolfunction.md
248269
- docs/components/openresponsesrequesttoolunion.md
249270
- docs/components/openresponsesrequesttype.md
@@ -297,25 +318,18 @@ generatedFiles:
297318
- docs/components/part2.md
298319
- docs/components/payloadtoolargeresponseerrordata.md
299320
- docs/components/paymentrequiredresponseerrordata.md
300-
- docs/components/pdf.md
301-
- docs/components/pdfengine.md
302321
- docs/components/perrequestlimits.md
303-
- docs/components/plugin.md
304-
- docs/components/pluginfileparser.md
305-
- docs/components/pluginmoderation.md
306-
- docs/components/pluginresponsehealing.md
307-
- docs/components/pluginweb.md
308322
- docs/components/pricing.md
309323
- docs/components/prompt.md
310324
- docs/components/prompttokensdetails.md
311-
- docs/components/provider.md
312325
- docs/components/providername.md
313326
- docs/components/provideroverloadedresponseerrordata.md
314327
- docs/components/providersort.md
315328
- docs/components/publicendpoint.md
316329
- docs/components/publicendpointquantization.md
317330
- docs/components/publicpricing.md
318331
- docs/components/quantization.md
332+
- docs/components/quantizations.md
319333
- docs/components/reason.md
320334
- docs/components/reasoning.md
321335
- docs/components/reasoningsummarytext.md
@@ -379,9 +393,12 @@ generatedFiles:
379393
- docs/components/responseswebsearchuserlocationtype.md
380394
- docs/components/responsetextconfig.md
381395
- docs/components/responsetextconfigverbosity.md
396+
- docs/components/schema0.md
397+
- docs/components/schema0enum.md
382398
- docs/components/security.md
383399
- docs/components/servicetier.md
384400
- docs/components/serviceunavailableresponseerrordata.md
401+
- docs/components/sort.md
385402
- docs/components/streamoptions.md
386403
- docs/components/systemmessage.md
387404
- docs/components/systemmessagecontent.md
@@ -552,6 +569,7 @@ generatedFiles:
552569
- src/openrouter/chat.py
553570
- src/openrouter/completions.py
554571
- src/openrouter/components/__init__.py
572+
- src/openrouter/components/_schema0.py
555573
- src/openrouter/components/activityitem.py
556574
- src/openrouter/components/assistantmessage.py
557575
- src/openrouter/components/badgatewayresponseerrordata.py

.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.21
34+
version: 0.0.22
3535
additionalDependencies:
3636
dev: {}
3737
main: {}

0 commit comments

Comments
 (0)