Skip to content

Commit 4a61751

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

14 files changed

Lines changed: 118 additions & 32 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 27 additions & 20 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: a2e5a2be1d22dd040c38a200a2963429
4+
docChecksum: 3810bb959aba463025335b25d590ba30
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.99
9-
configChecksum: 9ed0222f7a3d88e1351cf0e350a79906
8+
releaseVersion: 1.3.100
9+
configChecksum: 57f22e4b4f4a78469b00dc2ee6f5f47d
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: 3157cf67-1160-4d58-b202-cb61f7faee05
15-
pristine_commit_hash: 0abe812ac3818a2756704695ed1666d518f96f86
16-
pristine_tree_hash: cff55510f05b2013f7d6f82edcf4019bbeb6bf09
14+
generation_id: 63b97cf4-7a29-4adc-899c-cf4272e2127e
15+
pristine_commit_hash: f7b36f02f2c6eba97fc0b2e0af03c236a2e528b0
16+
pristine_tree_hash: 32a63e85f6ae10fcd36471b8bf27173d026185b0
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -8878,6 +8878,10 @@ trackedFiles:
88788878
id: bf2b4d539ad0
88798879
last_write_checksum: sha1:e85f7cb32b6cf92a993f1fb472f71bf5593a0aee
88808880
pristine_git_object: 91ffad70186d34bf8103f1988bdbdd258e1cfbfb
8881+
docs/operations/client.mdx:
8882+
id: 915aebbe62cb
8883+
last_write_checksum: sha1:107eddce0e7ba4fff1b8a6f6c2f883ceba729e06
8884+
pristine_git_object: b02404ab4ec68c12902657c9b800502ce9080669
88818885
docs/operations/content.mdx:
88828886
id: 6f64feb2d798
88838887
last_write_checksum: sha1:329d9719c9e25478666963df7b79710aa626d988
@@ -10028,8 +10032,8 @@ trackedFiles:
1002810032
pristine_git_object: b6ff4ac617c15b9ce560d8f7be1f2813ac73b696
1002910033
docs/operations/listmodelsuserrequest.mdx:
1003010034
id: 01537864056e
10031-
last_write_checksum: sha1:3146f4b0c24817d751f37a2311e6d8f5a58af264
10032-
pristine_git_object: 726529934461d810f02545bbbd274e1e2db562de
10035+
last_write_checksum: sha1:896fe646a05a136a8ad8df99f22d81ad4aaffa3c
10036+
pristine_git_object: 950838658eb536e8845c06819580ff6c24d1d47a
1003310037
docs/operations/listmodelsuserresponse.mdx:
1003410038
id: 34f7a1648ceb
1003510039
last_write_checksum: sha1:2ba3da93b8dd5a76d5f1acf0a080bc45ced552b6
@@ -10656,8 +10660,8 @@ trackedFiles:
1065610660
pristine_git_object: fa46dc09c893aadcb2c56921b973a019603010e1
1065710661
docs/sdks/models/README.mdx:
1065810662
id: 58f1ca464e0b
10659-
last_write_checksum: sha1:38f37d2391b43875af1434037061826f9f00d10c
10660-
pristine_git_object: 88a7166c4a3faa1c083fe1fb7d8ccb312f62d892
10663+
last_write_checksum: sha1:1f2d511b36a2e070a4279bf1d0dc824611709b23
10664+
pristine_git_object: 790d5a2786e11410827317ea1a55bf48d34571f3
1066110665
docs/sdks/oauth/README.mdx:
1066210666
id: 42b5079343d2
1066310667
last_write_checksum: sha1:4a2d77d0749b9430de95a6a1d323367cf5c27151
@@ -10732,8 +10736,8 @@ trackedFiles:
1073210736
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1073310737
pyproject.toml:
1073410738
id: 5d07e7d72637
10735-
last_write_checksum: sha1:12f5b363fe1bde3db1bc563b34aeaf4f0d6a34c0
10736-
pristine_git_object: de523996c7b050a198a351f1cf322a39ee5b3842
10739+
last_write_checksum: sha1:2f924759fc5fd5193d32c0915b8c2a6ff69819db
10740+
pristine_git_object: 47295f170deb1dc65c2f3b1930b9196b59d85790
1073710741
scripts/prepare_readme.py:
1073810742
id: e0c5957a6035
1073910743
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10760,8 +10764,8 @@ trackedFiles:
1076010764
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1076110765
src/openrouter/_version.py:
1076210766
id: d8d15ad6c586
10763-
last_write_checksum: sha1:8c472349c53e12f03c9174198791e9018ce703c4
10764-
pristine_git_object: dadc3297e0de0c290f14b3635f2290b54959af37
10767+
last_write_checksum: sha1:492ecd3ae0fae43fd53c40b02b82bca5b734d025
10768+
pristine_git_object: 7b6327c667d32c6b7b3e3917351f15475aa0ddb4
1076510769
src/openrouter/alpha.py:
1076610770
id: 306c4d93308d
1076710771
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
@@ -14488,8 +14492,8 @@ trackedFiles:
1448814492
pristine_git_object: 5b741456655ff48919d17ffd552a6410f0587966
1448914493
src/openrouter/models_.py:
1449014494
id: 4e1ae1fe5b98
14491-
last_write_checksum: sha1:988ec8ceacdd596451165a662a9f9c15d32b08e5
14492-
pristine_git_object: 0e5a416145a4ad17419518975c284d2ba7f74bc3
14495+
last_write_checksum: sha1:c90581a6d3d68eb2769c9de0d9725a01342fff14
14496+
pristine_git_object: f983b7ea893ccfee590e6b2055d0e5b43dd09f08
1449314497
src/openrouter/oauth.py:
1449414498
id: 1948ce27255b
1449514499
last_write_checksum: sha1:d6470de6325431db64b08ff4468fb2d8ea781c6f
@@ -14500,8 +14504,8 @@ trackedFiles:
1450014504
pristine_git_object: 4a35ede011d09dddab042e2c00413ce4f6be655e
1450114505
src/openrouter/operations/__init__.py:
1450214506
id: 9afcea1e7161
14503-
last_write_checksum: sha1:4e959ebb759123c93e000899931b130d2bc42ad8
14504-
pristine_git_object: b84b6753e694b04ce63fce0e34c7c3cfa5f12658
14507+
last_write_checksum: sha1:65c7067945cdfa8d1d786cb025055b719bc53611
14508+
pristine_git_object: cd182637308e7104b2eac4488000b9bc8eabceab
1450514509
src/openrouter/operations/activateprivateendpoint.py:
1450614510
id: 3b39eec5d66f
1450714511
last_write_checksum: sha1:9406e6b3d38c82895fd795f637702ef579cc6d36
@@ -14928,8 +14932,8 @@ trackedFiles:
1492814932
pristine_git_object: cdde733b97c9b409d550fd58f9d49184d1647f4d
1492914933
src/openrouter/operations/listmodelsuser.py:
1493014934
id: 16eb5946cf60
14931-
last_write_checksum: sha1:1f455b856b8c143fd5e96893bdd2f72aacf98da2
14932-
pristine_git_object: 0d87be124c12ceb8cd1f93b7eeca51e9d404a8b9
14935+
last_write_checksum: sha1:b5eafbaa22689a89bc7d91e55abb46b5122cded1
14936+
pristine_git_object: a934e44d774549b3d4b8cbdba9bebd07d252a9dc
1493314937
src/openrouter/operations/listoauthjwks.py:
1493414938
id: 329ac9d6fa76
1493514939
last_write_checksum: sha1:8d6b08b6637a0ff49f88313a9f1bed03349655f1
@@ -19780,3 +19784,6 @@ examples:
1978019784
"529":
1978119785
application/json: {"error": {"code": 529, "message": "Provider returned error"}}
1978219786
examplesVersion: 1.0.2
19787+
releaseNotes: |
19788+
## Python SDK Changes:
19789+
* `open_router.models.list_for_user()`: `request.client` **Added**

‎.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.99
40+
version: 1.3.100
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47126,6 +47126,19 @@ paths:
4712647126
example: 'newest'
4712747127
type: 'string'
4712847128
x-speakeasy-unknown-values: allow
47129+
- description: 'Filter models and presets by the named harness''s eligibility policy: tool calling is required, and when one of your guardrails sets `enforce_first_party_harness_models`, only the harness vendor''s own models remain (OpenAI for codex, Anthropic for claude_code and claude_desktop). This filter doesn''t apply the harness''s ranking, caps or Claude Desktop model ID aliases, so returned IDs stay routable. One of: claude_code, claude_desktop, codex. Omit it to get every model you can use.'
47130+
in: 'query'
47131+
name: 'client'
47132+
required: false
47133+
schema:
47134+
description: 'Filter models and presets by the named harness''s eligibility policy: tool calling is required, and when one of your guardrails sets `enforce_first_party_harness_models`, only the harness vendor''s own models remain (OpenAI for codex, Anthropic for claude_code and claude_desktop). This filter doesn''t apply the harness''s ranking, caps or Claude Desktop model ID aliases, so returned IDs stay routable. One of: claude_code, claude_desktop, codex. Omit it to get every model you can use.'
47135+
enum:
47136+
- 'claude_code'
47137+
- 'claude_desktop'
47138+
- 'codex'
47139+
example: 'codex'
47140+
type: 'string'
47141+
x-speakeasy-unknown-values: allow
4712947142
responses:
4713047143
'200':
4713147144
content:

‎.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:97afbcb776214521284823795623e95d346af49e78a9d5cb9f3e5f9c800cafb7
6-
sourceBlobDigest: sha256:c68ad003e9bee0f9cde9d2cfeddbaa1eb052d2dd8d26de5fe942dfa716f2a78e
5+
sourceRevisionDigest: sha256:32ea4c71d1cc026c47909f3a7dbeba5a8aaa058da5221ad57628e0a8f6f3e73f
6+
sourceBlobDigest: sha256:f6c865e0940b6265b0c93868d059dceddc83a136c5f915316ae231ae6ef4b092
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:97afbcb776214521284823795623e95d346af49e78a9d5cb9f3e5f9c800cafb7
15-
sourceBlobDigest: sha256:c68ad003e9bee0f9cde9d2cfeddbaa1eb052d2dd8d26de5fe942dfa716f2a78e
14+
sourceRevisionDigest: sha256:32ea4c71d1cc026c47909f3a7dbeba5a8aaa058da5221ad57628e0a8f6f3e73f
15+
sourceBlobDigest: sha256:f6c865e0940b6265b0c93868d059dceddc83a136c5f915316ae231ae6ef4b092
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:6499925dcb8cbc81f32f79a93fa64c48c0d8d9635b354b2fe4f82670bb37376d
17+
codeSamplesRevisionDigest: sha256:72935df278582f5ec42dc61a75d11ce8c7e14328cf699618aa49649e7ac37e12
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
@@ -3759,4 +3759,14 @@ Based on:
37593759
### Generated
37603760
- [python v1.3.99] .
37613761
### Releases
3762-
- [PyPI v1.3.99] https://pypi.org/project/openrouter/1.3.99 - .
3762+
- [PyPI v1.3.99] https://pypi.org/project/openrouter/1.3.99 - .
3763+
3764+
## 2026-10-30 03:49:05
3765+
### Changes
3766+
Based on:
3767+
- OpenAPI Doc
3768+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
3769+
### Generated
3770+
- [python v1.3.100] .
3771+
### Releases
3772+
- [PyPI v1.3.100] https://pypi.org/project/openrouter/1.3.100 - .

‎docs/operations/client.mdx‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: "Client"
3+
---
4+
5+
Filter models and presets by the named harness's eligibility policy: tool calling is required, and when one of your guardrails sets `enforce_first_party_harness_models`, only the harness vendor's own models remain (OpenAI for codex, Anthropic for claude_code and claude_desktop). This filter doesn't apply the harness's ranking, caps or Claude Desktop model ID aliases, so returned IDs stay routable. One of: claude_code, claude_desktop, codex. Omit it to get every model you can use.
6+
7+
## Example Usage
8+
9+
```python
10+
from openrouter.operations import Client
11+
12+
# Open enum: unrecognized values are captured as UnrecognizedStr
13+
value: Client = "claude_code"
14+
```
15+
16+
17+
## Values
18+
19+
This is an open enum. Unrecognized values will not fail type checks.
20+
21+
- `"claude_code"`
22+
- `"claude_desktop"`
23+
- `"codex"`

0 commit comments

Comments
 (0)