Skip to content

Commit d88798a

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.47 (#1064)
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 4319e07 commit d88798a

16 files changed

Lines changed: 104 additions & 38 deletions

‎.speakeasy/gen.lock‎

Lines changed: 27 additions & 27 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: 74a9498efb41dcdc19f8858f4658169d
4+
docChecksum: 590ee4e51c48434290d87d7d96273fd3
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.46
9-
configChecksum: 141159e444382b0c125fa2b6a8fd798c
8+
releaseVersion: 1.3.47
9+
configChecksum: 43543058d993e1988e0a4687cc2e3914
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: 404c369a-769d-4cce-be8f-4439f1911bbb
15-
pristine_commit_hash: e265fdf99a06176f920163b2163367a75c10684c
16-
pristine_tree_hash: 9572ea873592996bd1755d1f82ffe15d96dc2593
14+
generation_id: 83f43f07-025f-44fa-9700-13fee2d23524
15+
pristine_commit_hash: 75d10fe87edad8d0062bddb49cc93772b6d10b4a
16+
pristine_tree_hash: 34256ecd014b2bf3540a66988fb30e8fda2c7da4
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -2508,8 +2508,8 @@ trackedFiles:
25082508
pristine_git_object: 9d28e4c7e863cf97b10b6415b1525aa8871800e2
25092509
docs/components/createguardrailrequest.mdx:
25102510
id: c1a768f054c0
2511-
last_write_checksum: sha1:cea8928fa2aa97f9d157a6c0fbee5b6d8a8ce29e
2512-
pristine_git_object: fbc52a249c5fe348cc05e7597bfe3e0fe77d89b4
2511+
last_write_checksum: sha1:a8119bc205b2be6813253126ce9228f570d1a046
2512+
pristine_git_object: 542a99a54459b90798bf3965572d0e4613bd004f
25132513
docs/components/createguardrailresponse.mdx:
25142514
id: 1477eebdf505
25152515
last_write_checksum: sha1:76bb1fcafda689e9823bb21541c84e7d0bdb991d
@@ -3432,8 +3432,8 @@ trackedFiles:
34323432
pristine_git_object: 6e17644dffb3aef799758f46d5ac781114b58c1f
34333433
docs/components/guardrail.mdx:
34343434
id: 91791d4c83b6
3435-
last_write_checksum: sha1:9b469e162e9f0e8cece5ff0d328ac0c70b66506a
3436-
pristine_git_object: 2f0f384b3ed628f4f4d15f4e3cc461f6808b0d58
3435+
last_write_checksum: sha1:6ee6ddc800b718dbaa8280fead69fdfb9e6f7267
3436+
pristine_git_object: aabdf6952664ef02c85bc6cf32a8b84ff74c5a3d
34373437
docs/components/guardraildataregion.mdx:
34383438
id: d3be2a48aa20
34393439
last_write_checksum: sha1:81f1c0b515e1c1c13432cae9910ce77cb9991507
@@ -7696,8 +7696,8 @@ trackedFiles:
76967696
pristine_git_object: 72a1c5ade4703a295e533f6e12733f464a21ff65
76977697
docs/components/updateguardrailrequest.mdx:
76987698
id: 450912b18db6
7699-
last_write_checksum: sha1:4f48f8b6eca22b5e1ea96814aa9a642655589755
7700-
pristine_git_object: dfd991a99fdac0b0076405d3ba2233d9ecf3cc52
7699+
last_write_checksum: sha1:06d188e2836d12a14af08453a4e460cd9a386294
7700+
pristine_git_object: 254cdd817c57d459580cbb0d3064e5ba407d71ba
77017701
docs/components/updateguardrailresponse.mdx:
77027702
id: e00dc0a0c6e0
77037703
last_write_checksum: sha1:1be70185072640936151f861913c2b89a09d4bab
@@ -10088,8 +10088,8 @@ trackedFiles:
1008810088
pristine_git_object: bc1a56cbb41c8f9114c81b547713632272184da6
1008910089
docs/sdks/guardrails/README.mdx:
1009010090
id: a0cd4218b8fa
10091-
last_write_checksum: sha1:a5ca6ada43eb3b8cdb6c29ed2c1be2a8663a5600
10092-
pristine_git_object: 6fbf9985e512ede6ae14dedcfa421c5b5338ef4f
10091+
last_write_checksum: sha1:6ff1e93f1a874c378bb2cb2f0af40fe081836afc
10092+
pristine_git_object: aab47cc3f4a0f7fc492b790cfd9386eb80582fc1
1009310093
docs/sdks/images/README.mdx:
1009410094
id: 534a6c102c4f
1009510095
last_write_checksum: sha1:82a8bd22fb399fe419076afe29b9234950baf9f9
@@ -10172,8 +10172,8 @@ trackedFiles:
1017210172
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1017310173
pyproject.toml:
1017410174
id: 5d07e7d72637
10175-
last_write_checksum: sha1:3a7148e3325f6ae7604aec17d8cf09b6871117a2
10176-
pristine_git_object: 951c4e488ab00fa2ca68fd1226f382e44e225576
10175+
last_write_checksum: sha1:f302387820de8ea5d8f9976723fedac23ff3786f
10176+
pristine_git_object: c13e96323f81df701de49f39ffdae63fdcc8893b
1017710177
scripts/prepare_readme.py:
1017810178
id: e0c5957a6035
1017910179
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10200,8 +10200,8 @@ trackedFiles:
1020010200
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1020110201
src/openrouter/_version.py:
1020210202
id: d8d15ad6c586
10203-
last_write_checksum: sha1:4bf11cf5cf55b3b9a3928b6ccbebc1bfb4b3cf67
10204-
pristine_git_object: 8022b124ae2919285f485ab56f62a5268b751705
10203+
last_write_checksum: sha1:25bedf5803d4341014f4cee51fc80909b92ac722
10204+
pristine_git_object: 6c070152cd0c3bef0f757441bef2303b262fa377
1020510205
src/openrouter/alpha.py:
1020610206
id: 306c4d93308d
1020710207
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -11308,8 +11308,8 @@ trackedFiles:
1130811308
pristine_git_object: be0ce3784071a98e96fe996eb9da24455af72ac8
1130911309
src/openrouter/components/createguardrailrequest.py:
1131011310
id: 34d69149fb33
11311-
last_write_checksum: sha1:68757e5b5d1f5f2a5ff07d8dc460032321e49b21
11312-
pristine_git_object: 77ce30da985f3a890aaadca0cefdf7492d011074
11311+
last_write_checksum: sha1:27e7f5d3c168e26855988ff24ce8d25ce39a9d82
11312+
pristine_git_object: 8185633aa3d3df59d410f2bd4e38b402de1f0808
1131311313
src/openrouter/components/createguardrailresponse.py:
1131411314
id: b4e1bdf1de5b
1131511315
last_write_checksum: sha1:ae20a5e7425510c240e5697d847b1cae65940bd6
@@ -11740,8 +11740,8 @@ trackedFiles:
1174011740
pristine_git_object: 1268e32c9058ed4feb7482458a64366c56201676
1174111741
src/openrouter/components/guardrail.py:
1174211742
id: 67ee78dd06e6
11743-
last_write_checksum: sha1:062a4f1c5ad066e1da29856f5dce1b5ba60b0c3c
11744-
pristine_git_object: 60bef2177a15cc42ade160dca9b4933ecdce6ecb
11743+
last_write_checksum: sha1:a1c6a71826af7c0ad5fa1e9ef08871c2b9bed566
11744+
pristine_git_object: 1e8c4fd2799b1f87437771d0e3f323c89ac585e4
1174511745
src/openrouter/components/guardraildataregion.py:
1174611746
id: 16c31f1446b2
1174711747
last_write_checksum: sha1:52b5622a7c93a30219108f033ab0e3fbb3a396f7
@@ -13456,8 +13456,8 @@ trackedFiles:
1345613456
pristine_git_object: 0a8dcb3fb8d9c0c80159a622246dff4a3110bb1b
1345713457
src/openrouter/components/updateguardrailrequest.py:
1345813458
id: 6a557cd822a0
13459-
last_write_checksum: sha1:0894e7041ba0f23258b1234428049f20c4ea3500
13460-
pristine_git_object: 17311e522a8109c9c9c99808f0701da0df389ce5
13459+
last_write_checksum: sha1:a22716af2dc5e2cea5413b44e24146d136b98b2e
13460+
pristine_git_object: 3304e76e02b104d35d3cd5124d42345ec4c084ba
1346113461
src/openrouter/components/updateguardrailresponse.py:
1346213462
id: 7b068d26ce31
1346313463
last_write_checksum: sha1:2b63cbb90747f07f775d9a22e80f74c67221fea8
@@ -13824,8 +13824,8 @@ trackedFiles:
1382413824
pristine_git_object: 5698c384a36929846530cae98f69ce83a0966217
1382513825
src/openrouter/guardrails.py:
1382613826
id: 705839f34e66
13827-
last_write_checksum: sha1:4771ac29e1010c57efa8bf7ead0a4bcef18552e6
13828-
pristine_git_object: f615049517074fbcc71b755e351efda8411810aa
13827+
last_write_checksum: sha1:c14a1e1b1721f4810239d1c8ecb08a7c2ef03cc3
13828+
pristine_git_object: 17cae7153e003ded426dda8ce51995d3479f0980
1382913829
src/openrouter/httpclient.py:
1383013830
id: e9311185443d
1383113831
last_write_checksum: sha1:5e55338d6ee9f01ab648cad4380201a8a3da7dd7
@@ -18576,4 +18576,4 @@ examples:
1857618576
"500":
1857718577
application/json: {"error": {"code": 404, "message": "Intern not found"}}
1857818578
examplesVersion: 1.0.2
18579-
releaseNotes: "## Python SDK Changes:\n* `open_router.guardrails.list()`: `response.data[].allow_safety_retention_google` **Added**\n* `open_router.guardrails.create()`: \n * `request.allow_safety_retention_google` **Added**\n * `response.data.allow_safety_retention_google` **Added**\n* `open_router.guardrails.get()`: `response.data.allow_safety_retention_google` **Added**\n* `open_router.guardrails.update()`: \n * `request.allow_safety_retention_google` **Added**\n * `response.data.allow_safety_retention_google` **Added**\n"
18579+
releaseNotes: "## Python SDK Changes:\n* `open_router.guardrails.list()`: `response.data[].allow_safety_retention_other` **Added**\n* `open_router.guardrails.create()`: \n * `request.allow_safety_retention_other` **Added**\n * `response.data.allow_safety_retention_other` **Added**\n* `open_router.guardrails.get()`: `response.data.allow_safety_retention_other` **Added**\n* `open_router.guardrails.update()`: \n * `request.allow_safety_retention_other` **Added**\n * `response.data.allow_safety_retention_other` **Added**\n"

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

‎.speakeasy/out.openapi.yaml‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9476,6 +9476,12 @@ components:
94769476
type:
94779477
- 'boolean'
94789478
- 'null'
9479+
allow_safety_retention_other:
9480+
description: 'Whether ZDR-only requests to models outside the named providers (for example open-weight models on Vertex) may use endpoints that may retain prompts for safety monitoring. false allows only zero-retention endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.'
9481+
example: true
9482+
type:
9483+
- 'boolean'
9484+
- 'null'
94799485
allowed_data_regions:
94809486
description: 'Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.'
94819487
example:
@@ -13159,6 +13165,12 @@ components:
1315913165
type:
1316013166
- 'boolean'
1316113167
- 'null'
13168+
allow_safety_retention_other:
13169+
description: 'Whether ZDR-only requests to models outside the named providers (for example open-weight models on Vertex) may use endpoints that may retain prompts for safety monitoring. false allows only zero-retention endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.'
13170+
example: true
13171+
type:
13172+
- 'boolean'
13173+
- 'null'
1316213174
allowed_data_regions:
1316313175
description: 'Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value.'
1316413176
example:
@@ -32029,6 +32041,12 @@ components:
3202932041
type:
3203032042
- 'boolean'
3203132043
- 'null'
32044+
allow_safety_retention_other:
32045+
description: 'Whether ZDR-only requests to models outside the named providers (for example open-weight models on Vertex) may use endpoints that may retain prompts for safety monitoring. false allows only zero-retention endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.'
32046+
example: false
32047+
type:
32048+
- 'boolean'
32049+
- 'null'
3203232050
allowed_data_regions:
3203332051
description: 'Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.'
3203432052
example:

‎.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:de5eab99c6123c08b364e967487823545df9a1fe5c2a2ce0678ebf4e116abca9
6-
sourceBlobDigest: sha256:11101d2d34fa1e9d2006637fab5215e8cd2c9d0917bde662bd78a7b5a4c75c44
5+
sourceRevisionDigest: sha256:161f42347988ac28380d846491ee22302d2bb7500e2563f9e60d2ea1afa3685e
6+
sourceBlobDigest: sha256:5f61af4b012495c01f9b365572e3b3b64003c76a7458f3c6941a8312885741da
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:de5eab99c6123c08b364e967487823545df9a1fe5c2a2ce0678ebf4e116abca9
15-
sourceBlobDigest: sha256:11101d2d34fa1e9d2006637fab5215e8cd2c9d0917bde662bd78a7b5a4c75c44
14+
sourceRevisionDigest: sha256:161f42347988ac28380d846491ee22302d2bb7500e2563f9e60d2ea1afa3685e
15+
sourceBlobDigest: sha256:5f61af4b012495c01f9b365572e3b3b64003c76a7458f3c6941a8312885741da
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:4f0e18ce320b7957dfa9ed66a7d40776302827786ef1dc369ddfc5be3c406ab1
17+
codeSamplesRevisionDigest: sha256:4ee6d292ec8a87493261eaa23428212f507c14960539f8a1d21be53716eda2ab
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
@@ -3229,4 +3229,14 @@ Based on:
32293229
### Generated
32303230
- [python v1.3.46] .
32313231
### Releases
3232-
- [PyPI v1.3.46] https://pypi.org/project/openrouter/1.3.46 - .
3232+
- [PyPI v1.3.46] https://pypi.org/project/openrouter/1.3.46 - .
3233+
3234+
## 2026-10-13 22:13:27
3235+
### Changes
3236+
Based on:
3237+
- OpenAPI Doc
3238+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
3239+
### Generated
3240+
- [python v1.3.47] .
3241+
### Releases
3242+
- [PyPI v1.3.47] https://pypi.org/project/openrouter/1.3.47 - .

0 commit comments

Comments
 (0)