Skip to content

Commit 2135f0a

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.787.0
1 parent ed0643f commit 2135f0a

14 files changed

Lines changed: 85 additions & 75 deletions

‎.speakeasy/gen.lock‎

Lines changed: 22 additions & 22 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: cf4f2577fb6aa3e9b6c9749ea7a11b7a
4+
docChecksum: 8ede64aad6d17e4f87c4b39ce933ada2
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.38
9-
configChecksum: 852b26b5c60d1a2e7881165023644389
8+
releaseVersion: 1.1.39
9+
configChecksum: 7f9824cc3197d73cf65c172ce031d036
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: 68678169-ef2a-428f-be67-92b8f3fd798d
15-
pristine_commit_hash: 516d29e2b74ee99293e1396768864268fe069aed
16-
pristine_tree_hash: c10e55b58ee70ce7d19bfc7581098cd04d82f7b2
14+
generation_id: 48616d01-e54c-4095-8f95-f422376258d5
15+
pristine_commit_hash: 7ac7061ac11b14ce0a8b53e9cf88dbf29c3a4727
16+
pristine_tree_hash: e3f44e92e87d7b7bddc0a758a6e35aaedf9a2bfb
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -650,24 +650,24 @@ trackedFiles:
650650
pristine_git_object: ef98b1de499df79940ccacaf5da0be2d635b104e
651651
docs/components/autobetarouterplugin.mdx:
652652
id: 036f0e51d7c9
653-
last_write_checksum: sha1:f69a1c5c8d69de1c36b710fca3b5f34e7d2ddbf4
654-
pristine_git_object: 0ad5b6f463784919f5b9b1d0946de05e02a91ab1
653+
last_write_checksum: sha1:94f02925c23cb90fe0b3532357c8d706d99388fb
654+
pristine_git_object: dd8c11875eb91ee521e3c8dbd01351c88b462501
655655
docs/components/autobetarouterplugincosttier.mdx:
656656
id: b56ac3529805
657-
last_write_checksum: sha1:f5e869ca0629601f0367ca1e5614bb1d1f58f70f
658-
pristine_git_object: b2e319282c4ebbb4eb7eb01115c54021916e287e
657+
last_write_checksum: sha1:6c9910aa8bbd3d32206e3a30baa0a9d1d7d78844
658+
pristine_git_object: 201351d70b5c298e8e64f52048b89ad0bd261cd7
659659
docs/components/autobetarouterpluginid.mdx:
660660
id: 619eb7d92a83
661661
last_write_checksum: sha1:47b80552a64dbc3dc37421630fddf931ffe5c795
662662
pristine_git_object: 800b8e4a3fd07f10592e3ee8f9c15c7e57398d4c
663663
docs/components/autorouterplugin.mdx:
664664
id: 4d62f9b36bc2
665-
last_write_checksum: sha1:1e62c64377f4f961f678ef7da29d14cb80f0bb48
666-
pristine_git_object: 5e2e372cdebdae0ce6f6758ed7656517b15a173d
665+
last_write_checksum: sha1:7197e6355a37b1a44e5baa9a3a3d76a72e6ae648
666+
pristine_git_object: f128f4a8af060555106cf2c1b9e3e98c67ef629b
667667
docs/components/autorouterplugincosttier.mdx:
668668
id: 72049c1ccaf4
669-
last_write_checksum: sha1:88c357901d1b51ef575f21ee957f6aa16bba7b83
670-
pristine_git_object: 77c913f91b03aefe7f6997bb588080a84960b777
669+
last_write_checksum: sha1:e39aa2557889658bd06007f9731c277e9b537e12
670+
pristine_git_object: b06654b8292488471ec316b3f2aceec6eacf5db8
671671
docs/components/autorouterpluginid.mdx:
672672
id: ea9862a88ce8
673673
last_write_checksum: sha1:51d6cd6296501209ebc8b721adb3feadeb798f9a
@@ -7106,8 +7106,8 @@ trackedFiles:
71067106
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
71077107
pyproject.toml:
71087108
id: 5d07e7d72637
7109-
last_write_checksum: sha1:9bdd842ddb4463c974aecfd9be8c46c99bb68480
7110-
pristine_git_object: 7bcca3ad227ca6e5cc80284e4b3aec20164c90a3
7109+
last_write_checksum: sha1:d8d63f40b234f19da09326afcde5a467253c45d9
7110+
pristine_git_object: ce5d9656dcb74b9b09f66619f39bd0cf58bff036
71117111
scripts/prepare_readme.py:
71127112
id: e0c5957a6035
71137113
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7134,8 +7134,8 @@ trackedFiles:
71347134
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
71357135
src/openrouter/_version.py:
71367136
id: d8d15ad6c586
7137-
last_write_checksum: sha1:cccf07809887714e342029e1df6ec25d54eb19e9
7138-
pristine_git_object: 590bde78735894705b30be7be589833ac3180a39
7137+
last_write_checksum: sha1:c4d146d77cb18189d6d83253caee92c73bad220b
7138+
pristine_git_object: 682398c0d1af843933d8a689c8bdeaac7d10e421
71397139
src/openrouter/analytics.py:
71407140
id: cb406b5aaabb
71417141
last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a
@@ -7446,12 +7446,12 @@ trackedFiles:
74467446
pristine_git_object: 2ccc3d9be586133e5d5138c77eacefa243987fb5
74477447
src/openrouter/components/autobetarouterplugin.py:
74487448
id: bb4119e5d4dc
7449-
last_write_checksum: sha1:9a7b53ebff8cffc9c9bb0e91380c7bf450978ad5
7450-
pristine_git_object: e1ae76a7b02d866e99ec3a58dbd8d01d786b65dd
7449+
last_write_checksum: sha1:92887f17869e070ae3940b9a7d8356598c56b05a
7450+
pristine_git_object: 65885e4d922d989d42799f52e98b7132d0eee5d4
74517451
src/openrouter/components/autorouterplugin.py:
74527452
id: cf49add5d1ae
7453-
last_write_checksum: sha1:63f3397389da14c253bdda100e1984c4f5556efb
7454-
pristine_git_object: 414a9ca4bcd0783e976ca6834132d002a696d5d6
7453+
last_write_checksum: sha1:65289971dae58e7b3acd8a7763b5ad98d87b9ea4
7454+
pristine_git_object: 85caa0a03eb4b855a0e12f88b8b94efd5355ccf9
74557455
src/openrouter/components/badgatewayresponseerrordata.py:
74567456
id: f7a33d30d269
74577457
last_write_checksum: sha1:d85ab25a06594703cb353767f07f4e1d44e0181c

‎.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.38
39+
version: 1.1.39
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2980,7 +2980,7 @@ components:
29802980
id: 'auto-beta-router'
29812981
properties:
29822982
allowed_models:
2983-
description: 'List of model patterns to filter which models the auto-beta-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, uses the default supported models list.'
2983+
description: 'List of model patterns to filter which models the auto-beta-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, every model ranked for the classified task type is a candidate, falling back to a default model set when rankings are unavailable.'
29842984
example:
29852985
- 'anthropic/*'
29862986
- 'openai/gpt-4o'
@@ -2990,13 +2990,13 @@ components:
29902990
type: 'array'
29912991
cost_quality_tradeoff:
29922992
deprecated: true
2993-
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.'
2993+
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 when no cost setting is provided. It remains supported and retains ceiling behavior, but cost_tier takes precedence when both are provided.'
29942994
example: 9
29952995
maximum: 10
29962996
minimum: 0
29972997
type: 'integer'
29982998
cost_tier:
2999-
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.'
2999+
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]. Takes precedence over the deprecated numeric cost_quality_tradeoff when both are provided.'
30003000
enum:
30013001
- 'low'
30023002
- 'medium'
@@ -3029,15 +3029,15 @@ components:
30293029
allowed_models:
30303030
- 'anthropic/*'
30313031
- 'openai/*'
3032-
cost_tier: 'medium'
3032+
cost_tier: 'low'
30333033
enabled: true
30343034
excluded_models:
30353035
- 'openai/gpt-4o'
30363036
id: 'auto-router'
30373037
pin_model: false
30383038
properties:
30393039
allowed_models:
3040-
description: 'List of model patterns to filter which models the auto-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, uses the default supported models list.'
3040+
description: 'List of model patterns to filter which models the auto-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, every model ranked for the classified task type is a candidate, falling back to a default model set when rankings are unavailable.'
30413041
example:
30423042
- 'anthropic/*'
30433043
- 'openai/gpt-4o'
@@ -3047,20 +3047,20 @@ components:
30473047
type: 'array'
30483048
cost_quality_tradeoff:
30493049
deprecated: true
3050-
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.'
3051-
example: 7
3050+
description: 'Deprecated: Use cost_tier instead. Balances routing between cost and quality on a 0-10 scale. The auto-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 when no cost setting is provided. It remains supported and retains ceiling behavior, but cost_tier takes precedence when both are provided.'
3051+
example: 9
30523052
maximum: 10
30533053
minimum: 0
30543054
type: 'integer'
30553055
cost_tier:
3056-
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.'
3056+
description: 'Named cost/quality setting. Tiers select cost-percentile bands: low = [0, 20), medium = [20, 40), high = [40, 60), xhigh = [60, 80), and max = [80, 100]. Takes precedence over the deprecated numeric cost_quality_tradeoff when both are provided.'
30573057
enum:
30583058
- 'low'
30593059
- 'medium'
30603060
- 'high'
30613061
- 'xhigh'
30623062
- 'max'
3063-
example: 'medium'
3063+
example: 'low'
30643064
type: 'string'
30653065
x-speakeasy-unknown-values: allow
30663066
enabled:

‎.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:ba591e9a42e8b6408d22788658dcdc0fd4d75c65985beed024f52e116587ef4b
6-
sourceBlobDigest: sha256:920f108528fa073be18dea836b219bd2fcadb26e3e70f1dd7fe3701152ea7b77
5+
sourceRevisionDigest: sha256:6849054eae332165a01616dd2091d05f0a57a524efac24db416762aef06f8a21
6+
sourceBlobDigest: sha256:4d5de277c3c9e905f111de416fc5de6f4a0a5d795933f5b1d4726acd5ebdea58
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:ba591e9a42e8b6408d22788658dcdc0fd4d75c65985beed024f52e116587ef4b
15-
sourceBlobDigest: sha256:920f108528fa073be18dea836b219bd2fcadb26e3e70f1dd7fe3701152ea7b77
14+
sourceRevisionDigest: sha256:6849054eae332165a01616dd2091d05f0a57a524efac24db416762aef06f8a21
15+
sourceBlobDigest: sha256:4d5de277c3c9e905f111de416fc5de6f4a0a5d795933f5b1d4726acd5ebdea58
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:f4ed1d1626d5bec0fec777705eb14e798019d4402eb028fb51dfebd4481411a3
17+
codeSamplesRevisionDigest: sha256:2366bc5b32aa50e28b3d02521973ce550603c24d4079d8ea94ac81326bfa5754
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
@@ -1169,4 +1169,14 @@ Based on:
11691169
### Generated
11701170
- [python v1.1.38] .
11711171
### Releases
1172-
- [PyPI v1.1.38] https://pypi.org/project/openrouter/1.1.38 - .
1172+
- [PyPI v1.1.38] https://pypi.org/project/openrouter/1.1.38 - .
1173+
1174+
## 2026-08-10 15:19:21
1175+
### Changes
1176+
Based on:
1177+
- OpenAPI Doc
1178+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1179+
### Generated
1180+
- [python v1.1.39] .
1181+
### Releases
1182+
- [PyPI v1.1.39] https://pypi.org/project/openrouter/1.1.39 - .

0 commit comments

Comments
 (0)