Skip to content

Commit 36bb615

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

15 files changed

Lines changed: 91 additions & 42 deletions

‎.speakeasy/gen.lock‎

Lines changed: 25 additions & 25 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: f376da798e7da872235aa5d701d44cc9
4+
docChecksum: c1532f25a6a4baf4638964bf1c7d3db0
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.14
9-
configChecksum: 3ef05474b12cc53e1a3ae46ff5ad9b08
8+
releaseVersion: 1.1.15
9+
configChecksum: c0ca7be4e27bf65e22e0ad9cc03e31be
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: 3ac0f10f-604c-4804-ab9f-5f791660887f
15-
pristine_commit_hash: 0f9f0e731cec2dafd65c32bdd6f2be26abc8dbd7
16-
pristine_tree_hash: 804bdcd14f457289952f01d4b6ffe1395688ca8b
14+
generation_id: 310923b3-d9ca-40aa-91a3-0f38a4003c85
15+
pristine_commit_hash: d7c2b5ba344c412c3b3fd436cf905a049c1398cb
16+
pristine_tree_hash: 64340937870a67ae71e0ec76d4aac09506741453
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -650,8 +650,8 @@ trackedFiles:
650650
pristine_git_object: ef98b1de499df79940ccacaf5da0be2d635b104e
651651
docs/components/autobetarouterplugin.mdx:
652652
id: 036f0e51d7c9
653-
last_write_checksum: sha1:b0a06e90eb11a8f9bd1642fdf2fe5b4d869a61b0
654-
pristine_git_object: 7ea7dc96f10b916ab31732304345774a14cea3a4
653+
last_write_checksum: sha1:f69a1c5c8d69de1c36b710fca3b5f34e7d2ddbf4
654+
pristine_git_object: 0ad5b6f463784919f5b9b1d0946de05e02a91ab1
655655
docs/components/autobetarouterplugincosttier.mdx:
656656
id: b56ac3529805
657657
last_write_checksum: sha1:f5e869ca0629601f0367ca1e5614bb1d1f58f70f
@@ -662,8 +662,8 @@ trackedFiles:
662662
pristine_git_object: 800b8e4a3fd07f10592e3ee8f9c15c7e57398d4c
663663
docs/components/autorouterplugin.mdx:
664664
id: 4d62f9b36bc2
665-
last_write_checksum: sha1:027e227fad90f65f2ea67900e94ab3a0b30bf624
666-
pristine_git_object: 26f69ea544dd6e91a579e0c7b54e30045ed138f1
665+
last_write_checksum: sha1:1e62c64377f4f961f678ef7da29d14cb80f0bb48
666+
pristine_git_object: 5e2e372cdebdae0ce6f6758ed7656517b15a173d
667667
docs/components/autorouterplugincosttier.mdx:
668668
id: 72049c1ccaf4
669669
last_write_checksum: sha1:88c357901d1b51ef575f21ee957f6aa16bba7b83
@@ -6926,8 +6926,8 @@ trackedFiles:
69266926
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
69276927
pyproject.toml:
69286928
id: 5d07e7d72637
6929-
last_write_checksum: sha1:ac37c31e9dbc6f587cd51437e2106cccaff80954
6930-
pristine_git_object: 948b23ed9da20606fd1d4998523e137dcc4ad434
6929+
last_write_checksum: sha1:564376f6181c036db9abe535dce0ca6a0a31c267
6930+
pristine_git_object: e25b6b7808f22678436c3d7cab08018cef1d43d0
69316931
scripts/prepare_readme.py:
69326932
id: e0c5957a6035
69336933
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -6954,8 +6954,8 @@ trackedFiles:
69546954
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
69556955
src/openrouter/_version.py:
69566956
id: d8d15ad6c586
6957-
last_write_checksum: sha1:707448bafc2810674f0df17ff50e48540b9ed587
6958-
pristine_git_object: 94318b0151291065184cb13c1ad612d116b0cf30
6957+
last_write_checksum: sha1:ac930f4d2fe85067df84995c978fedf2f3c75275
6958+
pristine_git_object: c24b55302afdb3ff702355d6fa529036e1619489
69596959
src/openrouter/analytics.py:
69606960
id: cb406b5aaabb
69616961
last_write_checksum: sha1:9e709b71dd0611056dc0cec6150b578defe32841
@@ -7266,12 +7266,12 @@ trackedFiles:
72667266
pristine_git_object: 2ccc3d9be586133e5d5138c77eacefa243987fb5
72677267
src/openrouter/components/autobetarouterplugin.py:
72687268
id: bb4119e5d4dc
7269-
last_write_checksum: sha1:bf7b506b33df81da887af6f0ca009cfcebe1d52a
7270-
pristine_git_object: 1388c23edecbd1779145112533aa79503887d9d1
7269+
last_write_checksum: sha1:9a7b53ebff8cffc9c9bb0e91380c7bf450978ad5
7270+
pristine_git_object: e1ae76a7b02d866e99ec3a58dbd8d01d786b65dd
72717271
src/openrouter/components/autorouterplugin.py:
72727272
id: cf49add5d1ae
7273-
last_write_checksum: sha1:5dcdc4c9001dc06fc6859e865735ed975ac2f29e
7274-
pristine_git_object: 077c2a1ee3d255605f19ff48a71c474d7a354de4
7273+
last_write_checksum: sha1:63f3397389da14c253bdda100e1984c4f5556efb
7274+
pristine_git_object: 414a9ca4bcd0783e976ca6834132d002a696d5d6
72757275
src/openrouter/components/badgatewayresponseerrordata.py:
72767276
id: f7a33d30d269
72777277
last_write_checksum: sha1:d85ab25a06594703cb353767f07f4e1d44e0181c
@@ -7470,8 +7470,8 @@ trackedFiles:
74707470
pristine_git_object: 8bbde153b53887e426989fd5b0486b6dc1122810
74717471
src/openrouter/components/chatrequest.py:
74727472
id: 5e39eaefa9cf
7473-
last_write_checksum: sha1:e4acd632bcc5fe672d244e84bf2d849ddb0f6a98
7474-
pristine_git_object: c0e21ad130468e74758749193f0a6210fb6454cd
7473+
last_write_checksum: sha1:532d58899ab40cdd4421fefe53f9869efea88d31
7474+
pristine_git_object: 019097cb212ad6452fdf081e050f473e954378ad
74757475
src/openrouter/components/chatresult.py:
74767476
id: 9062fe2935fe
74777477
last_write_checksum: sha1:2ff1963c54e7e79500115c8549c8d395f4e336d1
@@ -8222,8 +8222,8 @@ trackedFiles:
82228222
pristine_git_object: 7e69d1f775baece5f94b03d35bcd884d5e6f519d
82238223
src/openrouter/components/messagesrequest.py:
82248224
id: 72b1f339024d
8225-
last_write_checksum: sha1:c07e0a032be800d1e3fdab79f0aca4b4cb5e465e
8226-
pristine_git_object: 516c30ac13e88999dbdf6e63afcf00da8d63c337
8225+
last_write_checksum: sha1:07a8582c3781e2adb8e5a897c8b4c5899b0acc39
8226+
pristine_git_object: 112dcbe2a609222d42ae3cd50b29cae0c979d0fa
82278227
src/openrouter/components/messagessearchmodelsservertool.py:
82288228
id: 53d755edb120
82298229
last_write_checksum: sha1:389786fc22ba4bb47b0a086b7aa321f2f04fe943
@@ -8878,8 +8878,8 @@ trackedFiles:
88788878
pristine_git_object: f38c8edcb616d9e7cbd0f724fbb9d9f5aae014f9
88798879
src/openrouter/components/responsesrequest.py:
88808880
id: 8c850080ec5d
8881-
last_write_checksum: sha1:17b9e65fa563b3a73b7a36ddc8bae1f905b7bfe0
8882-
pristine_git_object: 8c9b4fa1a1a58d4c09bb56af4098e86438e571b2
8881+
last_write_checksum: sha1:2876781a678e033493f84e46229312bd754bc218
8882+
pristine_git_object: ddd09755746c6b38305db3706b16af7187d6d646
88838883
src/openrouter/components/responsesstreamingresponse.py:
88848884
id: 142379f3bd90
88858885
last_write_checksum: sha1:a48d6f3610f5d15248ef4d25a0d88a0a4a1a9db7
@@ -11537,4 +11537,4 @@ examples:
1153711537
"500":
1153811538
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1153911539
examplesVersion: 1.0.2
11540-
releaseNotes: "## Python SDK Changes:\n* `open_router.embeddings.list_models()`: `response.data[].alias_target` **Added**\n* `open_router.models.get()`: `response.data.alias_target` **Added**\n* `open_router.models.list()`: `response.data[].alias_target` **Added**\n* `open_router.models.list_for_user()`: `response.data[].alias_target` **Added**\n* `open_router.workspaces.list()`: `response.data[].include_byok_in_budgets` **Added**\n* `open_router.workspaces.create()`: `response.data.include_byok_in_budgets` **Added**\n* `open_router.workspaces.get()`: `response.data.include_byok_in_budgets` **Added**\n* `open_router.workspaces.update()`: `response.data.include_byok_in_budgets` **Added**\n* `open_router.workspaces.list_budgets()`: `response.include_byok_in_budgets` **Added**\n* `open_router.workspaces.set_budget()`: \n * `request.include_byok_in_budgets` **Added**\n * `response.include_byok_in_budgets` **Added**\n"
11540+
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.14
39+
version: 1.1.15
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2968,9 +2968,11 @@ components:
29682968
example:
29692969
allowed_models:
29702970
- 'anthropic/*'
2971-
- 'openai/gpt-4o'
2971+
- 'openai/*'
29722972
cost_tier: 'low'
29732973
enabled: true
2974+
excluded_models:
2975+
- 'openai/gpt-4o'
29742976
id: 'auto-beta-router'
29752977
properties:
29762978
allowed_models:
@@ -3003,6 +3005,14 @@ components:
30033005
enabled:
30043006
description: 'Set to false to disable the auto-beta-router plugin for this request. Defaults to true.'
30053007
type: 'boolean'
3008+
excluded_models:
3009+
description: 'List of model patterns to exclude from auto-beta-router selection. Supports wildcards (e.g., "meta-llama/*" excludes all Llama models). Applied after allowed_models, so an excluded pattern always wins over an allowed one.'
3010+
example:
3011+
- 'openai/gpt-4o'
3012+
- 'meta-llama/*'
3013+
items:
3014+
type: 'string'
3015+
type: 'array'
30063016
id:
30073017
enum:
30083018
- 'auto-beta-router'
@@ -3014,9 +3024,11 @@ components:
30143024
example:
30153025
allowed_models:
30163026
- 'anthropic/*'
3017-
- 'openai/gpt-4o'
3027+
- 'openai/*'
30183028
cost_tier: 'medium'
30193029
enabled: true
3030+
excluded_models:
3031+
- 'openai/gpt-4o'
30203032
id: 'auto-router'
30213033
pin_model: false
30223034
properties:
@@ -3050,6 +3062,14 @@ components:
30503062
enabled:
30513063
description: 'Set to false to disable the auto-router plugin for this request. Defaults to true.'
30523064
type: 'boolean'
3065+
excluded_models:
3066+
description: 'List of model patterns to exclude from auto-router selection. Supports wildcards (e.g., "meta-llama/*" excludes all Llama models). Applied after allowed_models, so an excluded pattern always wins over an allowed one.'
3067+
example:
3068+
- 'openai/gpt-4o'
3069+
- 'meta-llama/*'
3070+
items:
3071+
type: 'string'
3072+
type: 'array'
30533073
id:
30543074
enum:
30553075
- 'auto-router'

‎.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:d65897ade8223dfa917d14eb82bec1bfcd4480ab76170619946205ce224de80c
6-
sourceBlobDigest: sha256:4ae6c80d625ff2d504f1c84a56e92f3e9c9cc369ecdd89152b954ec6b238e12b
5+
sourceRevisionDigest: sha256:8a15f41bd0173a54c0dd96daeb896baa4d6ee1f039af2d853865a377c64e9490
6+
sourceBlobDigest: sha256:b1c6c6ec7be42f515bad45f8df35ac79cd759825f46a88f53f7a1ef199f3c47b
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:d65897ade8223dfa917d14eb82bec1bfcd4480ab76170619946205ce224de80c
15-
sourceBlobDigest: sha256:4ae6c80d625ff2d504f1c84a56e92f3e9c9cc369ecdd89152b954ec6b238e12b
14+
sourceRevisionDigest: sha256:8a15f41bd0173a54c0dd96daeb896baa4d6ee1f039af2d853865a377c64e9490
15+
sourceBlobDigest: sha256:b1c6c6ec7be42f515bad45f8df35ac79cd759825f46a88f53f7a1ef199f3c47b
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:c69840b41de3374efaa32f4f0093f61a712d09adb31dd6a123fba573700e53da
17+
codeSamplesRevisionDigest: sha256:eb2c675ec9330d364532ee8143943dfe297c65c6ad7fc1b4b29b802fe2a8eb8e
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
@@ -939,4 +939,14 @@ Based on:
939939
### Generated
940940
- [python v1.1.14] .
941941
### Releases
942-
- [PyPI v1.1.14] https://pypi.org/project/openrouter/1.1.14 - .
942+
- [PyPI v1.1.14] https://pypi.org/project/openrouter/1.1.14 - .
943+
944+
## 2026-07-29 21:40:23
945+
### Changes
946+
Based on:
947+
- OpenAPI Doc
948+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
949+
### Generated
950+
- [python v1.1.15] .
951+
### Releases
952+
- [PyPI v1.1.15] https://pypi.org/project/openrouter/1.1.15 - .

0 commit comments

Comments
 (0)