Skip to content

Commit 0305e47

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.89 (#1159)
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 5256532 commit 0305e47

18 files changed

Lines changed: 122 additions & 135 deletions

‎.speakeasy/gen.lock‎

Lines changed: 33 additions & 32 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: cd38c6b0d27bcda4e77540ad94350fdb
4+
docChecksum: 86b31e3b2783aea03e8fc172cc5f1fdb
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.88
9-
configChecksum: d1cff2367bbdfc279716b7345e547534
8+
releaseVersion: 1.3.89
9+
configChecksum: 79444ec5d345ecb016134f29890143fa
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: bb412b4e-2fe5-4d0c-8ebf-6bdde22a0c76
15-
pristine_commit_hash: 1410a7fa153b2a0816765e3ae07af0181bc7ba56
16-
pristine_tree_hash: 5232527313cc402469351b106c223d7c98c296c4
14+
generation_id: bd7bd74d-54e4-469f-9a1a-9f9cfe0423d3
15+
pristine_commit_hash: 6971b1e0667bf50768e507536f98d635a5aff5f6
16+
pristine_tree_hash: a3141f649c56f66affe20225a37b981107587e44
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -1904,12 +1904,8 @@ trackedFiles:
19041904
pristine_git_object: eee9489fd2c3f15a7cc6525688a5b0cd12839e10
19051905
docs/components/chatdevelopermessage.mdx:
19061906
id: 36556ee902ee
1907-
last_write_checksum: sha1:ea18be20bcb2210f450165c0791725485bfaa924
1908-
pristine_git_object: 3db8a03b39f47e61b924319f2aeb2cbec522d7ea
1909-
docs/components/chatdevelopermessageconfigurationupdate.mdx:
1910-
id: d9f8b151accf
1911-
last_write_checksum: sha1:fd0f3db2afacb6414e356244691b3408d9dd3282
1912-
pristine_git_object: f4dfd91b7aad64da9fe2196b3e1dc341b6757f01
1907+
last_write_checksum: sha1:b3b3bd94d65b90cce50a8d5590e7171b6985fe37
1908+
pristine_git_object: 5f8ccf3bcc4e949a58ac207d17a20c3c6495dfcf
19131909
docs/components/chatdevelopermessagecontent.mdx:
19141910
id: 0f36d5e7c6ff
19151911
last_write_checksum: sha1:fe6c792d0d0f647b8894543c23df0d59a34f3c54
@@ -2104,12 +2100,8 @@ trackedFiles:
21042100
pristine_git_object: 602231cf40fe0c66347bd13dd158bd75741c0759
21052101
docs/components/chatsystemmessage.mdx:
21062102
id: fd74aa853b84
2107-
last_write_checksum: sha1:b09948ed9a49c74cef962b379da78d3b71b86efb
2108-
pristine_git_object: d904f59d23eac44202b78b5a722bf8de0f0c7de6
2109-
docs/components/chatsystemmessageconfigurationupdate.mdx:
2110-
id: f1296b6e2ca4
2111-
last_write_checksum: sha1:9b6d014e6fda8b399db9265c856bf108a57921e7
2112-
pristine_git_object: 31dd268a4edfa81004b2f81c576d0164acd81623
2103+
last_write_checksum: sha1:05d7836f4113a8d872c73bcf67d510f2bf3aa788
2104+
pristine_git_object: d6912ab69f634bc043cebb4b2d68ff57d1dbfce9
21132105
docs/components/chatsystemmessagecontent.mdx:
21142106
id: a26e029e8e60
21152107
last_write_checksum: sha1:475985246731f53936fe0e0b4d6557c54f201ed1
@@ -2338,6 +2330,10 @@ trackedFiles:
23382330
id: e4aadaca19bc
23392331
last_write_checksum: sha1:d7024f63ad66f7701809f41907d35f4b08e21c2b
23402332
pristine_git_object: 37199a7b510c1e9fcb61566fb1ca2dc3d6a5428b
2333+
docs/components/configurationupdate.mdx:
2334+
id: c5bb9102459b
2335+
last_write_checksum: sha1:5fa67e44debc152fadb56afc34a1c5a01b28b408
2336+
pristine_git_object: 4d93c3ccf46db8d2cc949cfab62f8e020a76ab51
23412337
docs/components/configurationupdateitem.mdx:
23422338
id: c118c80819dc
23432339
last_write_checksum: sha1:3a492618aab7f070429ce0b06d27ef33814c3fd1
@@ -8040,8 +8036,8 @@ trackedFiles:
80408036
pristine_git_object: a7be3b3d7329f05b2811e9961bd15903541be69b
80418037
docs/components/websearchstatus.mdx:
80428038
id: 10ad5bbdde7e
8043-
last_write_checksum: sha1:9c9476967dc3135c6443efb573c474acab396a33
8044-
pristine_git_object: d24fe5f411ca8e3bcbaad9e364d7e7613bc8aa0f
8039+
last_write_checksum: sha1:3d1ba5bb9ab82deb6fc1660fd9c8799074f6f6a3
8040+
pristine_git_object: 8656487f961f11ef75d2a81ddbb272b43047721e
80458041
docs/components/websearchuserlocation.mdx:
80468042
id: 472951d8225f
80478043
last_write_checksum: sha1:7342cfe19e978ced434c23766ef8cd796198db49
@@ -10092,8 +10088,8 @@ trackedFiles:
1009210088
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1009310089
pyproject.toml:
1009410090
id: 5d07e7d72637
10095-
last_write_checksum: sha1:2a16a4502bcbee9ef1d45cc1f19175adb18e322f
10096-
pristine_git_object: 24ac149e97d2adfcb641dec2efad2c6435bd4564
10091+
last_write_checksum: sha1:35fa0d4fa14345f3b6ae2c7073d35ac4ab9a5736
10092+
pristine_git_object: b54878e93a0e105a2f82c943267ffab705fde30c
1009710093
scripts/prepare_readme.py:
1009810094
id: e0c5957a6035
1009910095
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10120,8 +10116,8 @@ trackedFiles:
1012010116
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1012110117
src/openrouter/_version.py:
1012210118
id: d8d15ad6c586
10123-
last_write_checksum: sha1:9e1d8ca2afd40003e6910774558ff0dd37158b53
10124-
pristine_git_object: 98e806f8952505654ba3d620943826b6deac374f
10119+
last_write_checksum: sha1:699011b685b1b27f19c534dd739e7fdb8f9c4d29
10120+
pristine_git_object: e104c6481a0a6c5c503ba845b57811343e3b98cb
1012510121
src/openrouter/alpha.py:
1012610122
id: 306c4d93308d
1012710123
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -10168,8 +10164,8 @@ trackedFiles:
1016810164
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
1016910165
src/openrouter/components/__init__.py:
1017010166
id: 81754e97b3f4
10171-
last_write_checksum: sha1:ff2ae7aba9e0c4395dc30c0289a485748e018ddf
10172-
pristine_git_object: 6c4602a164f4131db1e6686b3124baf1723a3390
10167+
last_write_checksum: sha1:df294a97d609fccb6bf824446197837f79308f94
10168+
pristine_git_object: 5dea727121dee0edfa40de7fdb1bc731753167b7
1017310169
src/openrouter/components/aabenchmarkentry.py:
1017410170
id: e2e0f0b48c82
1017510171
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -10964,8 +10960,8 @@ trackedFiles:
1096410960
pristine_git_object: 309df1015b07e05ad2d692ed73ef1224535e8582
1096510961
src/openrouter/components/chatdevelopermessage.py:
1096610962
id: bcba94e8d19a
10967-
last_write_checksum: sha1:f45ebe02bdd4169102a49a3365f1067d9f936d8d
10968-
pristine_git_object: 59d993da3b8e9d67cd9d9378a189f9a27b9b79dd
10963+
last_write_checksum: sha1:60b2eb8ccd9a16045a7c40c86be0cc86c8fd7474
10964+
pristine_git_object: 68ab93fde1f96d599c1cb6de63dc5cca8a3610bb
1096910965
src/openrouter/components/chatdynamicservertool.py:
1097010966
id: ebd380d84eb9
1097110967
last_write_checksum: sha1:ba1487cd474edaffa46f52bbbe7673dabf3bed86
@@ -11056,8 +11052,8 @@ trackedFiles:
1105611052
pristine_git_object: 936fefc210c5b6b9e94ea708035b085b59aed2f4
1105711053
src/openrouter/components/chatsystemmessage.py:
1105811054
id: 72524b9ccaed
11059-
last_write_checksum: sha1:110e3e706bba5d21b4722ec9b13f8024aff1470e
11060-
pristine_git_object: 61a1b8eb15b56f372562c0a8f923a9a082e11957
11055+
last_write_checksum: sha1:8dd6757196495cc958b758d876058f8b20fccc88
11056+
pristine_git_object: 268361e7935348717941de77e6033d3b4b6f6d36
1106111057
src/openrouter/components/chattokenlogprob.py:
1106211058
id: 6ddf9cf44f5a
1106311059
last_write_checksum: sha1:75641fdaddc42fea10d46e9974c051f3393ff94c
@@ -11146,6 +11142,10 @@ trackedFiles:
1114611142
id: 10d96ee539dc
1114711143
last_write_checksum: sha1:303bd561791e19e9f90b5f827dd4b48383c7560b
1114811144
pristine_git_object: 142b18a2755af4d57085b1086bb3ad45286e37c1
11145+
src/openrouter/components/configurationupdate.py:
11146+
id: 07a8def2ad6a
11147+
last_write_checksum: sha1:bf4493b0df830700f4051b914f1202fe683018a4
11148+
pristine_git_object: 8ffb2715962af2bf2edcf99b1ca0c6588c55cf32
1114911149
src/openrouter/components/configurationupdateitem.py:
1115011150
id: c4b8a6acaa9c
1115111151
last_write_checksum: sha1:8983a895f7c6e57c4ed90f8da530092d84c91b9d
@@ -13472,8 +13472,8 @@ trackedFiles:
1347213472
pristine_git_object: 13e5a78c446eb248e95c1af3f2424c99d577d391
1347313473
src/openrouter/components/websearchstatus.py:
1347413474
id: 639330492ee8
13475-
last_write_checksum: sha1:bd1285ae6b8fb2695468777c7b22d94ce06b520e
13476-
pristine_git_object: a607c88285f5f8b8e0f057750cde1b6cd14244df
13475+
last_write_checksum: sha1:36068373c2530261a2d60916de40156e9403ce57
13476+
pristine_git_object: 71ba89cf6551c87c4c9c55c32a131bb6bc585aaf
1347713477
src/openrouter/components/websearchuserlocation.py:
1347813478
id: 26eff9609a46
1347913479
last_write_checksum: sha1:30cfffec9ed7c8c74a3e3efb721b8c2376ea1e3a
@@ -18781,3 +18781,4 @@ examples:
1878118781
"502":
1878218782
application/json: {"error": {"code": 502, "message": "Provider returned error"}}
1878318783
examplesVersion: 1.0.2
18784+
releaseNotes: "## Python SDK Changes:\n* `open_router.batch.create_batches()`: `response.results[].response.body.union(OpenResponsesResult).error.metadata.alignment.rejected.union(Array<AlignmentResponsesRejected>)[].union(web_search_call).status.enum(incomplete)` **Added**\n* `open_router.batch.get_batches()`: `response.results[].response.body.union(OpenResponsesResult).error.metadata.alignment.rejected.union(Array<AlignmentResponsesRejected>)[].union(web_search_call).status.enum(incomplete)` **Added**\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(OutputFileSearchCallItem).status.enum(incomplete)` **Added**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[].union(OutputWebSearchCallItem).status.enum(incomplete)` **Added**\n * `response` **Changed**\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(OutputWebSearchCallItem).status.enum(incomplete)` **Added**\n * `response` **Changed**\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.88
39+
version: 1.3.89
4040
additionalDependencies:
4141
dev:
4242
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7476,19 +7476,14 @@ components:
74767476
role: 'developer'
74777477
properties:
74787478
configuration_update:
7479-
additionalProperties: false
7479+
anyOf:
7480+
- $ref: '#/components/schemas/ConfigurationUpdate'
7481+
- type: 'null'
7482+
- type: 'null'
74807483
description: 'OpenRouter extension. Same as the system message `configuration_update`: changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding turns.'
74817484
example:
74827485
reasoning:
74837486
effort: 'low'
7484-
properties:
7485-
reasoning:
7486-
$ref: '#/components/schemas/ConfigurationUpdateReasoning'
7487-
required:
7488-
- 'reasoning'
7489-
type:
7490-
- 'object'
7491-
- 'null'
74927487
content:
74937488
anyOf:
74947489
- type: 'string'
@@ -8496,19 +8491,14 @@ components:
84968491
role: 'system'
84978492
properties:
84988493
configuration_update:
8499-
additionalProperties: false
8494+
anyOf:
8495+
- $ref: '#/components/schemas/ConfigurationUpdate'
8496+
- type: 'null'
8497+
- type: 'null'
85008498
description: 'OpenRouter extension. Changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding turns. Place it on a content-less system message (`content: ""`) directly before the user message it should apply to, and keep it at that position in later requests. Equivalent to the OpenAI Responses `configuration_update` input item and the Anthropic Messages per-message `output_config.effort`.'
85018499
example:
85028500
reasoning:
85038501
effort: 'low'
8504-
properties:
8505-
reasoning:
8506-
$ref: '#/components/schemas/ConfigurationUpdateReasoning'
8507-
required:
8508-
- 'reasoning'
8509-
type:
8510-
- 'object'
8511-
- 'null'
85128502
content:
85138503
anyOf:
85148504
- type: 'string'
@@ -9213,6 +9203,18 @@ components:
92139203
- 'display_width'
92149204
- 'environment'
92159205
type: 'object'
9206+
ConfigurationUpdate:
9207+
additionalProperties: false
9208+
description: 'Mid-conversation configuration update. Changes reasoning effort from this point onward without invalidating the prompt cache for the preceding turns.'
9209+
example:
9210+
reasoning:
9211+
effort: 'low'
9212+
properties:
9213+
reasoning:
9214+
$ref: '#/components/schemas/ConfigurationUpdateReasoning'
9215+
required:
9216+
- 'reasoning'
9217+
type: 'object'
92169218
ConfigurationUpdateItem:
92179219
description: 'Changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding items. Place it before the user message it should apply to; it stays in effect until another configuration update. Two adjacent configuration updates are rejected. Only supported by models that accept mid-conversation effort changes.'
92189220
example:
@@ -33760,6 +33762,7 @@ components:
3376033762
- 'searching'
3376133763
- 'in_progress'
3376233764
- 'failed'
33765+
- 'incomplete'
3376333766
example: 'completed'
3376433767
type: 'string'
3376533768
x-speakeasy-unknown-values: allow
@@ -42848,7 +42851,9 @@ paths:
4284842851
limit:
4284942852
description: 'Optional spending limit for the API key in USD'
4285042853
example: 50
42854+
exclusiveMaximum: 1000000
4285142855
format: 'double'
42856+
minimum: 0
4285242857
type:
4285342858
- 'number'
4285442859
- 'null'
@@ -42867,6 +42872,7 @@ paths:
4286742872
name:
4286842873
description: 'Name for the new API key'
4286942874
example: 'My New API Key'
42875+
maxLength: 256
4287042876
minLength: 1
4287142877
type: 'string'
4287242878
workspace_id:
@@ -43576,7 +43582,9 @@ paths:
4357643582
limit:
4357743583
description: 'New spending limit for the API key in USD'
4357843584
example: 75
43585+
exclusiveMaximum: 1000000
4357943586
format: 'double'
43587+
minimum: 0
4358043588
type:
4358143589
- 'number'
4358243590
- 'null'
@@ -43595,6 +43603,8 @@ paths:
4359543603
name:
4359643604
description: 'New name for the API key'
4359743605
example: 'Updated API Key Name'
43606+
maxLength: 256
43607+
minLength: 1
4359843608
type: 'string'
4359943609
workspace_id:
4360043610
description: 'Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key''s current workspace is a no-op.'

‎.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:0615f2da470f27553db60491de37627efa065bfd3bd9c3ef0ebc60850ab989ef
6-
sourceBlobDigest: sha256:11efa435d8bebfa5d9170b01f068da7a7bcab0a7f520d4e3e8e95da3fd083585
5+
sourceRevisionDigest: sha256:fcdad7537942c9b18a06e7fd79fcae3afdc87311808c8e2689f8d5abc8c72f64
6+
sourceBlobDigest: sha256:8115e1225fb743c7b16594d94213c702f77758d0740638c4c1a54e1754a7b1b7
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:0615f2da470f27553db60491de37627efa065bfd3bd9c3ef0ebc60850ab989ef
15-
sourceBlobDigest: sha256:11efa435d8bebfa5d9170b01f068da7a7bcab0a7f520d4e3e8e95da3fd083585
14+
sourceRevisionDigest: sha256:fcdad7537942c9b18a06e7fd79fcae3afdc87311808c8e2689f8d5abc8c72f64
15+
sourceBlobDigest: sha256:8115e1225fb743c7b16594d94213c702f77758d0740638c4c1a54e1754a7b1b7
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:eae14ce4b3923290ea9c3a995d5ad1eb32d34886478e6f2d3f2a858f5dc885a3
17+
codeSamplesRevisionDigest: sha256:2cdb1e5afe2966df04d75d69d2ce08a64a999b44d13c671e3cedbe4d0231f0e3
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
@@ -3649,4 +3649,14 @@ Based on:
36493649
### Generated
36503650
- [python v1.3.88] .
36513651
### Releases
3652-
- [PyPI v1.3.88] https://pypi.org/project/openrouter/1.3.88 - .
3652+
- [PyPI v1.3.88] https://pypi.org/project/openrouter/1.3.88 - .
3653+
3654+
## 2026-10-28 08:48:00
3655+
### Changes
3656+
Based on:
3657+
- OpenAPI Doc
3658+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
3659+
### Generated
3660+
- [python v1.3.89] .
3661+
### Releases
3662+
- [PyPI v1.3.89] https://pypi.org/project/openrouter/1.3.89 - .

0 commit comments

Comments
 (0)