Skip to content

Commit fb8d0b5

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

13 files changed

Lines changed: 261 additions & 49 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 30 additions & 17 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: 8468014ae21c6d6b2cfe530ed4223f06
4+
docChecksum: 1c6c707c5466d1fb0e85c3fcc78925f8
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.82
9-
configChecksum: 0fd9dd77f08c999b63282b5c5177726c
8+
releaseVersion: 1.3.83
9+
configChecksum: 045ab02bef0b678da1d8aa8a2a5e3004
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: a2a88003-7157-430f-b02e-6387210a5301
15-
pristine_commit_hash: 98a14e7115503da2434094192c1a041349db476b
16-
pristine_tree_hash: 8d08efaebbc18f992f0faa62293f44f91b302d85
14+
generation_id: bd3d8c62-ebd6-431d-998a-b0fd3968fc8a
15+
pristine_commit_hash: 67c259ba248abe8fe6937b9f3be694f01f927a35
16+
pristine_tree_hash: 4ace05f29115f4cbe42d145c2b7270d022ad58ec
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -1322,6 +1322,10 @@ trackedFiles:
13221322
id: c457db82a4ac
13231323
last_write_checksum: sha1:eda63702a1bab370efe326a661950ea0b864169e
13241324
pristine_git_object: ef98b1de499df79940ccacaf5da0be2d635b104e
1325+
docs/components/authmode.mdx:
1326+
id: 7af44811cd7d
1327+
last_write_checksum: sha1:58ff1c8059d69e927c42e2c2fc3305c70a046c50
1328+
pristine_git_object: da46605300064ce28cf815b6a2841a5e22c2e82e
13251329
docs/components/autobetarouterplugin.mdx:
13261330
id: 036f0e51d7c9
13271331
last_write_checksum: sha1:eb214c8c4642dbacc5d5ddfda593b0c87bb4e976
@@ -4876,8 +4880,8 @@ trackedFiles:
48764880
pristine_git_object: 2de0187cd759280f723333c6e6ba95ad4d2ae2bd
48774881
docs/components/observabilitys3destinationconfig.mdx:
48784882
id: 040367f19dfe
4879-
last_write_checksum: sha1:063638b494568601ae5043fa24f40cbac6a1b641
4880-
pristine_git_object: 3974209559c2b3f15d0a3108b9849815a3dd97bb
4883+
last_write_checksum: sha1:6f577fd48644c931713c67fd5f07e0569114be88
4884+
pristine_git_object: ffd7785c00a3a93f29f7150a699061c124931575
48814885
docs/components/observabilitys3destinationtype.mdx:
48824886
id: 8279c13af28f
48834887
last_write_checksum: sha1:10cea4da23cb74039112d0a531eee503e1a760df
@@ -6226,6 +6230,10 @@ trackedFiles:
62266230
id: 75786e3aa079
62276231
last_write_checksum: sha1:9af190f60239a910768092d5ed8342ed7aed4ebd
62286232
pristine_git_object: e4103b29b85cafaf653bf8f71bd8e12278a16fa8
6233+
docs/components/providerenum.mdx:
6234+
id: 3065d8db71f9
6235+
last_write_checksum: sha1:8adf2339eb304261db4be5001a8e3cf7ea449e2f
6236+
pristine_git_object: 70dcf1b583a3d202157814d8bd4f3c8f7811d0d9
62296237
docs/components/providername.mdx:
62306238
id: aa3a4904b228
62316239
last_write_checksum: sha1:e2a84dbc4284448764b55b2ed907ea0a48a09bd5
@@ -10052,8 +10060,8 @@ trackedFiles:
1005210060
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1005310061
pyproject.toml:
1005410062
id: 5d07e7d72637
10055-
last_write_checksum: sha1:30f518c065a2035ceb1922db0ed2d4c721e5ae9e
10056-
pristine_git_object: e055e6ffdb236bd945862219a1496ff051c9565e
10063+
last_write_checksum: sha1:7bf735478be2806297e53ef9fe5ed6b51b87d4da
10064+
pristine_git_object: 15399be72216a8119c6356435edb4c36408e7f62
1005710065
scripts/prepare_readme.py:
1005810066
id: e0c5957a6035
1005910067
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10080,8 +10088,8 @@ trackedFiles:
1008010088
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1008110089
src/openrouter/_version.py:
1008210090
id: d8d15ad6c586
10083-
last_write_checksum: sha1:87b47c2646ed28bff3c322234619bad2e187dbb3
10084-
pristine_git_object: 0c690e1a9771bdfd13c2432ae60c83b287c06729
10091+
last_write_checksum: sha1:d712bd32457db4c579ae6c85c5b9570e8b8137cb
10092+
pristine_git_object: 82ca016553de358467d5d6a26497049f6d33ad76
1008510093
src/openrouter/alpha.py:
1008610094
id: 306c4d93308d
1008710095
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -10128,8 +10136,8 @@ trackedFiles:
1012810136
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
1012910137
src/openrouter/components/__init__.py:
1013010138
id: 81754e97b3f4
10131-
last_write_checksum: sha1:7e3f1389dc13717a35ed760c9186fc7819a8242b
10132-
pristine_git_object: 27a498a5fc24d45b93b7c86171d4b0707fa6ce1d
10139+
last_write_checksum: sha1:0adc9b2e076c2f45193cfadb4b7f6923a54178e4
10140+
pristine_git_object: 66f727d993f7230d54452ba0bc46b15bd2d8f514
1013310141
src/openrouter/components/aabenchmarkentry.py:
1013410142
id: e2e0f0b48c82
1013510143
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -12152,8 +12160,8 @@ trackedFiles:
1215212160
pristine_git_object: 96356019658ed556dcb141ba8fffeea595687aac
1215312161
src/openrouter/components/observabilitys3destination.py:
1215412162
id: 2022d25fe7d6
12155-
last_write_checksum: sha1:2750f3cbf434831a16002b0b449a22d3bf14c920
12156-
pristine_git_object: 1c1ede2857cdfa9c4193d8b19d9a0f90aaff4d1b
12163+
last_write_checksum: sha1:2d4dad841e9df73fcec61bfc673fe158a2a24643
12164+
pristine_git_object: 1364fb168a10dc8f936470194732cdfe10ae969b
1215712165
src/openrouter/components/observabilitysentrydestination.py:
1215812166
id: d27b8b37d1f8
1215912167
last_write_checksum: sha1:02be4646d9f95b8e97417722157ff9f6e55fca0a
@@ -18673,4 +18681,9 @@ examples:
1867318681
"500":
1867418682
application/json: {"error": {"code": 404, "message": "Intern not found"}}
1867518683
examplesVersion: 1.0.2
18676-
releaseNotes: "## Python SDK Changes:\n* `open_router.presets.create_presets_messages()`: \n * `request.messages[].content.union(Array<>)[].union(tool_addition).tool.union(tool_definition)` **Added**\n"
18684+
releaseNotes: |
18685+
## Python SDK Changes:
18686+
* `open_router.observability.list()`: `response.data[].union(s3).config` **Changed**
18687+
* `open_router.observability.create()`: `response.data.union(s3).config` **Changed**
18688+
* `open_router.observability.get()`: `response.data.union(s3).config` **Changed**
18689+
* `open_router.observability.update()`: `response.data.union(s3).config` **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: 1.3.82
39+
version: 1.3.83
4040
additionalDependencies:
4141
dev:
4242
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 74 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20842,13 +20842,51 @@ components:
2084220842
accessKeyId:
2084320843
minLength: 1
2084420844
type: 'string'
20845+
visibleWhen:
20846+
- field: 'authMode'
20847+
in:
20848+
- 'access_keys'
20849+
- ''
20850+
authMode:
20851+
default: 'access_keys'
20852+
description: 'IAM role: OpenRouter assumes a role in your AWS account with short-lived STS credentials, so you don''t share long-lived keys.'
20853+
enum:
20854+
- 'access_keys'
20855+
- 'iam_role'
20856+
optionLabels:
20857+
access_keys: 'Access keys'
20858+
iam_role: 'IAM role'
20859+
type: 'string'
20860+
visibleWhen:
20861+
- field: 'provider'
20862+
in:
20863+
- 'aws'
20864+
x-speakeasy-unknown-values: allow
2084520865
bucketName:
2084620866
minLength: 1
2084720867
type: 'string'
2084820868
endpoint:
2084920869
description: 'Only for S3-compatible services like Cloudflare R2 (https://account-id.r2.cloudflarestorage.com) or MinIO. Leave blank for standard AWS S3.'
2085020870
format: 'uri'
2085120871
type: 'string'
20872+
visibleWhen:
20873+
- field: 'provider'
20874+
in:
20875+
- 'cloudflare_r2'
20876+
- 'gcs'
20877+
- 'other'
20878+
- ''
20879+
externalId:
20880+
description: 'Generated by OpenRouter when you save. Require it as sts:ExternalId in your role''s trust policy.'
20881+
readOnly: true
20882+
type: 'string'
20883+
visibleWhen:
20884+
- field: 'provider'
20885+
in:
20886+
- 'aws'
20887+
- field: 'authMode'
20888+
in:
20889+
- 'iam_role'
2085220890
headers:
2085320891
additionalProperties:
2085420892
type: 'string'
@@ -20861,17 +20899,51 @@ components:
2086120899
prefix:
2086220900
default: 'openrouter-traces'
2086320901
type: 'string'
20902+
provider:
20903+
description: 'The object storage service that hosts the bucket. AWS S3 supports IAM role authentication; the other providers use access keys.'
20904+
enum:
20905+
- 'aws'
20906+
- 'cloudflare_r2'
20907+
- 'gcs'
20908+
- 'other'
20909+
optionLabels:
20910+
aws: 'AWS S3'
20911+
cloudflare_r2: 'Cloudflare R2'
20912+
gcs: 'Google Cloud Storage'
20913+
other: 'Other S3-compatible'
20914+
type: 'string'
20915+
x-speakeasy-unknown-values: allow
2086420916
region:
20917+
description: 'Required for IAM role authentication. With access keys, AWS S3 detects the bucket region when you leave this blank.'
20918+
type: 'string'
20919+
roleArn:
20920+
description: 'The IAM role in your account that OpenRouter assumes. Its trust policy must allow sts:AssumeRole from arn:aws:iam::536697249728:role/openrouter-broadcast-exporter and require the external ID below, and its permissions must allow s3:PutObject on the bucket and prefix (plus kms:GenerateDataKey for SSE-KMS buckets).'
20921+
pattern: '^arn:aws(?:-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@/-]{1,512}$'
2086520922
type: 'string'
20923+
visibleWhen:
20924+
- field: 'provider'
20925+
in:
20926+
- 'aws'
20927+
- field: 'authMode'
20928+
in:
20929+
- 'iam_role'
2086620930
secretAccessKey:
2086720931
minLength: 1
2086820932
type: 'string'
20933+
visibleWhen:
20934+
- field: 'authMode'
20935+
in:
20936+
- 'access_keys'
20937+
- ''
2086920938
sessionToken:
2087020939
type: 'string'
20940+
visibleWhen:
20941+
- field: 'authMode'
20942+
in:
20943+
- 'access_keys'
20944+
- ''
2087120945
required:
2087220946
- 'bucketName'
20873-
- 'accessKeyId'
20874-
- 'secretAccessKey'
2087520947
type: 'object'
2087620948
created_at:
2087720949
description: 'ISO timestamp of when the destination was created.'

‎.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:038e56b2c3b2cf3c81df89a8a2313957f3613b5e3b0094187e084dc2e8e7e27a
6-
sourceBlobDigest: sha256:60ac6a4d7eaa2d67c97a0a2ebe4b776a40ebf0674fa3e717fa9a67f8920fbd45
5+
sourceRevisionDigest: sha256:ae57d6e79c415b3724a00d445a652cdf81bf8dcc80e35cdf17abf28c3256c47e
6+
sourceBlobDigest: sha256:640f9897e616ccbb3990bd0b3af52557683829d0a7dd20f1497a477bcec7d9df
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:038e56b2c3b2cf3c81df89a8a2313957f3613b5e3b0094187e084dc2e8e7e27a
15-
sourceBlobDigest: sha256:60ac6a4d7eaa2d67c97a0a2ebe4b776a40ebf0674fa3e717fa9a67f8920fbd45
14+
sourceRevisionDigest: sha256:ae57d6e79c415b3724a00d445a652cdf81bf8dcc80e35cdf17abf28c3256c47e
15+
sourceBlobDigest: sha256:640f9897e616ccbb3990bd0b3af52557683829d0a7dd20f1497a477bcec7d9df
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:d96edd7519c09a0538c39859014b269f5c03fbab1e4ac43c85342e72a7656b7d
17+
codeSamplesRevisionDigest: sha256:2570859003af791de7fd54409f3da367025c94b61e056a5ecf3a01d8ad324e17
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
@@ -3589,4 +3589,14 @@ Based on:
35893589
### Generated
35903590
- [python v1.3.82] .
35913591
### Releases
3592-
- [PyPI v1.3.82] https://pypi.org/project/openrouter/1.3.82 - .
3592+
- [PyPI v1.3.82] https://pypi.org/project/openrouter/1.3.82 - .
3593+
3594+
## 2026-10-27 00:13:32
3595+
### Changes
3596+
Based on:
3597+
- OpenAPI Doc
3598+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
3599+
### Generated
3600+
- [python v1.3.83] .
3601+
### Releases
3602+
- [PyPI v1.3.83] https://pypi.org/project/openrouter/1.3.83 - .

‎docs/components/authmode.mdx‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "AuthMode"
3+
---
4+
5+
IAM role: OpenRouter assumes a role in your AWS account with short-lived STS credentials, so you don't share long-lived keys.
6+
7+
## Example Usage
8+
9+
```python
10+
from openrouter.components import AuthMode
11+
12+
# Open enum: unrecognized values are captured as UnrecognizedStr
13+
value: AuthMode = "access_keys"
14+
```
15+
16+
17+
## Values
18+
19+
This is an open enum. Unrecognized values will not fail type checks.
20+
21+
- `"access_keys"`
22+
- `"iam_role"`

0 commit comments

Comments
 (0)