Skip to content

Commit e2c1c26

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

12 files changed

Lines changed: 51 additions & 44 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 20 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: b4c802a90b9a216deeaff44a52c2357a
4+
docChecksum: 8c6c755a832cf81f0e52bec68a043505
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.45
9-
configChecksum: 7ca5bb9842bd6cb37efcb3bbaa5b1855
8+
releaseVersion: 1.1.46
9+
configChecksum: 1e329bd0661c5ce4441af4fac2a32e66
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: b03c4396-b2bc-48aa-86c6-98130db36529
15-
pristine_commit_hash: fff7fca5c6ba772a88e7b2a29634d67a5e098a26
16-
pristine_tree_hash: cc67c4656f2f0e02d468801620f418c4922f4adf
14+
generation_id: e0fdf525-30a7-4295-a44e-8ad7897e3e87
15+
pristine_commit_hash: 4491767147bb4a43c2fea15b23e0bb7a1e757ca5
16+
pristine_tree_hash: 94c6df7a499ada1e321cd4e1b95a7253da96cd45
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -638,8 +638,8 @@ trackedFiles:
638638
pristine_git_object: 08cc35c0a08268f89507a8e05432b7c3a075d3b2
639639
docs/components/apprankingsresponse.mdx:
640640
id: a88c9a36c7ae
641-
last_write_checksum: sha1:d6e4d441acee693ade65d6c24bc94884d6305ac8
642-
pristine_git_object: 06ea87da92af18eb4cef9c2ea501ff57045e121f
641+
last_write_checksum: sha1:03c0a38db6a3899ca82b34f87a3ba3724aac8ade
642+
pristine_git_object: dd7310f00814cd4c49e32be330683a25fe23a711
643643
docs/components/architecture.mdx:
644644
id: 2092a26b770f
645645
last_write_checksum: sha1:24138ca8d82a454360a8a7cfc058bc00dc14d4c3
@@ -4374,16 +4374,16 @@ trackedFiles:
43744374
pristine_git_object: b2e760295879653eb491f6b171ad5f2399b3e1e0
43754375
docs/components/rankingsdailymeta.mdx:
43764376
id: d6d04480acfd
4377-
last_write_checksum: sha1:53f7947281343750c6a014c66887c583d0186248
4378-
pristine_git_object: cdc00fcf749f1108164269a8db7ad76b5d623a46
4377+
last_write_checksum: sha1:fdeb0922d0bc90bb0609c157c1e2d18a9450f589
4378+
pristine_git_object: de87408be59c7a67a16c78eebca9aa3c2867abca
43794379
docs/components/rankingsdailymetaversion.mdx:
43804380
id: 1de73fde8cce
43814381
last_write_checksum: sha1:990f056c1ab068eddecea25d1e8b54d4e27d5e02
43824382
pristine_git_object: 274452757b0df087a5fca9c903df92ca7d59eb9a
43834383
docs/components/rankingsdailyresponse.mdx:
43844384
id: eaa8d80ab494
4385-
last_write_checksum: sha1:01550caa8b17d53d661fb8eec86f7dd6536f3e2a
4386-
pristine_git_object: 13cf299dbc8c505fbc8e691add26341779a692af
4385+
last_write_checksum: sha1:aa9ee8b3680fc576b4b295e8f46798ef61bedffe
4386+
pristine_git_object: ff97dff4ba45e4a271b653e7722fca01e78af328
43874387
docs/components/reason.mdx:
43884388
id: 0c3e75430162
43894389
last_write_checksum: sha1:d46f2a9cba528c56bafb3150b3debcb7a138c2d8
@@ -6242,8 +6242,8 @@ trackedFiles:
62426242
pristine_git_object: fb3afc125353560dfa1cb2fafa8faeff795d2f41
62436243
docs/operations/getapprankingsresponse.mdx:
62446244
id: 78ec0c166748
6245-
last_write_checksum: sha1:76d20b72282d029ef416eb608a3e63c176d09364
6246-
pristine_git_object: 8353352de1664ea1c2e14ef7350ddc487dc796e2
6245+
last_write_checksum: sha1:349b68babafad0f3fbd91756358dca46a861c4d6
6246+
pristine_git_object: 4d8e0195d1114c0c6f7b86e36a6ba0af3b3efa79
62476247
docs/operations/getapprankingssort.mdx:
62486248
id: 4d4c5fa80b4c
62496249
last_write_checksum: sha1:f32d425d8631ebfeb88abcb8f7e3a80e2559e51e
@@ -7198,8 +7198,8 @@ trackedFiles:
71987198
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
71997199
pyproject.toml:
72007200
id: 5d07e7d72637
7201-
last_write_checksum: sha1:c0690cb780257bb8812899d9164ad0ad80eb186a
7202-
pristine_git_object: 975fb5a58ae9ffc5ac42c92c5000484ca535fe39
7201+
last_write_checksum: sha1:b232ad5a7b04b39c5fd67426f9efe328e4457d4e
7202+
pristine_git_object: 39b709c31305e7606840039b7a9fc552ed300bed
72037203
scripts/prepare_readme.py:
72047204
id: e0c5957a6035
72057205
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7226,8 +7226,8 @@ trackedFiles:
72267226
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
72277227
src/openrouter/_version.py:
72287228
id: d8d15ad6c586
7229-
last_write_checksum: sha1:5258379a3f8f8ab4a170e1a1eebca76f22071757
7230-
pristine_git_object: ad84bcae12afe6d5fa7d04d77a6b71180dd4b275
7229+
last_write_checksum: sha1:822c2ddae35878f8e420bb1f4d76571cc566351c
7230+
pristine_git_object: 23d6f3f71a975e3fcdf8d95603e9ac76576e4ed1
72317231
src/openrouter/analytics.py:
72327232
id: cb406b5aaabb
72337233
last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a
@@ -11261,7 +11261,7 @@ examples:
1126111261
offset: 0
1126211262
responses:
1126311263
"200":
11264-
application/json: {"data": [{"app_id": 12345, "app_name": "Cline", "rank": 1, "total_requests": 4321, "total_tokens": "12345678"}, {"app_id": 67890, "app_name": "Roo Code", "rank": 2, "total_requests": 2109, "total_tokens": "9876543"}], "meta": {"as_of": "2026-05-12T02:00:00Z", "end_date": "2026-05-11", "start_date": "2026-04-12", "version": "v1"}}
11264+
application/json: {"data": [{"app_id": 12345, "app_name": "Cline", "rank": 1, "total_requests": 4321, "total_tokens": "12345678"}, {"app_id": 67890, "app_name": "Roo Code", "rank": 2, "total_requests": 2109, "total_tokens": "9876543"}], "meta": {"as_of": "2026-05-12T02:00:00.000Z", "end_date": "2026-05-11", "start_date": "2026-04-12", "version": "v1"}}
1126511265
"400":
1126611266
application/json: {"error": {"code": 400, "message": "Invalid request parameters"}}
1126711267
"401":
@@ -11274,7 +11274,7 @@ examples:
1127411274
speakeasy-default-get-rankings-daily:
1127511275
responses:
1127611276
"200":
11277-
application/json: {"data": [{"date": "2026-05-11", "model_permaslug": "openai/gpt-4o-2024-05-13", "total_tokens": "12345678"}, {"date": "2026-05-11", "model_permaslug": "anthropic/claude-3.5-sonnet-20241022", "total_tokens": "9876543"}], "meta": {"as_of": "2026-05-12T02:00:00Z", "end_date": "2026-05-11", "start_date": "2026-04-12", "version": "v1"}}
11277+
application/json: {"data": [{"date": "2026-05-11", "model_permaslug": "openai/gpt-4o-2024-05-13", "total_tokens": "12345678"}, {"date": "2026-05-11", "model_permaslug": "anthropic/claude-3.5-sonnet-20241022", "total_tokens": "9876543"}], "meta": {"as_of": "2026-05-12T02:00:00.000Z", "end_date": "2026-05-11", "start_date": "2026-04-12", "version": "v1"}}
1127811278
"400":
1127911279
application/json: {"error": {"code": 400, "message": "Invalid request parameters"}}
1128011280
"401":
@@ -12082,6 +12082,3 @@ examples:
1208212082
"500":
1208312083
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1208412084
examplesVersion: 1.0.2
12085-
releaseNotes: |
12086-
## Python SDK Changes:
12087-
* `open_router.generations.list_generation_content()`: `response.data.error` **Added**

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

‎.speakeasy/out.openapi.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2952,7 +2952,7 @@ components:
29522952
total_requests: 2109
29532953
total_tokens: '9876543'
29542954
meta:
2955-
as_of: '2026-05-12T02:00:00Z'
2955+
as_of: '2026-05-12T02:00:00.000Z'
29562956
end_date: '2026-05-11'
29572957
start_date: '2026-04-12'
29582958
version: 'v1'
@@ -21551,14 +21551,14 @@ components:
2155121551
type: 'object'
2155221552
RankingsDailyMeta:
2155321553
example:
21554-
as_of: '2026-05-12T02:00:00Z'
21554+
as_of: '2026-05-12T02:00:00.000Z'
2155521555
end_date: '2026-05-11'
2155621556
start_date: '2026-04-12'
2155721557
version: 'v1'
2155821558
properties:
2155921559
as_of:
2156021560
description: 'ISO-8601 timestamp of when the response was generated. Reflects data-freshness because the underlying materialized view continuously ingests upstream events.'
21561-
example: '2026-05-12T02:00:00Z'
21561+
example: '2026-05-12T02:00:00.000Z'
2156221562
type: 'string'
2156321563
end_date:
2156421564
description: 'Resolved end of the date window (UTC, inclusive).'
@@ -21589,7 +21589,7 @@ components:
2158921589
model_permaslug: 'anthropic/claude-3.5-sonnet-20241022'
2159021590
total_tokens: '9876543'
2159121591
meta:
21592-
as_of: '2026-05-12T02:00:00Z'
21592+
as_of: '2026-05-12T02:00:00.000Z'
2159321593
end_date: '2026-05-11'
2159421594
start_date: '2026-04-12'
2159521595
version: 'v1'

‎.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:816e23f17fb6ac302f7a907e82281ed5dea91a00943de092bc90062ddc764970
6-
sourceBlobDigest: sha256:fb2a15f75e22611c599bd706978add5c56a2a3cfe767e28b50cf87f027f803be
5+
sourceRevisionDigest: sha256:b1702858e7f6f50ce70f909d829820ffe5f841e3f76fb7605734683e12bde594
6+
sourceBlobDigest: sha256:f266c94b4b092838e05ecb0a6f5fa3c88827911376d83e6f6afd52316aa8a1a6
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:816e23f17fb6ac302f7a907e82281ed5dea91a00943de092bc90062ddc764970
15-
sourceBlobDigest: sha256:fb2a15f75e22611c599bd706978add5c56a2a3cfe767e28b50cf87f027f803be
14+
sourceRevisionDigest: sha256:b1702858e7f6f50ce70f909d829820ffe5f841e3f76fb7605734683e12bde594
15+
sourceBlobDigest: sha256:f266c94b4b092838e05ecb0a6f5fa3c88827911376d83e6f6afd52316aa8a1a6
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:8ae3982d471f05e246e090e902923ef9c0b30e8adfc19eae33176cefa37fe19b
17+
codeSamplesRevisionDigest: sha256:40a6fe64ff133720f666fcd9a1748ab7f40638b9afbb8e5fb0d225a64bddd41f
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
@@ -1239,4 +1239,14 @@ Based on:
12391239
### Generated
12401240
- [python v1.1.45] .
12411241
### Releases
1242-
- [PyPI v1.1.45] https://pypi.org/project/openrouter/1.1.45 - .
1242+
- [PyPI v1.1.45] https://pypi.org/project/openrouter/1.1.45 - .
1243+
1244+
## 2026-08-11 19:08:15
1245+
### Changes
1246+
Based on:
1247+
- OpenAPI Doc
1248+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1249+
### Generated
1250+
- [python v1.1.46] .
1251+
### Releases
1252+
- [PyPI v1.1.46] https://pypi.org/project/openrouter/1.1.46 - .

‎docs/components/apprankingsresponse.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ title: "AppRankingsResponse"
77
| Field | Type | Required | Description | Example |
88
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
99
| `data` | List[[components.AppRankingsItem](../components/apprankingsitem.mdx)] | :heavy_check_mark: | Apps ranked per the requested `sort`, re-numbered 1..N after category filtering. `popular` sorts by `total_tokens` descending; `trending` sorts by absolute excess token growth descending and may return fewer than `limit` rows when few apps are growing. | |
10-
| `meta` | [components.RankingsDailyMeta](../components/rankingsdailymeta.mdx) | :heavy_check_mark: | N/A | \{<br/>"as_of": "2026-05-12T02:00:00Z",<br/>"end_date": "2026-05-11",<br/>"start_date": "2026-04-12",<br/>"version": "v1"<br/>} |
10+
| `meta` | [components.RankingsDailyMeta](../components/rankingsdailymeta.mdx) | :heavy_check_mark: | N/A | \{<br/>"as_of": "2026-05-12T02:00:00.000Z",<br/>"end_date": "2026-05-11",<br/>"start_date": "2026-04-12",<br/>"version": "v1"<br/>} |

0 commit comments

Comments
 (0)