Skip to content

Commit ce53970

Browse files
committed
## Python SDK Changes:
* `open_router.models.list_for_user()`: `request.sort` **Added**
1 parent 869d818 commit ce53970

1,480 files changed

Lines changed: 8114 additions & 7998 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.speakeasy/gen.lock‎

Lines changed: 25 additions & 21 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: ab7299f20b99875c8d4dc6b7d1961031
4+
docChecksum: bebc2e8fea10251aec0323a863417eab
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.59
9-
configChecksum: b5283e3d1f1d768501fa29c241717898
8+
releaseVersion: 1.3.60
9+
configChecksum: eb7c86d6839742b98d33d2a96d8b5013
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: 60ba15f6-02b1-4b50-87b3-d9cbb799921f
15-
pristine_commit_hash: 7558df97d221f06df6834a6b16d8eefa87151c41
16-
pristine_tree_hash: 69909a1476c6dba2cdb1362f264793c75ea4e9f3
14+
generation_id: e6a5b1eb-7359-4fb4-a437-def88295741c
15+
pristine_commit_hash: cb90be710af20c8724a347fff8de3e7e0a1a3608
16+
pristine_tree_hash: bf3098a3566832138f8cab929b1c28b6c1a88d33
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -9584,8 +9584,8 @@ trackedFiles:
95849584
pristine_git_object: f0a800135df0c6e4799128a4fbc901c576c8c6ce
95859585
docs/operations/listmodelsuserrequest.mdx:
95869586
id: 01537864056e
9587-
last_write_checksum: sha1:60310daa2bd8a0adbef484525680460e350172d1
9588-
pristine_git_object: 0ad201f8af94bbf0dee823e9c3eeb841fcd56fc5
9587+
last_write_checksum: sha1:ad5fc5b8d8cfc36bfb28b7fec1011dd6f194d4bf
9588+
pristine_git_object: 026e944c7fa18873cecf8644a7f39de467bb2b1f
95899589
docs/operations/listmodelsuserresponse.mdx:
95909590
id: 34f7a1648ceb
95919591
last_write_checksum: sha1:bf1ee4a9b2ad707ff1c39ea8680e72e5d0c27b9a
@@ -9594,6 +9594,10 @@ trackedFiles:
95949594
id: fa5ad15aebfd
95959595
last_write_checksum: sha1:daa5aafeecb31a35e7cb1bbedc70b722f6a675a5
95969596
pristine_git_object: c7dbff35b7c3345c54c268f81a8ad4dac24cc5c3
9597+
docs/operations/listmodelsusersort.mdx:
9598+
id: a6cd738b2b05
9599+
last_write_checksum: sha1:fbe3a59ea629b15942d1aeadde96f46a51f29a66
9600+
pristine_git_object: 4bae293ec5d0a8b931bb85c6df53316562c66fee
95979601
docs/operations/listoauthjwksglobals.mdx:
95989602
id: 7fe931762b70
95999603
last_write_checksum: sha1:5d1a1236488c46dc129a264b6df22e5842921611
@@ -10248,8 +10252,8 @@ trackedFiles:
1024810252
pristine_git_object: b90fc698bfe2b3fc3fa0b06699a33e4e158aef22
1024910253
docs/sdks/models/README.mdx:
1025010254
id: 58f1ca464e0b
10251-
last_write_checksum: sha1:093dd30ebdd18b9763a6956915e0dcae4ae7d5e5
10252-
pristine_git_object: 9131aee97e483384b6721a32936c05901dfeea5d
10255+
last_write_checksum: sha1:aab5b254f0a6dc7ab7c6d543b20c889113cc0dc9
10256+
pristine_git_object: fb76b402a8d2da041c3ca7464e09c9ea75c1854e
1025310257
docs/sdks/oauth/README.mdx:
1025410258
id: 42b5079343d2
1025510259
last_write_checksum: sha1:3cde9bcb927f4723ccdb237d9f7a54a50f96abe7
@@ -10320,8 +10324,8 @@ trackedFiles:
1032010324
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1032110325
pyproject.toml:
1032210326
id: 5d07e7d72637
10323-
last_write_checksum: sha1:4d31540309694a56bbfe0f19a53d19f03da53e8b
10324-
pristine_git_object: 50f35b30873dfb97a1388b662773da29b4dd10ca
10327+
last_write_checksum: sha1:de158115560e39857ddf2f7bd50debf50f14f1f5
10328+
pristine_git_object: 96d4e82b753bc9dcf61521a131fdc9483f8a7e63
1032510329
scripts/prepare_readme.py:
1032610330
id: e0c5957a6035
1032710331
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10348,8 +10352,8 @@ trackedFiles:
1034810352
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1034910353
src/openrouter/_version.py:
1035010354
id: d8d15ad6c586
10351-
last_write_checksum: sha1:a2461009aed4621da3c5058671d699f186fda10b
10352-
pristine_git_object: 74ee8fbdba00a70b1cd00eec1f2d87b48042b8db
10355+
last_write_checksum: sha1:466bbdaf1a80e3946d8f91eacf4b29a1866e1c1d
10356+
pristine_git_object: 2b7810548e159b9920517756e64e486f2ef318e1
1035310357
src/openrouter/alpha.py:
1035410358
id: 306c4d93308d
1035510359
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -14048,8 +14052,8 @@ trackedFiles:
1404814052
pristine_git_object: 5b741456655ff48919d17ffd552a6410f0587966
1404914053
src/openrouter/models_.py:
1405014054
id: 4e1ae1fe5b98
14051-
last_write_checksum: sha1:5fabfae94d73d2552537ab5ff4628ade1540d89c
14052-
pristine_git_object: e16291f980d3a1e19aeef0f68cf5b4998da16f82
14055+
last_write_checksum: sha1:cf453e9c9ba85da30251698de3c7c8ebcfd344d3
14056+
pristine_git_object: 5b22dc33ede915e5769e5898dd37e4e08312583c
1405314057
src/openrouter/oauth.py:
1405414058
id: 1948ce27255b
1405514059
last_write_checksum: sha1:d6470de6325431db64b08ff4468fb2d8ea781c6f
@@ -14060,8 +14064,8 @@ trackedFiles:
1406014064
pristine_git_object: f01a5ab1865b16939c092d854fe8a7145c327058
1406114065
src/openrouter/operations/__init__.py:
1406214066
id: 9afcea1e7161
14063-
last_write_checksum: sha1:69f2394d6b0644c50c2f21349f2fd0617622ade0
14064-
pristine_git_object: f4753e5e03a329e4732821e00a353f60ad03e884
14067+
last_write_checksum: sha1:e17ae08243c8381872fb8fd0ded781096749f43e
14068+
pristine_git_object: 1370bf741d8ad3debebf00e4983f388362fb31a1
1406514069
src/openrouter/operations/activateprivateendpoint.py:
1406614070
id: 3b39eec5d66f
1406714071
last_write_checksum: sha1:9406e6b3d38c82895fd795f637702ef579cc6d36
@@ -14500,8 +14504,8 @@ trackedFiles:
1450014504
pristine_git_object: cdde733b97c9b409d550fd58f9d49184d1647f4d
1450114505
src/openrouter/operations/listmodelsuser.py:
1450214506
id: 16eb5946cf60
14503-
last_write_checksum: sha1:8f8571521a92ee945fa3875af7390fecab790a2d
14504-
pristine_git_object: 915aa93c1b33fc37b5b38800bd40284de64b8f01
14507+
last_write_checksum: sha1:1f455b856b8c143fd5e96893bdd2f72aacf98da2
14508+
pristine_git_object: 0d87be124c12ceb8cd1f93b7eeca51e9d404a8b9
1450514509
src/openrouter/operations/listoauthjwks.py:
1450614510
id: 329ac9d6fa76
1450714511
last_write_checksum: sha1:8d6b08b6637a0ff49f88313a9f1bed03349655f1
@@ -18834,4 +18838,4 @@ examples:
1883418838
examplesVersion: 1.0.2
1883518839
releaseNotes: |
1883618840
## Python SDK Changes:
18837-
* `open_router.o_auth.create_oauth_token()`: `request.scope` **Changed**
18841+
* `open_router.models.list_for_user()`: `request.sort` **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.3.59
39+
version: 1.3.60
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47199,6 +47199,28 @@ paths:
4719947199
description: 'Filter models by output modality. Accepts a comma-separated list of modalities (text, image, embeddings, audio, video, rerank, decisions, speech, transcription) or "all" to include all models. Defaults to "text".'
4720047200
example: 'text'
4720147201
type: 'string'
47202+
- description: 'Sort the returned models server-side. Prefer this over fetching the full list and sorting client-side. Options: pricing-low-to-high, pricing-high-to-low (average prompt/completion price), context-high-to-low (context length), throughput-high-to-low, latency-low-to-high (recent median performance), most-popular, top-weekly (tokens processed in the last week), newest (creation date), intelligence-high-to-low, coding-high-to-low, agentic-high-to-low (Artificial Analysis indices), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. When omitted, the existing default ordering is preserved.'
47203+
in: 'query'
47204+
name: 'sort'
47205+
required: false
47206+
schema:
47207+
description: 'Sort the returned models server-side. Prefer this over fetching the full list and sorting client-side. Options: pricing-low-to-high, pricing-high-to-low (average prompt/completion price), context-high-to-low (context length), throughput-high-to-low, latency-low-to-high (recent median performance), most-popular, top-weekly (tokens processed in the last week), newest (creation date), intelligence-high-to-low, coding-high-to-low, agentic-high-to-low (Artificial Analysis indices), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. When omitted, the existing default ordering is preserved.'
47208+
enum:
47209+
- 'most-popular'
47210+
- 'newest'
47211+
- 'top-weekly'
47212+
- 'pricing-low-to-high'
47213+
- 'pricing-high-to-low'
47214+
- 'context-high-to-low'
47215+
- 'throughput-high-to-low'
47216+
- 'latency-low-to-high'
47217+
- 'intelligence-high-to-low'
47218+
- 'coding-high-to-low'
47219+
- 'agentic-high-to-low'
47220+
- 'design-arena-elo-high-to-low'
47221+
example: 'newest'
47222+
type: 'string'
47223+
x-speakeasy-unknown-values: allow
4720247224
responses:
4720347225
'200':
4720447226
content:

‎.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:fc358e8fd0ba245e16eadeaf71e604d8fdf0c09a17d6bfe0d041843592fb4188
6-
sourceBlobDigest: sha256:44659309dd26f2f2e23016c8b6f714f17d00755ef3f21013eea925088ba09ed0
5+
sourceRevisionDigest: sha256:0aacdcc949b2d7675bc27707be861a6976a4f319f12a069e6948227f453053c4
6+
sourceBlobDigest: sha256:23001c8d777328a9560ba8cd6428170d7229c7eda4f9b64909fbfb3711c18c94
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:fc358e8fd0ba245e16eadeaf71e604d8fdf0c09a17d6bfe0d041843592fb4188
15-
sourceBlobDigest: sha256:44659309dd26f2f2e23016c8b6f714f17d00755ef3f21013eea925088ba09ed0
14+
sourceRevisionDigest: sha256:0aacdcc949b2d7675bc27707be861a6976a4f319f12a069e6948227f453053c4
15+
sourceBlobDigest: sha256:23001c8d777328a9560ba8cd6428170d7229c7eda4f9b64909fbfb3711c18c94
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:595eb9e1e2d337804f295baf347e8dd8a2a0f4e80c2ea0dadd292091358ea1c9
17+
codeSamplesRevisionDigest: sha256:65be134e3c1e615193ecaadca3d31ece2693ac80067917230150b8dffc36592b
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
@@ -3359,4 +3359,14 @@ Based on:
33593359
### Generated
33603360
- [python v1.3.59] .
33613361
### Releases
3362-
- [PyPI v1.3.59] https://pypi.org/project/openrouter/1.3.59 - .
3362+
- [PyPI v1.3.59] https://pypi.org/project/openrouter/1.3.59 - .
3363+
3364+
## 2026-10-15 22:24:35
3365+
### Changes
3366+
Based on:
3367+
- OpenAPI Doc
3368+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
3369+
### Generated
3370+
- [python v1.3.60] .
3371+
### Releases
3372+
- [PyPI v1.3.60] https://pypi.org/project/openrouter/1.3.60 - .

‎docs/components/aabenchmarkentry.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ Artificial Analysis benchmark index scores.
99

1010
| Field | Type | Required | Description | Example |
1111
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
12-
| `agentic_index` | *Nullable[float]* | ✅ | Artificial Analysis Agentic Index score | 55.8 |
13-
| `coding_index` | *Nullable[float]* | ✅ | Artificial Analysis Coding Index score | 63.2 |
14-
| `intelligence_index` | *Nullable[float]* | ✅ | Artificial Analysis Intelligence Index score | 71.4 |
12+
| `agentic_index` | *Nullable[float]* | :heavy_check_mark: | Artificial Analysis Agentic Index score | 55.8 |
13+
| `coding_index` | *Nullable[float]* | :heavy_check_mark: | Artificial Analysis Coding Index score | 63.2 |
14+
| `intelligence_index` | *Nullable[float]* | :heavy_check_mark: | Artificial Analysis Intelligence Index score | 71.4 |

0 commit comments

Comments
 (0)