Skip to content

Commit 0129319

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.1.11 (#556)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 846fac4 commit 0129319

18 files changed

Lines changed: 228 additions & 72 deletions

‎.speakeasy/gen.lock‎

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: c48cf606-fb42-4a45-9c23-8f0555307828
33
management:
4-
docChecksum: dc7b28650f4b75a64b994dc8d9426192
4+
docChecksum: a1446b873bd87da38239da96fef30136
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.10
9-
configChecksum: 0fb15d23c07ed7613621e9c5d0e13c7a
8+
releaseVersion: 1.1.11
9+
configChecksum: 9d5c81b4e0fe110544c084f1cf1dc5b1
1010
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
1212
published: true
1313
persistentEdits:
14-
generation_id: 432a09a5-fa48-4bd0-87d1-85bcfe29a104
15-
pristine_commit_hash: 61118dc79015705a356aa88189a1d052da5bf0f3
16-
pristine_tree_hash: 42b6d08626e66fd5679709e8e4edbfaff1368c6e
14+
generation_id: 89695304-a652-4c57-99fb-18d5cfc8d261
15+
pristine_commit_hash: 90a6fb17bc6a68cd7604ec4b9273c4149a97540a
16+
pristine_tree_hash: 5efbf62418627973246e3d236e6dc09685a28f8f
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -618,16 +618,24 @@ trackedFiles:
618618
pristine_git_object: ef98b1de499df79940ccacaf5da0be2d635b104e
619619
docs/components/autobetarouterplugin.mdx:
620620
id: 036f0e51d7c9
621-
last_write_checksum: sha1:07c3279c2b32711a088fefd3f60699ebc4235cf3
622-
pristine_git_object: d70f386636c456a081d4c4a147b01b2589e8ad03
621+
last_write_checksum: sha1:b0a06e90eb11a8f9bd1642fdf2fe5b4d869a61b0
622+
pristine_git_object: 7ea7dc96f10b916ab31732304345774a14cea3a4
623+
docs/components/autobetarouterplugincosttier.mdx:
624+
id: b56ac3529805
625+
last_write_checksum: sha1:f5e869ca0629601f0367ca1e5614bb1d1f58f70f
626+
pristine_git_object: b2e319282c4ebbb4eb7eb01115c54021916e287e
623627
docs/components/autobetarouterpluginid.mdx:
624628
id: 619eb7d92a83
625629
last_write_checksum: sha1:47b80552a64dbc3dc37421630fddf931ffe5c795
626630
pristine_git_object: 800b8e4a3fd07f10592e3ee8f9c15c7e57398d4c
627631
docs/components/autorouterplugin.mdx:
628632
id: 4d62f9b36bc2
629-
last_write_checksum: sha1:74e39d385a2b96ab03d37f959364510eaaae2489
630-
pristine_git_object: 305de1b54cded7b2bf8290f0595bc35fb24ddc02
633+
last_write_checksum: sha1:027e227fad90f65f2ea67900e94ab3a0b30bf624
634+
pristine_git_object: 26f69ea544dd6e91a579e0c7b54e30045ed138f1
635+
docs/components/autorouterplugincosttier.mdx:
636+
id: 72049c1ccaf4
637+
last_write_checksum: sha1:88c357901d1b51ef575f21ee957f6aa16bba7b83
638+
pristine_git_object: 77c913f91b03aefe7f6997bb588080a84960b777
631639
docs/components/autorouterpluginid.mdx:
632640
id: ea9862a88ce8
633641
last_write_checksum: sha1:51d6cd6296501209ebc8b721adb3feadeb798f9a
@@ -6794,8 +6802,8 @@ trackedFiles:
67946802
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
67956803
pyproject.toml:
67966804
id: 5d07e7d72637
6797-
last_write_checksum: sha1:d814adb88a8e2c7c5168a931c03704ea9ce69ade
6798-
pristine_git_object: c9a345fd0ef4d7fd00fb3e382936627f6cd3241f
6805+
last_write_checksum: sha1:68887cf7196f5c439b739b25497108f729e92089
6806+
pristine_git_object: 9ad37b87b230c9153a126f25cb27597e10faac3a
67996807
scripts/prepare_readme.py:
68006808
id: e0c5957a6035
68016809
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -6822,8 +6830,8 @@ trackedFiles:
68226830
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
68236831
src/openrouter/_version.py:
68246832
id: d8d15ad6c586
6825-
last_write_checksum: sha1:806800cec67125a989b20b50152ebd9de3d0105e
6826-
pristine_git_object: fe2edf4a9a3c2f7defcd6068df34488aedbe50de
6833+
last_write_checksum: sha1:7881d7cb60e4ba8017a87fdd070b6b4ebd5f81e6
6834+
pristine_git_object: 3d3b3319338c4ded93b69642770503f11927bff5
68276835
src/openrouter/analytics.py:
68286836
id: cb406b5aaabb
68296837
last_write_checksum: sha1:9e709b71dd0611056dc0cec6150b578defe32841
@@ -6866,8 +6874,8 @@ trackedFiles:
68666874
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
68676875
src/openrouter/components/__init__.py:
68686876
id: 81754e97b3f4
6869-
last_write_checksum: sha1:03132ec935a4e444eab14cb18e268fb77e3b6d08
6870-
pristine_git_object: 1a1bea47e675fbde39b1b72e7b42ef04b2025a54
6877+
last_write_checksum: sha1:c926cc7209a972eafc02ee0697c8c4664131a44d
6878+
pristine_git_object: 10eb82a8be06db9cf72d7169b2f82317e29f53a6
68716879
src/openrouter/components/aabenchmarkentry.py:
68726880
id: e2e0f0b48c82
68736881
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -7122,12 +7130,12 @@ trackedFiles:
71227130
pristine_git_object: 2ccc3d9be586133e5d5138c77eacefa243987fb5
71237131
src/openrouter/components/autobetarouterplugin.py:
71247132
id: bb4119e5d4dc
7125-
last_write_checksum: sha1:4eb9e7bcfe488da3974e5d3f8ef8e05091cfa6f1
7126-
pristine_git_object: 56c32d14e00e66f5415c9ea0d503503f7925d62b
7133+
last_write_checksum: sha1:bf7b506b33df81da887af6f0ca009cfcebe1d52a
7134+
pristine_git_object: 1388c23edecbd1779145112533aa79503887d9d1
71277135
src/openrouter/components/autorouterplugin.py:
71287136
id: cf49add5d1ae
7129-
last_write_checksum: sha1:4d0e56867780d5b238a8c37378fa53db80c42e69
7130-
pristine_git_object: db933a4a1660b5ed5b94167b980e296080f10672
7137+
last_write_checksum: sha1:5dcdc4c9001dc06fc6859e865735ed975ac2f29e
7138+
pristine_git_object: 077c2a1ee3d255605f19ff48a71c474d7a354de4
71317139
src/openrouter/components/badgatewayresponseerrordata.py:
71327140
id: f7a33d30d269
71337141
last_write_checksum: sha1:d85ab25a06594703cb353767f07f4e1d44e0181c
@@ -7326,8 +7334,8 @@ trackedFiles:
73267334
pristine_git_object: 8bbde153b53887e426989fd5b0486b6dc1122810
73277335
src/openrouter/components/chatrequest.py:
73287336
id: 5e39eaefa9cf
7329-
last_write_checksum: sha1:c1a5ce1daa8973042113ff59f08aca13ed4df8fa
7330-
pristine_git_object: ef954b6c9ecef144e14c16f5b414640cb9c81f11
7337+
last_write_checksum: sha1:e4acd632bcc5fe672d244e84bf2d849ddb0f6a98
7338+
pristine_git_object: c0e21ad130468e74758749193f0a6210fb6454cd
73317339
src/openrouter/components/chatresult.py:
73327340
id: 9062fe2935fe
73337341
last_write_checksum: sha1:2ff1963c54e7e79500115c8549c8d395f4e336d1
@@ -8074,8 +8082,8 @@ trackedFiles:
80748082
pristine_git_object: 7e69d1f775baece5f94b03d35bcd884d5e6f519d
80758083
src/openrouter/components/messagesrequest.py:
80768084
id: 72b1f339024d
8077-
last_write_checksum: sha1:69d731617a67a0d262bb647f6ee35cfc0bdc7827
8078-
pristine_git_object: 083d56730e0686ca08a6e13979d912d30f2682d4
8085+
last_write_checksum: sha1:c07e0a032be800d1e3fdab79f0aca4b4cb5e465e
8086+
pristine_git_object: 516c30ac13e88999dbdf6e63afcf00da8d63c337
80798087
src/openrouter/components/messagessearchmodelsservertool.py:
80808088
id: 53d755edb120
80818089
last_write_checksum: sha1:389786fc22ba4bb47b0a086b7aa321f2f04fe943
@@ -8702,8 +8710,8 @@ trackedFiles:
87028710
pristine_git_object: f38c8edcb616d9e7cbd0f724fbb9d9f5aae014f9
87038711
src/openrouter/components/responsesrequest.py:
87048712
id: 8c850080ec5d
8705-
last_write_checksum: sha1:55ff8b1195c9d9c7deb522719f37a41fd0b15f10
8706-
pristine_git_object: 0c49df2a87f8403a07d277ed8b64a995c6ea8466
8713+
last_write_checksum: sha1:17b9e65fa563b3a73b7a36ddc8bae1f905b7bfe0
8714+
pristine_git_object: 8c9b4fa1a1a58d4c09bb56af4098e86438e571b2
87078715
src/openrouter/components/responsesstreamingresponse.py:
87088716
id: 142379f3bd90
87098717
last_write_checksum: sha1:a48d6f3610f5d15248ef4d25a0d88a0a4a1a9db7
@@ -11329,4 +11337,4 @@ examples:
1132911337
"500":
1133011338
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1133111339
examplesVersion: 1.0.2
11332-
releaseNotes: "## Python SDK Changes:\n* `open_router.guardrails.list()`: `response.data[]` **Changed**\n* `open_router.guardrails.create()`: \n * `request` **Changed**\n * `response.data` **Changed**\n* `open_router.guardrails.get()`: `response.data` **Changed**\n* `open_router.guardrails.update()`: \n * `request` **Changed**\n * `response.data` **Changed**\n"
11340+
releaseNotes: "## Python SDK Changes:\n* `open_router.beta.responses.send()`: \n * `request.plugins[]` **Changed**\n* `open_router.chat.send()`: \n * `request.plugins[]` **Changed**\n* `open_router.presets.create_presets_chat_completions()`: \n * `request.plugins[]` **Changed**\n* `open_router.presets.create_presets_messages()`: \n * `request.plugins[]` **Changed**\n* `open_router.presets.create_presets_responses()`: \n * `request.plugins[]` **Changed**\n* `open_router.responses.send()`: \n * `request.plugins[]` **Changed**\n"

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ generation:
3636
documentation: mintlify
3737
preApplyUnionDiscriminators: true
3838
python:
39-
version: 1.1.10
39+
version: 1.1.11
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2871,7 +2871,7 @@ components:
28712871
allowed_models:
28722872
- 'anthropic/*'
28732873
- 'openai/gpt-4o'
2874-
cost_quality_tradeoff: 9
2874+
cost_tier: 'low'
28752875
enabled: true
28762876
id: 'auto-beta-router'
28772877
properties:
@@ -2885,11 +2885,23 @@ components:
28852885
type: 'string'
28862886
type: 'array'
28872887
cost_quality_tradeoff:
2888-
description: 'Balances routing between cost and quality on a 0-10 scale. The auto-beta-router ranks models for the classified task type by community spend share, then filters candidates by their average cost per generation for that task. Higher values favor cheaper models: 10 keeps only models around the cheapest 10th percentile, while 0 permits models up to the 90th percentile for cost. Defaults to 9.'
2888+
deprecated: true
2889+
description: 'Deprecated: Use cost_tier instead. Balances routing between cost and quality on a 0-10 scale. The auto-beta-router ranks models for the classified task type by community spend share, then filters candidates by their average cost per generation for that task. Higher values favor cheaper models: 10 keeps only models around the cheapest 10th percentile, while 0 permits models up to the 90th percentile for cost. Defaults to 9. Numeric cost_quality_tradeoff remains supported, retains ceiling behavior, and takes precedence over cost_tier when both are provided.'
28892890
example: 9
28902891
maximum: 10
28912892
minimum: 0
28922893
type: 'integer'
2894+
cost_tier:
2895+
description: 'Named cost/quality setting. For auto-beta-router, tiers select cost-percentile bands: low = [0, 20), medium = [20, 40), high = [40, 60), xhigh = [60, 80), and max = [80, 100]. Numeric cost_quality_tradeoff takes precedence and retains ceiling behavior.'
2896+
enum:
2897+
- 'low'
2898+
- 'medium'
2899+
- 'high'
2900+
- 'xhigh'
2901+
- 'max'
2902+
example: 'low'
2903+
type: 'string'
2904+
x-speakeasy-unknown-values: allow
28932905
enabled:
28942906
description: 'Set to false to disable the auto-beta-router plugin for this request. Defaults to true.'
28952907
type: 'boolean'
@@ -2905,7 +2917,7 @@ components:
29052917
allowed_models:
29062918
- 'anthropic/*'
29072919
- 'openai/gpt-4o'
2908-
cost_quality_tradeoff: 7
2920+
cost_tier: 'medium'
29092921
enabled: true
29102922
id: 'auto-router'
29112923
pin_model: false
@@ -2920,11 +2932,23 @@ components:
29202932
type: 'string'
29212933
type: 'array'
29222934
cost_quality_tradeoff:
2923-
description: 'Controls cost vs. quality routing tradeoff (0–10). 0 = pure quality (best model regardless of cost), 10 = maximize for cost (cheapest model wins). Intermediate values blend quality and cost signals continuously. Defaults to 7.'
2935+
deprecated: true
2936+
description: 'Deprecated: Use cost_tier instead. Controls cost vs. quality routing tradeoff (0–10). 0 = pure quality (best model regardless of cost), 10 = maximize for cost (cheapest model wins). Intermediate values blend quality and cost signals continuously. Defaults to 7. Numeric cost_quality_tradeoff remains supported and takes precedence over cost_tier when both are provided.'
29242937
example: 7
29252938
maximum: 10
29262939
minimum: 0
29272940
type: 'integer'
2941+
cost_tier:
2942+
description: 'Shorthand for cost_quality_tradeoff. Higher tiers spend more on better models: low = 9, medium = 7, high = 5, xhigh = 3, and max = 1. Numeric cost_quality_tradeoff takes precedence when both are provided.'
2943+
enum:
2944+
- 'low'
2945+
- 'medium'
2946+
- 'high'
2947+
- 'xhigh'
2948+
- 'max'
2949+
example: 'medium'
2950+
type: 'string'
2951+
x-speakeasy-unknown-values: allow
29282952
enabled:
29292953
description: 'Set to false to disable the auto-router plugin for this request. Defaults to true.'
29302954
type: 'boolean'

‎.speakeasy/workflow.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:6f41b4fc5146523ef9ffe5907d1de58a3d5bf3a7a52f333ca6bd215079f0b6ab
6-
sourceBlobDigest: sha256:d636342ceccb904cee7648a4bafba3ce7c272b6e05f59a1e0073191f4e7c0a23
5+
sourceRevisionDigest: sha256:3463c7642dac4e0be5ab491342c923d203bec99aaf8f09d978a8773f66aa858f
6+
sourceBlobDigest: sha256:bcf0c7b7716d4ac425c204f04dd3b60a1631a628c87100bdf8171db17ef44797
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
open-router:
1212
source: OpenRouter API
1313
sourceNamespace: open-router-chat-completions-api
14-
sourceRevisionDigest: sha256:6f41b4fc5146523ef9ffe5907d1de58a3d5bf3a7a52f333ca6bd215079f0b6ab
15-
sourceBlobDigest: sha256:d636342ceccb904cee7648a4bafba3ce7c272b6e05f59a1e0073191f4e7c0a23
14+
sourceRevisionDigest: sha256:3463c7642dac4e0be5ab491342c923d203bec99aaf8f09d978a8773f66aa858f
15+
sourceBlobDigest: sha256:bcf0c7b7716d4ac425c204f04dd3b60a1631a628c87100bdf8171db17ef44797
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:120f53668535c593d17783ebb8f66d4c5e44f195df21d8b9aba07767049ad535
17+
codeSamplesRevisionDigest: sha256:0406a0924db3ccfe1fae98f1ee09cfe42acca15d228dfa66c818e954b61a79bf
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.787.0

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,4 +899,14 @@ Based on:
899899
### Generated
900900
- [python v1.1.10] .
901901
### Releases
902-
- [PyPI v1.1.10] https://pypi.org/project/openrouter/1.1.10 - .
902+
- [PyPI v1.1.10] https://pypi.org/project/openrouter/1.1.10 - .
903+
904+
## 2026-07-28 23:05:11
905+
### Changes
906+
Based on:
907+
- OpenAPI Doc
908+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
909+
### Generated
910+
- [python v1.1.11] .
911+
### Releases
912+
- [PyPI v1.1.11] https://pypi.org/project/openrouter/1.1.11 - .

0 commit comments

Comments
 (0)