Skip to content

Commit 2a65de5

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 0.11.29 (#446)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 44313b0 commit 2a65de5

14 files changed

Lines changed: 128 additions & 90 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 28 additions & 23 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: 913314e7b77524966693bb56c9a3dd24
4+
docChecksum: ff4478e1428e58273d7375ea639734d6
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 0.11.28
9-
configChecksum: ce48138720beb4eb8841b187c03d254f
8+
releaseVersion: 0.11.29
9+
configChecksum: e092e139147af5b5a502f15607d75192
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: e656f374-a717-4315-90c0-6ee70ed0cf9c
15-
pristine_commit_hash: 3d5b10a16d484690e232f230a59576340aa52303
16-
pristine_tree_hash: f9fc6333f4a8952a56a6ca33eb92a50cc9b98d90
14+
generation_id: d53fc2a4-a065-484e-b315-dc8906615c95
15+
pristine_commit_hash: a593a152775480385c6cd2612c40dfb00014f443
16+
pristine_tree_hash: 4c87fa8a5b2aa4e90475f48c263b2f8da0222530
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -3890,12 +3890,12 @@ trackedFiles:
38903890
pristine_git_object: 3d340325d192b54a5d039336cce2bd35d12445ac
38913891
docs/components/pricing.mdx:
38923892
id: 6816d700f8b1
3893-
last_write_checksum: sha1:c9f49a270c1ddcaf2b354b2c0f7ceb277ca5eff4
3894-
pristine_git_object: 0ca9bdf9bf2b1909a4a78e99b58fde78b311becd
3893+
last_write_checksum: sha1:4b1943b79c3f1b054236d4e35f843b91108decd0
3894+
pristine_git_object: e60ec6cfd7c0882a02067bfbe246e5cf6d5208c0
38953895
docs/components/pricingoverride.mdx:
38963896
id: 74675f38c1c6
3897-
last_write_checksum: sha1:5e64e9edbb013f04ee3741fe7c5dbd2fa54b544b
3898-
pristine_git_object: f8291256ac4a4aeed8bf79f1bad1e3b45cbaa354
3897+
last_write_checksum: sha1:ca4bf606df26dd9e2b636d7d9e9f0fd183b21145
3898+
pristine_git_object: 5fb1b765b2b0e46d40042f341bbcc91aa0d92762
38993899
docs/components/promptcachebreakpoint.mdx:
39003900
id: c135956dc623
39013901
last_write_checksum: sha1:1b0c9884eb9b6fe1d4fdf822c75cb566ead67e07
@@ -3974,8 +3974,8 @@ trackedFiles:
39743974
pristine_git_object: 4498d08fd82f26a210eeed2b9659e6a0b321f9ef
39753975
docs/components/publicpricing.mdx:
39763976
id: 61fb18b7ff94
3977-
last_write_checksum: sha1:53550f414931189b91a148ca9039aefb5899a7ee
3978-
pristine_git_object: 4a17b2b3dd05ea85ea9847689c13692540007f07
3977+
last_write_checksum: sha1:e241420249fcbd1bf515b0f5e84934de0b207948
3978+
pristine_git_object: 894ca95c033795d50895fec5b8a6a18cd4a459c3
39793979
docs/components/quantization.mdx:
39803980
id: 9d062e4ee362
39813981
last_write_checksum: sha1:4cb3588933fe1ca8592669f8ec1bef1cf0986e28
@@ -6666,8 +6666,8 @@ trackedFiles:
66666666
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
66676667
pyproject.toml:
66686668
id: 5d07e7d72637
6669-
last_write_checksum: sha1:04c19e27f55c549187e8134f7ff3696cd428f3df
6670-
pristine_git_object: 38e011e2029916eabc14394ca864b6516da19017
6669+
last_write_checksum: sha1:1117ced9033fbecc539bceaa0497773110a561fa
6670+
pristine_git_object: 390707512d3febdc96fb763f9d077eee7567d046
66716671
scripts/prepare_readme.py:
66726672
id: e0c5957a6035
66736673
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -6694,8 +6694,8 @@ trackedFiles:
66946694
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
66956695
src/openrouter/_version.py:
66966696
id: d8d15ad6c586
6697-
last_write_checksum: sha1:fd94190abbfad4aff1ecc18a06a3b466ddd7c2b8
6698-
pristine_git_object: fb15497c9ae07185c9379f5151156e976ce297f5
6697+
last_write_checksum: sha1:fda5045f9e84313bfc3c002291fef7a1dba3ee40
6698+
pristine_git_object: 86673258f99094629fb4fd3a5c17d5f944bf63fd
66996699
src/openrouter/analytics.py:
67006700
id: cb406b5aaabb
67016701
last_write_checksum: sha1:9e709b71dd0611056dc0cec6150b578defe32841
@@ -8358,8 +8358,8 @@ trackedFiles:
83588358
pristine_git_object: 90bdb267893360608210843a5da0d5d68e80d41e
83598359
src/openrouter/components/pricingoverride.py:
83608360
id: 8984e4cc7422
8361-
last_write_checksum: sha1:0e2c06a0d510bb2fcf64b03f74c693f26c9825ad
8362-
pristine_git_object: 21c25933126937fe7c1d10898a42bbe711cf7b9f
8361+
last_write_checksum: sha1:0f72b9806164907aacce785f2d0c79a3e9374ac9
8362+
pristine_git_object: a7c4599ac6ab794f54968f12cd6b15c3137a5159
83638363
src/openrouter/components/promptcachebreakpoint.py:
83648364
id: f1e589a13300
83658365
last_write_checksum: sha1:458ef5170c7c9ea1367dcfb090b1b28333aff73d
@@ -8402,12 +8402,12 @@ trackedFiles:
84028402
pristine_git_object: 1798ae9dd8c2e4b629bb99cc5c643827895e8231
84038403
src/openrouter/components/publicendpoint.py:
84048404
id: 848aa2ef9129
8405-
last_write_checksum: sha1:a94a8a30e3656955780285fa004a2b7e5d162c57
8406-
pristine_git_object: b647b5f88242565b228e6d0bf11d151e6650f6f8
8405+
last_write_checksum: sha1:cfd3d1e8d5c62bbd494bd35e92d4d574103a189a
8406+
pristine_git_object: f91d6ae5aa526c51cf218eaaed2cb77514737ae8
84078407
src/openrouter/components/publicpricing.py:
84088408
id: 96d115d83cc5
8409-
last_write_checksum: sha1:a3733ee6d92eda73562ea1fa2bc834e3a14ac6db
8410-
pristine_git_object: 037f4b4e9aa72510a4021e695fe39516eb88d1f3
8409+
last_write_checksum: sha1:fd8c320ac83b282eaf2405045329b55076d4311a
8410+
pristine_git_object: 34b9d18bf50bcce3c150fffff684f41e8e79a2bd
84118411
src/openrouter/components/quantization.py:
84128412
id: bde317b3d703
84138413
last_write_checksum: sha1:96b042899bfb818f20d282be76ad37fc948a599d
@@ -11147,4 +11147,9 @@ examples:
1114711147
examplesVersion: 1.0.2
1114811148
releaseNotes: |
1114911149
## Python SDK Changes:
11150-
* `open_router.images.generate()`: `response` **Changed**
11150+
* `open_router.embeddings.list_models()`: `response.data[].pricing.overrides[]` **Changed**
11151+
* `open_router.endpoints.list_zdr_endpoints()`: `response.data[].pricing.overrides[]` **Changed**
11152+
* `open_router.endpoints.list()`: `response.data.endpoints[].pricing.overrides[]` **Changed**
11153+
* `open_router.models.get()`: `response.data.pricing.overrides[]` **Changed**
11154+
* `open_router.models.list()`: `response.data[].pricing.overrides[]` **Changed**
11155+
* `open_router.models.list_for_user()`: `response.data[].pricing.overrides[]` **Changed**

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

‎.speakeasy/out.openapi.yaml‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18295,7 +18295,7 @@ components:
1829518295
type: object
1829618296
PricingOverride:
1829718297
description: >-
18298-
A conditional override of the base pricing. An entry applies only when all of its condition fields (e.g. min_prompt_tokens) match the request; among applicable entries, later entries win per price key; price keys absent from an entry inherit the base price.
18298+
A conditional override of the base pricing. An entry applies only 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 price key; price keys absent from an entry inherit the base price.
1829918299
example:
1830018300
completion: '0.00002'
1830118301
min_prompt_tokens: 200000
@@ -18327,6 +18327,15 @@ components:
1832718327
prompt:
1832818328
description: Overridden price in USD per token for prompt (input) processing
1832918329
type: string
18330+
utc_end:
18331+
description: 'Condition: exclusive end of a daily UTC time window as an HHMM clock number (e.g. 400 = 04:00)'
18332+
format: double
18333+
type: number
18334+
utc_start:
18335+
description: >-
18336+
Condition: inclusive start of a daily UTC time window as an HHMM clock number (e.g. 100 = 01:00, 1030 = 10:30). The entry applies while the current UTC time is inside the half-open window [utc_start, utc_end), which may wrap past midnight (utc_start > utc_end).
18337+
format: double
18338+
type: number
1833018339
type: object
1833118340
PromptCacheBreakpoint:
1833218341
description: >-
@@ -19438,7 +19447,7 @@ components:
1943819447
type: string
1943919448
overrides:
1944019449
description: >-
19441-
Conditional overrides of the base pricing (e.g. long-context pricing). An entry applies when all of its condition fields (e.g. min_prompt_tokens) 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.
19450+
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.
1944219451
items:
1944319452
$ref: '#/components/schemas/PricingOverride'
1944419453
type: array
@@ -19561,7 +19570,7 @@ components:
1956119570
type: string
1956219571
overrides:
1956319572
description: >-
19564-
Conditional overrides of the base pricing (e.g. long-context pricing). An entry applies when all of its condition fields (e.g. min_prompt_tokens) 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.
19573+
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.
1956519574
items:
1956619575
$ref: '#/components/schemas/PricingOverride'
1956719576
type: array

‎.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:edca79a14bbe673bb4bb252f55acbe2d94ac37355ff7dace80c025796f462cec
6-
sourceBlobDigest: sha256:0d80dbc0f8174d90dd172c8c20c8c2aa51e915a33a0bdef18806f2bc5f215ba4
5+
sourceRevisionDigest: sha256:bd088c96e6b4db61858c4c25ba4a2276bd36fec50b25bc32d1121c7ab534afa4
6+
sourceBlobDigest: sha256:bf34b1b3df01fa14f7be4166938bbbd81645bc8f1045b09e547c9f9fae84f890
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:edca79a14bbe673bb4bb252f55acbe2d94ac37355ff7dace80c025796f462cec
15-
sourceBlobDigest: sha256:0d80dbc0f8174d90dd172c8c20c8c2aa51e915a33a0bdef18806f2bc5f215ba4
14+
sourceRevisionDigest: sha256:bd088c96e6b4db61858c4c25ba4a2276bd36fec50b25bc32d1121c7ab534afa4
15+
sourceBlobDigest: sha256:bf34b1b3df01fa14f7be4166938bbbd81645bc8f1045b09e547c9f9fae84f890
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:2f083adce0aad1ea67dd838546080b632140c054b28495cc56c4f449cfc35f2e
17+
codeSamplesRevisionDigest: sha256:7273c5d01f944ef1d07660238a38770b6cf0bcf8fe421b90c142f70bd9182305
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
@@ -388,4 +388,14 @@ Based on:
388388
### Generated
389389
- [python v0.11.28] .
390390
### Releases
391-
- [PyPI v0.11.28] https://pypi.org/project/openrouter/0.11.28 - .
391+
- [PyPI v0.11.28] https://pypi.org/project/openrouter/0.11.28 - .
392+
393+
## 2026-07-14 14:49:30
394+
### Changes
395+
Based on:
396+
- OpenAPI Doc
397+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
398+
### Generated
399+
- [python v0.11.29] .
400+
### Releases
401+
- [PyPI v0.11.29] https://pypi.org/project/openrouter/0.11.29 - .

0 commit comments

Comments
 (0)