Skip to content

Commit 61ba610

Browse files
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.239 (#1475)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent f71584a commit 61ba610

12 files changed

Lines changed: 47 additions & 38 deletions

File tree

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 18 additions & 19 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: e73937be9d67b7086d2b9189ed94394d
4+
docChecksum: a86fd69b34e5b92a3338d2e01b99781b
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.238
9-
configChecksum: 8991cb8f69d8ff8283ec2e934c1e5522
8+
releaseVersion: 1.3.239
9+
configChecksum: cfd9216068d53c3cc41cb940470e50c2
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: 300f0c45-578b-49e8-96b5-2ade8973b2ac
15-
pristine_commit_hash: 3cf68c2d50264d9463028e0bbddaf57bf148386a
16-
pristine_tree_hash: 5d8644aa57cf4fbae073d20e23e9cf9cc1c966cf
14+
generation_id: f0ff829b-b8d7-4216-9086-e1e1ba8e7bdb
15+
pristine_commit_hash: 0e76eb76c15444e0832f4eb6026b17443bf42865
16+
pristine_tree_hash: fef9e03d43316c6aa26f0a3ead37016a4ef00ddf
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -7736,8 +7736,8 @@ trackedFiles:
77367736
pristine_git_object: ccd8dc6bc983f75070daea91335d647dad6b3e0c
77377737
docs/components/pricing.mdx:
77387738
id: 6816d700f8b1
7739-
last_write_checksum: sha1:4d677de7db8ef9dff32053a7594eda6420951e0b
7740-
pristine_git_object: bd2712655952f07012bb96c23ab0c8724e259f1e
7739+
last_write_checksum: sha1:4b9ec35cc1673f103724a88439246e5db70116b2
7740+
pristine_git_object: 99cb4039db2375a76b3d73335f752187f677c03b
77417741
docs/components/pricingoverride.mdx:
77427742
id: 74675f38c1c6
77437743
last_write_checksum: sha1:52ae52e79a817f45081bd0ff109024acdd81d936
@@ -7932,8 +7932,8 @@ trackedFiles:
79327932
pristine_git_object: 3def9b31d08d74324be28111b183ac748108b07e
79337933
docs/components/publicpricing.mdx:
79347934
id: 61fb18b7ff94
7935-
last_write_checksum: sha1:6fd1d965f03b123c85969aeba88a88d1ece660c1
7936-
pristine_git_object: 57c90de1e826f69202b6afce81b1710320444ad9
7935+
last_write_checksum: sha1:dda7c4fd3a1286dc1643ab95eba2aea685960b9e
7936+
pristine_git_object: 1f63eaf054d0492278a0049be750c1dd98c17027
79377937
docs/components/publicservicetier.mdx:
79387938
id: ffd85d9fcc2c
79397939
last_write_checksum: sha1:78e406250f9bb607250b74952d4ac7c816bbf7ac
@@ -12592,8 +12592,8 @@ trackedFiles:
1259212592
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1259312593
pyproject.toml:
1259412594
id: 5d07e7d72637
12595-
last_write_checksum: sha1:dd631604d1edc41757fbcade6b0ba2be184798a4
12596-
pristine_git_object: c201d60002c95d6689e82e205c4d0c8b55d185a4
12595+
last_write_checksum: sha1:45b9c92ef94777a91063e910c9cd243e2dafdc41
12596+
pristine_git_object: 4f38b8941490be7a688dd55ba498ca70c54942f8
1259712597
scripts/prepare_readme.py:
1259812598
id: e0c5957a6035
1259912599
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -12620,8 +12620,8 @@ trackedFiles:
1262012620
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1262112621
src/openrouter/_version.py:
1262212622
id: d8d15ad6c586
12623-
last_write_checksum: sha1:7ff720fedf47043e7ad91352c0edee00db354fba
12624-
pristine_git_object: 210f6dad6923c2c78853e7e75a6a7c4d96d14537
12623+
last_write_checksum: sha1:2adef3a3d650823f06638456d52317f0342cf735
12624+
pristine_git_object: bea916fd64f9c5b4111114295739e434659357ab
1262512625
src/openrouter/alpha.py:
1262612626
id: 306c4d93308d
1262712627
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
@@ -15676,8 +15676,8 @@ trackedFiles:
1567615676
pristine_git_object: 90bdb267893360608210843a5da0d5d68e80d41e
1567715677
src/openrouter/components/pricing.py:
1567815678
id: 33122e4b4dda
15679-
last_write_checksum: sha1:54bc975ee0c553985b8e2f82a9a5d050f1c66588
15680-
pristine_git_object: 5b6ba30d0a02ac74b07195571e9ead41d34121e5
15679+
last_write_checksum: sha1:d560dbfdecf79778615dec9534c36400fbc2b917
15680+
pristine_git_object: 26acaca014df9c33a070dadda66f25ffa1fef61a
1568115681
src/openrouter/components/pricingoverride.py:
1568215682
id: 8984e4cc7422
1568315683
last_write_checksum: sha1:e12629320e02396a2aa1dfcbacd6873fba0d4aba
@@ -15804,8 +15804,8 @@ trackedFiles:
1580415804
pristine_git_object: 62afd71386c722b497155417e4985441273c5c1c
1580515805
src/openrouter/components/publicpricing.py:
1580615806
id: 96d115d83cc5
15807-
last_write_checksum: sha1:d353f3adcd8efbd639e6be4f1f8ee080fefcd83f
15808-
pristine_git_object: 70eb8ec280ce790aff7e6233133379eae9ef5c11
15807+
last_write_checksum: sha1:48971bd6c5f1ff96d99e3970d9b2c9e37a0ab5b4
15808+
pristine_git_object: c1b692f96b5335408ee63fe7b41aa29bb6a3a771
1580915809
src/openrouter/components/publicservicetier.py:
1581015810
id: fc0a585024d6
1581115811
last_write_checksum: sha1:a9d1074d4ce5c1fcb4cd2fb1ba593458d9174e5e
@@ -23311,4 +23311,3 @@ examples:
2331123311
"500":
2331223312
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
2331323313
examplesVersion: 1.0.2
23314-
releaseNotes: "## Python SDK Changes:\n* `open_router.tts.create_speech()`: \n * `request.timestamp_granularities` **Added**\n * `error.status[504]` **Added**\n* `open_router.tts.list_models()`: `response.data[].endpoints[].output_modalities[].supported_parameters.timestamp_granularities` **Added**\n* `open_router.tts.get_model()`: `response.endpoints[].output_modalities[].supported_parameters.timestamp_granularities` **Added**\n"

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generation:
3737
documentation: mintlify
3838
preApplyUnionDiscriminators: true
3939
python:
40-
version: 1.3.238
40+
version: 1.3.239
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

β€Ž.speakeasy/out.openapi.yamlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31872,7 +31872,7 @@ components:
3187231872
description: 'Price in USD per token for prompt (input) processing'
3187331873
type: 'string'
3187431874
request:
31875-
description: 'Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks based on the estimated token count of each query-document pair, with up to 100 chunks per search unit.'
31875+
description: 'Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks (512-token chunks for Amazon Rerank) based on the estimated token count of each query-document pair, with up to 100 chunks per search unit.'
3187631876
type: 'string'
3187731877
web_search:
3187831878
description: 'Price in USD per web search'
@@ -33929,7 +33929,7 @@ components:
3392933929
description: 'Price in USD per token for prompt (input) processing'
3393033930
type: 'string'
3393133931
request:
33932-
description: 'Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks based on the estimated token count of each query-document pair, with up to 100 chunks per search unit.'
33932+
description: 'Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks (512-token chunks for Amazon Rerank) based on the estimated token count of each query-document pair, with up to 100 chunks per search unit.'
3393333933
type: 'string'
3393433934
web_search:
3393533935
description: 'Price in USD per web search'

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.803.2
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:856cf59619c47e9e8203ddcb9f2f4a5a228f5be9bdbd067a50e882e6d5cd868f
6-
sourceBlobDigest: sha256:e1a5665e5f4d5bb0b440759e3787a270c901a6c3fa1f14a1f5a98dd83f7980a5
5+
sourceRevisionDigest: sha256:b449397bef66a2911564d32127ebfede6410da7f267d64d8ed2a7d1feccab8ee
6+
sourceBlobDigest: sha256:8c442f998f818acea292dc01714f5505c983225285d5a70079dd3d6159383c87
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:856cf59619c47e9e8203ddcb9f2f4a5a228f5be9bdbd067a50e882e6d5cd868f
15-
sourceBlobDigest: sha256:e1a5665e5f4d5bb0b440759e3787a270c901a6c3fa1f14a1f5a98dd83f7980a5
14+
sourceRevisionDigest: sha256:b449397bef66a2911564d32127ebfede6410da7f267d64d8ed2a7d1feccab8ee
15+
sourceBlobDigest: sha256:8c442f998f818acea292dc01714f5505c983225285d5a70079dd3d6159383c87
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:460c2d5b51d2944f3d5d6f3e246919b8d1ec5030720512b77c26b0cfbdf1ddd3
17+
codeSamplesRevisionDigest: sha256:e37dcb5a8fc4cd7a863a8da8ec0b4bd2c033ec6ac95bd2042535448b313932f4
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.803.2

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5149,4 +5149,14 @@ Based on:
51495149
### Generated
51505150
- [python v1.3.238] .
51515151
### Releases
5152-
- [PyPI v1.3.238] https://pypi.org/project/openrouter/1.3.238 - .
5152+
- [PyPI v1.3.238] https://pypi.org/project/openrouter/1.3.238 - .
5153+
5154+
## 2026-12-03 20:55:19
5155+
### Changes
5156+
Based on:
5157+
- OpenAPI Doc
5158+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
5159+
### Generated
5160+
- [python v1.3.239] .
5161+
### Releases
5162+
- [PyPI v1.3.239] https://pypi.org/project/openrouter/1.3.239 - .

β€Ždocs/components/pricing.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ title: "Pricing"
2020
| `internal_reasoning` | *Optional[str]* | βž– | Price in USD per internal reasoning token |
2121
| `overrides` | List[[components.PricingOverride](../components/pricingoverride.mdx)] | βž– | Conditional overrides of the base pricing (e.g. long-context or time-based pricing). An entry applies when all of its condition fields (e.g. min_prompt_tokens, or the utc_start/utc_end time window) match the request; among applicable entries, later entries win per key; price keys absent from an entry inherit the base price. The top-level pricing keys always reflect the price that applies under default conditions. |
2222
| `prompt` | *str* | βœ”οΈ | Price in USD per token for prompt (input) processing |
23-
| `request` | *Optional[str]* | βž– | Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks based on the estimated token count of each query-document pair, with up to 100 chunks per search unit. |
23+
| `request` | *Optional[str]* | βž– | Price in USD per request. For rerank endpoints priced by search unit, this is the price in USD per search unit. How search units are counted depends on the provider. For Amazon Bedrock rerank, OpenRouter counts 500-token chunks (512-token chunks for Amazon Rerank) based on the estimated token count of each query-document pair, with up to 100 chunks per search unit. |
2424
| `web_search` | *Optional[str]* | βž– | Price in USD per web search |

0 commit comments

Comments
Β (0)