Skip to content

Commit 4b87712

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

15 files changed

Lines changed: 118 additions & 53 deletions

.speakeasy/gen.lock

Lines changed: 29 additions & 24 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: d7bfeca4e93241d2d1c998e257eb0460
4+
docChecksum: dbe1be7b684e26f7b091ddce44691b4e
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.65
9-
configChecksum: 418f5fa64f420d6ab8307edf6c3bee47
8+
releaseVersion: 1.1.66
9+
configChecksum: 63768750ca4c07b37c2ea1f41f3f74e5
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: 883259d9-7d2d-418f-819e-7ba7ca19d2a5
15-
pristine_commit_hash: 0389d6ee0a4ef52904c97ed11892d179b2f93de4
16-
pristine_tree_hash: c8302b5ea736dfdd9883c0c64e6ce80ed6bc9f1f
14+
generation_id: d214eae7-a3b6-4512-a879-cdfa94122496
15+
pristine_commit_hash: d4afbbecdfee385fa2c810d9dfcea3e3965a7cca
16+
pristine_tree_hash: 15fae0089a7b56bf502b9f791aeb65497687eb58
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -1848,6 +1848,10 @@ trackedFiles:
18481848
id: 83efd2dabaa9
18491849
last_write_checksum: sha1:82c3b4882ab31a90147ffe5c0f5d3011ef6ba3cf
18501850
pristine_git_object: 3f077ae59db00c0a92cdaa90ddf24860dcf0c3c4
1851+
docs/components/failabletoolcallstatus.mdx:
1852+
id: 66c801061bd7
1853+
last_write_checksum: sha1:3beed4470126b7cc6bf271423ad03db0163d7bd0
1854+
pristine_git_object: 824b536dee85ae4d717092c014c16eae3891b1ad
18511855
docs/components/failedmodel.mdx:
18521856
id: b19eb588a22c
18531857
last_write_checksum: sha1:647182170d99695cdf4985f8b4e423765bbf6d2c
@@ -3690,8 +3694,8 @@ trackedFiles:
36903694
pristine_git_object: 2dc6cbbbd0d12d23e42d9e393ec89d3507bf587e
36913695
docs/components/outputadvisorservertoolitem.mdx:
36923696
id: cd80a2ee4d39
3693-
last_write_checksum: sha1:75846501525d089fbf5f2d3beb0da6fe795c7eda
3694-
pristine_git_object: e89c7434f9bdbc8d3b449a713687575233b3fbaa
3697+
last_write_checksum: sha1:6ad2ffa0f700877fb626ee22efbe9c951f96e727
3698+
pristine_git_object: 856695ef894a16624a675ab4501bf9e669196897
36953699
docs/components/outputadvisorservertoolitemtype.mdx:
36963700
id: 639f864d0dd2
36973701
last_write_checksum: sha1:232e7b5cf8544bb070f171dc376148207a5d41f4
@@ -4046,8 +4050,8 @@ trackedFiles:
40464050
pristine_git_object: 216dd4e765339e50595aa8ccd68a1b4f94e943b5
40474051
docs/components/outputsubagentservertoolitem.mdx:
40484052
id: afeb6acde438
4049-
last_write_checksum: sha1:28a36b448ac773fda95281d45bcebb1b4428873c
4050-
pristine_git_object: f74e9cc219f7834d51acd40be8f39eca28906cb6
4053+
last_write_checksum: sha1:258b0b86d146f4eed0b7e6082ff992d31e96c701
4054+
pristine_git_object: b9f3820a184858dfa62665dd57d308107c57c11d
40514055
docs/components/outputsubagentservertoolitemtype.mdx:
40524056
id: de66682e96c0
40534057
last_write_checksum: sha1:73a7ed6acdb716d85e1cd3b83517f12dcc5ee393
@@ -7254,8 +7258,8 @@ trackedFiles:
72547258
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
72557259
pyproject.toml:
72567260
id: 5d07e7d72637
7257-
last_write_checksum: sha1:3dd51e6717e9a501475e570722088dc6fa78a84e
7258-
pristine_git_object: f1584d3ff4441d6c91cc91385dbc283e0511decc
7261+
last_write_checksum: sha1:60459229aef213e0af05eb9f999f1e60747d7e69
7262+
pristine_git_object: 4f306e656481232f2ce7c9033205ff52e661389d
72597263
scripts/prepare_readme.py:
72607264
id: e0c5957a6035
72617265
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7282,8 +7286,8 @@ trackedFiles:
72827286
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
72837287
src/openrouter/_version.py:
72847288
id: d8d15ad6c586
7285-
last_write_checksum: sha1:b4f50ddf8b21f6e9b3c8f4e184f34e9a4ee036de
7286-
pristine_git_object: f4db5fa55081a16e12d617e733e600fdd0cfadbb
7289+
last_write_checksum: sha1:ea33fdfcab0f463b892295eba0f0115c271bc9b9
7290+
pristine_git_object: 6bc5cb646e6adebca04b621264db4714129bc17b
72877291
src/openrouter/analytics.py:
72887292
id: cb406b5aaabb
72897293
last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a
@@ -7326,8 +7330,8 @@ trackedFiles:
73267330
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
73277331
src/openrouter/components/__init__.py:
73287332
id: 81754e97b3f4
7329-
last_write_checksum: sha1:13d30da328640c1eb0857c32ee5d0f4b847c721f
7330-
pristine_git_object: 60e49249505afd5037532efd99c1c19c02818c35
7333+
last_write_checksum: sha1:05cff6f5d99fb06205b7b457f8e965456c55c622
7334+
pristine_git_object: 677e80a0eb88bf4aef80c84f8842e7ba9f1d88df
73317335
src/openrouter/components/aabenchmarkentry.py:
73327336
id: e2e0f0b48c82
73337337
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -8140,6 +8144,10 @@ trackedFiles:
81408144
id: 8e87043bec43
81418145
last_write_checksum: sha1:a8930d46fd48231b5350bc284c138c9264638fad
81428146
pristine_git_object: 0b90b1c374c54aba3b1129f296456dc301ccb185
8147+
src/openrouter/components/failabletoolcallstatus.py:
8148+
id: 9d8a9ed81db6
8149+
last_write_checksum: sha1:8b044a17497f3674f16642f17634e633f5d95df2
8150+
pristine_git_object: 2714ae9ba52c7a03ca82723ae8fbf2802ecc8df8
81438151
src/openrouter/components/filecitation.py:
81448152
id: ae9f50481422
81458153
last_write_checksum: sha1:3e94a2b7245fb44ae818f78168767980f41e6559
@@ -8870,8 +8878,8 @@ trackedFiles:
88708878
pristine_git_object: 73c09231284a8f982d7770a7a78fca403b374826
88718879
src/openrouter/components/outputadvisorservertoolitem.py:
88728880
id: aa64bddfa26c
8873-
last_write_checksum: sha1:b78d01e397edf8bfba32463a097e89f9fc0f9261
8874-
pristine_git_object: aef6c89e87880fbc321285f5fc3a0932b14c90ad
8881+
last_write_checksum: sha1:9d960f059ee0d737693f9e5561de1e8f377a412c
8882+
pristine_git_object: da34afda96228086c7359f688087beebe591c4c3
88758883
src/openrouter/components/outputapplypatchcallitem.py:
88768884
id: a755b7e7b924
88778885
last_write_checksum: sha1:bf8899f5f931b06a03c8c5e92307909a21dd29bd
@@ -8990,8 +8998,8 @@ trackedFiles:
89908998
pristine_git_object: 16e5a50c79f6aae945327efbabd50e5c17ffec6f
89918999
src/openrouter/components/outputsubagentservertoolitem.py:
89929000
id: 7480e835aa08
8993-
last_write_checksum: sha1:fcda61a3604f16bed4ce3842b57de32d309316f4
8994-
pristine_git_object: a4325ca9ec83c5713b22d58647dbbb468a066201
9001+
last_write_checksum: sha1:6588b208a06fc0e1485c7952636b81bd28d04234
9002+
pristine_git_object: 9fe80d9105f9c563f7663e25fdb88b906ae8e43d
89959003
src/openrouter/components/outputtexteditorservertoolitem.py:
89969004
id: 2a5dc9318fe6
89979005
last_write_checksum: sha1:fc1bf715ac0084d7390eb75152f0f27994654fab
@@ -12175,7 +12183,4 @@ examples:
1217512183
"500":
1217612184
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1217712185
examplesVersion: 1.0.2
12178-
releaseNotes: |
12179-
## Python SDK Changes:
12180-
* `open_router.video_generation.generate()`: `request` **Changed**
12181-
* `open_router.video_generation.list_videos_models()`: `response.data[]` **Changed**
12186+
releaseNotes: "## Python SDK Changes:\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(OutputSubagentServerToolItem).status.enum(failed)` **Added**\n * `response` **Changed**\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(OutputSubagentServerToolItem).status.enum(failed)` **Added**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[].union(OutputAdvisorServerToolItem).status.enum(failed)` **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.1.65
39+
version: 1.1.66
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

.speakeasy/out.openapi.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8125,6 +8125,15 @@ components:
81258125
param: null
81268126
sequence_number: 2
81278127
type: 'error'
8128+
FailableToolCallStatus:
8129+
enum:
8130+
- 'in_progress'
8131+
- 'completed'
8132+
- 'incomplete'
8133+
- 'failed'
8134+
example: 'completed'
8135+
type: 'string'
8136+
x-speakeasy-unknown-values: allow
81288137
FailedEvent:
81298138
description: 'Event emitted when a response has failed'
81308139
example:
@@ -18166,7 +18175,7 @@ components:
1816618175
description: 'The advisor model''s response (the advice text returned to the executor).'
1816718176
type: 'string'
1816818177
error:
18169-
description: 'Error message when the advisor call did not produce advice.'
18178+
description: 'Error message when the advisor call did not produce advice. Set together with `status: ''failed''` on the terminal item.'
1817018179
type: 'string'
1817118180
id:
1817218181
type: 'string'
@@ -18181,7 +18190,7 @@ components:
1818118190
description: 'The prompt the executor sent to the advisor.'
1818218191
type: 'string'
1818318192
status:
18184-
$ref: '#/components/schemas/ToolCallStatus'
18193+
$ref: '#/components/schemas/FailableToolCallStatus'
1818518194
type:
1818618195
enum:
1818718196
- 'openrouter:advisor'
@@ -19563,7 +19572,7 @@ components:
1956319572
description: 'EXPERIMENTAL — subject to change without notice. The `call_id` of the tool call that spawned this subagent. This id will also be included as the `subagent_id` on any `function_call` items created by the subagent. This must be returned in the request so the `function_call` can be matched with the correct subagent. A suspended `in_progress` item is announced once and never re-emitted or terminally closed — completion arrives as a new item with the same `call_id`.'
1956419573
type: 'string'
1956519574
error:
19566-
description: 'Error message when the subagent task did not produce an outcome.'
19575+
description: 'Error message when the subagent task did not produce an outcome. Set together with `status: ''failed''` on the terminal item.'
1956719576
type: 'string'
1956819577
id:
1956919578
type: 'string'
@@ -19582,7 +19591,7 @@ components:
1958219591
description: 'The worker model''s result (the outcome text returned to the delegating model).'
1958319592
type: 'string'
1958419593
status:
19585-
$ref: '#/components/schemas/ToolCallStatus'
19594+
$ref: '#/components/schemas/FailableToolCallStatus'
1958619595
task_description:
1958719596
description: 'The task description the delegating model sent to the worker.'
1958819597
type: 'string'

.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:f957978d89d9c8088e7e1add6c3b14f9411d3cf2c1ca104c3ae72d26d48a6869
6-
sourceBlobDigest: sha256:0218702bdcc5b58985c2496f7f97211fd48ceeebad4ae1f6440a4a7884b4f86a
5+
sourceRevisionDigest: sha256:9a707b30c4747885757958aa902611faa8b3e614912e97e89a3075d6c4a10eb1
6+
sourceBlobDigest: sha256:985e0221cfd1f49f7df5c4b0bb52528c00b8a70114ce82d0320572bb8fe35e03
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:f957978d89d9c8088e7e1add6c3b14f9411d3cf2c1ca104c3ae72d26d48a6869
15-
sourceBlobDigest: sha256:0218702bdcc5b58985c2496f7f97211fd48ceeebad4ae1f6440a4a7884b4f86a
14+
sourceRevisionDigest: sha256:9a707b30c4747885757958aa902611faa8b3e614912e97e89a3075d6c4a10eb1
15+
sourceBlobDigest: sha256:985e0221cfd1f49f7df5c4b0bb52528c00b8a70114ce82d0320572bb8fe35e03
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:3363b924d12bbff8893e207af69292c7819960aea2887d548af85ab94063a1cf
17+
codeSamplesRevisionDigest: sha256:fe338b48dd338ee977f832061e78a9a7bde76e308e92ab9abaa252ebaf383a70
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
@@ -1439,4 +1439,14 @@ Based on:
14391439
### Generated
14401440
- [python v1.1.65] .
14411441
### Releases
1442-
- [PyPI v1.1.65] https://pypi.org/project/openrouter/1.1.65 - .
1442+
- [PyPI v1.1.65] https://pypi.org/project/openrouter/1.1.65 - .
1443+
1444+
## 2026-08-19 21:53:07
1445+
### Changes
1446+
Based on:
1447+
- OpenAPI Doc
1448+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1449+
### Generated
1450+
- [python v1.1.66] .
1451+
### Releases
1452+
- [PyPI v1.1.66] https://pypi.org/project/openrouter/1.1.66 - .
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "FailableToolCallStatus"
3+
---
4+
5+
## Example Usage
6+
7+
```python
8+
from openrouter.components import FailableToolCallStatus
9+
10+
# Open enum: unrecognized values are captured as UnrecognizedStr
11+
value: FailableToolCallStatus = "in_progress"
12+
```
13+
14+
15+
## Values
16+
17+
This is an open enum. Unrecognized values will not fail type checks.
18+
19+
- `"in_progress"`
20+
- `"completed"`
21+
- `"incomplete"`
22+
- `"failed"`

0 commit comments

Comments
 (0)