Skip to content

Commit 31b9059

Browse files
committed
## Python SDK Changes:
* `open_router.presets.create_presets_responses()`: * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **Changed** * `open_router.responses.send()`: * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **Changed** * `open_router.beta.responses.send()`: * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **Changed**
1 parent fd553be commit 31b9059

18 files changed

Lines changed: 229 additions & 114 deletions

‎.speakeasy/gen.lock‎

Lines changed: 35 additions & 29 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: e579a3223c8c1359c9769fb563fd61c3
4+
docChecksum: ab563d6fdecfbe13dcf3cbc9ab8dce66
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.91
9-
configChecksum: f97c74418c6b0f25b75cef735e391532
8+
releaseVersion: 1.1.92
9+
configChecksum: f59a826b09f2db942e036c9a34ba0335
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: 67ff633e-56a1-487c-9420-ea3dd7375e13
15-
pristine_commit_hash: 68e70d8b342f15b30646a7e9ca417febb262a9aa
16-
pristine_tree_hash: b77709400a7b144f5938fb98d30357edcc29645a
14+
generation_id: 39a42826-0421-4da3-b325-b7f5e65099ba
15+
pristine_commit_hash: a5143520b68e571cc440d714a7e21481fd52e5f3
16+
pristine_tree_hash: 29251443bc728b6079719a982962da5c2761319d
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -4838,12 +4838,20 @@ trackedFiles:
48384838
pristine_git_object: 9aaa17fdf863725e77de2784a601626d0b82b7e0
48394839
docs/components/shellcalloutputitem.mdx:
48404840
id: 3c692a7914b0
4841-
last_write_checksum: sha1:6ad5b5863359ce5590ee5b0c2d047d2d7b41a021
4842-
pristine_git_object: 7dcab460c00e513357a94c4c6d87826ec3b1eeae
4843-
docs/components/shellcalloutputitemtype.mdx:
4844-
id: 13012771fc34
4845-
last_write_checksum: sha1:0bd6909e931eeb3ab3a22dd98b9a51c67f1d0dfa
4846-
pristine_git_object: 90b55526b1a545847174a6e147f8bbe91908d22c
4841+
last_write_checksum: sha1:981b180bd9743e32d3ba6e7d9cca4689d34565fd
4842+
pristine_git_object: 1e371836e23aa846ec9bfc0fecb19f06c6e705d7
4843+
docs/components/shellcalloutputitemfile.mdx:
4844+
id: 729e48f10ec2
4845+
last_write_checksum: sha1:3ec7900022eab43f94f0afb7ba5bf8b43f55d370
4846+
pristine_git_object: e4a0c69ef04713724322961960b128589dad7686
4847+
docs/components/shellcalloutputitemtypecontainerfilecitation.mdx:
4848+
id: 30497451caaa
4849+
last_write_checksum: sha1:6b3394517d15b8978fcf83762143aa5ef212c945
4850+
pristine_git_object: b2bfe2ed3b86eb46cf7b1ca159ec77b25ccb0643
4851+
docs/components/shellcalloutputitemtypeshellcalloutput.mdx:
4852+
id: 84b5ee94f75a
4853+
last_write_checksum: sha1:414b1d9c65daff4d821b062153dfb0971f624f01
4854+
pristine_git_object: 23013a06aa82af4ba594d3e425b191ffaa438ed0
48474855
docs/components/shellcallstatus.mdx:
48484856
id: d5afd9396cf7
48494857
last_write_checksum: sha1:146c3774e082cd8ca9c11aa97d22ed9de7ee2091
@@ -7386,8 +7394,8 @@ trackedFiles:
73867394
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
73877395
pyproject.toml:
73887396
id: 5d07e7d72637
7389-
last_write_checksum: sha1:02b518a5f9d31eee3c265939cfa6ff21bf5601b4
7390-
pristine_git_object: 22a50bd359c07f5585397a8ccf921437481d0581
7397+
last_write_checksum: sha1:7e14ad37d06c962176aa31c9ba27b223cebc8749
7398+
pristine_git_object: f529fcb697a958f57c89c1eb669d55cd83f5abf9
73917399
scripts/prepare_readme.py:
73927400
id: e0c5957a6035
73937401
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7414,8 +7422,8 @@ trackedFiles:
74147422
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
74157423
src/openrouter/_version.py:
74167424
id: d8d15ad6c586
7417-
last_write_checksum: sha1:92c89eb588563dfd3419095f7c578d5bb4a9d1e6
7418-
pristine_git_object: 815f9ec5862ec99e6f9232f7821b3ccecf1c0977
7425+
last_write_checksum: sha1:75965dae8cfe8e510c0ca59915c9ff8c915dee17
7426+
pristine_git_object: 083b61e7cfdbde7e41c52ac9781814d426710b0f
74197427
src/openrouter/analytics.py:
74207428
id: cb406b5aaabb
74217429
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
@@ -7454,8 +7462,8 @@ trackedFiles:
74547462
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
74557463
src/openrouter/components/__init__.py:
74567464
id: 81754e97b3f4
7457-
last_write_checksum: sha1:7d0f83beca07f6a7087127d97dcb4d27477c937d
7458-
pristine_git_object: 345c915e9f71f8a2e419341cec7101dfb1e27637
7465+
last_write_checksum: sha1:f4c4bb5c830aba7e295ae9be7f4e28b8ae53e47b
7466+
pristine_git_object: 61b6c37c4e475bd7a390cd0f701dbe9efb397ca8
74597467
src/openrouter/components/aabenchmarkentry.py:
74607468
id: e2e0f0b48c82
74617469
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -8618,8 +8626,8 @@ trackedFiles:
86188626
pristine_git_object: f499cbbb546232f5cfbfe2c44fb41aefb306c87f
86198627
src/openrouter/components/inputs_union.py:
86208628
id: 17d6239cb6a7
8621-
last_write_checksum: sha1:9913cb32b518a68233f2594f03e48b0ff9828479
8622-
pristine_git_object: 150d3821033192f2315208032019174641f9d8c4
8629+
last_write_checksum: sha1:0e31da13dda7b0f37fcdbed717756f8a1566eda7
8630+
pristine_git_object: 083f6eb4b45c8ec0e4376dfde81613f5b92e32eb
86238631
src/openrouter/components/inputtext.py:
86248632
id: a995ae96be99
86258633
last_write_checksum: sha1:2da9ff645acc96772701908830151c5a707ed021
@@ -9502,8 +9510,8 @@ trackedFiles:
95029510
pristine_git_object: 14d6df7ad9970385355b7c1d6752a270a8aa267b
95039511
src/openrouter/components/shellcalloutputitem.py:
95049512
id: 54409ebc9cdd
9505-
last_write_checksum: sha1:34d015222a4f280c5dc8705cacfe70afd72de940
9506-
pristine_git_object: 91d5927aa02a6671c2f62f902ae7db8a15153f05
9513+
last_write_checksum: sha1:448ad68e1048026538d6603921a93374b3502814
9514+
pristine_git_object: da1edfc54f0b1469f900ecffe77a6d844184533a
95079515
src/openrouter/components/shellcallstatus.py:
95089516
id: 3627230aad33
95099517
last_write_checksum: sha1:c026c8544f66c0ae9bdfa83b9d63502ee8f2907d
@@ -9930,8 +9938,8 @@ trackedFiles:
99309938
pristine_git_object: ad78361d147d2edb7b5772c14501d9c25a2000b0
99319939
src/openrouter/containers.py:
99329940
id: 5edae5db57e9
9933-
last_write_checksum: sha1:37d4af3253f0fc119cf2414d935dc7b7cf2d9244
9934-
pristine_git_object: 8328666b72a7f3d0c6330f02ab0268dab64070d4
9941+
last_write_checksum: sha1:dca529a8a49b60c94d59bc497423d9c983dcee95
9942+
pristine_git_object: 40cf9e34645544968d4c84dddc659445c6528fd2
99359943
src/openrouter/credits.py:
99369944
id: cdc961937101
99379945
last_write_checksum: sha1:7ac37671d3de537eb98f15239d531e3ab3928a59
@@ -10030,8 +10038,8 @@ trackedFiles:
1003010038
pristine_git_object: 51b56d9ca5e27c49a98d05f0414573ac5243c580
1003110039
src/openrouter/files.py:
1003210040
id: 7baf7ee1f5b3
10033-
last_write_checksum: sha1:2e69503c45aa248c029db25cc4d024d73621f573
10034-
pristine_git_object: 268e617de41c88c6393b791a4c04048de4d7ce3c
10041+
last_write_checksum: sha1:6d6eb5262308cf78e7208aea1df5866befb3c880
10042+
pristine_git_object: 1c30715cccc28393152c3b3152d144e57ca60df1
1003510043
src/openrouter/generations.py:
1003610044
id: 70e1c21042bc
1003710045
last_write_checksum: sha1:a8679c263af864e94aa0b33e6a8505e66b4c4047
@@ -12457,6 +12465,4 @@ examples:
1245712465
"503":
1245812466
application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}}
1245912467
examplesVersion: 1.0.2
12460-
releaseNotes: |
12461-
## Python SDK Changes:
12462-
* `open_router.images.generate()`: `request.user` **Added**
12468+
releaseNotes: "## Python SDK Changes:\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **Changed**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **Changed**\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **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.91
39+
version: 1.1.92
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23343,6 +23343,36 @@ components:
2334323343
properties:
2334423344
call_id:
2334523345
type: 'string'
23346+
container_id:
23347+
description: 'The canonical container id the command ran under — the `{container_id}` for the Container Files API, reusable as a `container_reference` in later requests. Present on every sandbox-executed call, even when no files changed.'
23348+
type: 'string'
23349+
files:
23350+
description: 'Citations for the files the sandbox command created or modified, most-recently-touched first (at most 10). Retrieve them via the Container Files API.'
23351+
items:
23352+
properties:
23353+
container_id:
23354+
type: 'string'
23355+
end_index:
23356+
type: 'integer'
23357+
file_id:
23358+
type: 'string'
23359+
filename:
23360+
type: 'string'
23361+
start_index:
23362+
type: 'integer'
23363+
type:
23364+
enum:
23365+
- 'container_file_citation'
23366+
type: 'string'
23367+
required:
23368+
- 'type'
23369+
- 'container_id'
23370+
- 'file_id'
23371+
- 'filename'
23372+
- 'start_index'
23373+
- 'end_index'
23374+
type: 'object'
23375+
type: 'array'
2334623376
id:
2334723377
type:
2334823378
- 'string'
@@ -29454,7 +29484,6 @@ paths:
2945429484
summary: 'List container files'
2945529485
tags:
2945629486
- 'Containers'
29457-
x-hidden: true
2945829487
parameters:
2945929488
- $ref: "#/components/parameters/AppIdentifier"
2946029489
- $ref: "#/components/parameters/AppDisplayName"
@@ -29568,7 +29597,6 @@ paths:
2956829597
summary: 'Retrieve a container file'
2956929598
tags:
2957029599
- 'Containers'
29571-
x-hidden: true
2957229600
parameters:
2957329601
- $ref: "#/components/parameters/AppIdentifier"
2957429602
- $ref: "#/components/parameters/AppDisplayName"
@@ -29676,7 +29704,6 @@ paths:
2967629704
summary: 'Download container file content'
2967729705
tags:
2967829706
- 'Containers'
29679-
x-hidden: true
2968029707
parameters:
2968129708
- $ref: "#/components/parameters/AppIdentifier"
2968229709
- $ref: "#/components/parameters/AppDisplayName"
@@ -29801,7 +29828,6 @@ paths:
2980129828
summary: 'Promote a container file into workspace documents'
2980229829
tags:
2980329830
- 'Containers'
29804-
x-hidden: true
2980529831
parameters:
2980629832
- $ref: "#/components/parameters/AppIdentifier"
2980729833
- $ref: "#/components/parameters/AppDisplayName"
@@ -31169,7 +31195,6 @@ paths:
3116931195
summary: 'List files'
3117031196
tags:
3117131197
- 'Files'
31172-
x-hidden: true
3117331198
x-speakeasy-name-override: 'list'
3117431199
x-speakeasy-pagination:
3117531200
inputs:
@@ -31312,7 +31337,6 @@ paths:
3131231337
summary: 'Upload a file'
3131331338
tags:
3131431339
- 'Files'
31315-
x-hidden: true
3131631340
x-speakeasy-name-override: 'upload'
3131731341
parameters:
3131831342
- $ref: "#/components/parameters/AppIdentifier"
@@ -31428,7 +31452,6 @@ paths:
3142831452
summary: 'Delete a file'
3142931453
tags:
3143031454
- 'Files'
31431-
x-hidden: true
3143231455
x-speakeasy-name-override: 'delete'
3143331456
get:
3143431457
description: 'Retrieves metadata for a single file owned by the requesting workspace.'
@@ -31544,7 +31567,6 @@ paths:
3154431567
summary: 'Get file metadata'
3154531568
tags:
3154631569
- 'Files'
31547-
x-hidden: true
3154831570
x-speakeasy-name-override: 'retrieve'
3154931571
parameters:
3155031572
- $ref: "#/components/parameters/AppIdentifier"
@@ -31669,7 +31691,6 @@ paths:
3166931691
summary: 'Download file content'
3167031692
tags:
3167131693
- 'Files'
31672-
x-hidden: true
3167331694
x-speakeasy-name-override: 'download'
3167431695
parameters:
3167531696
- $ref: "#/components/parameters/AppIdentifier"

‎.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:0fca4fc755e3b2a2c6dd519faeb4112c9d3fa11e550bfb1bdb17bff7a0f6916b
6-
sourceBlobDigest: sha256:e6a89329a7ffc8e70b19f15074c725d833ebc2d48b4f175292f3848d27fe4030
5+
sourceRevisionDigest: sha256:4969fdcceb23a0dfc67d4bf319c25082b63b909ca33eea71e08c616e4a79a9ee
6+
sourceBlobDigest: sha256:745e1c7162567b2cce120234dd27b2346fc2eec7cb46136efba34339444d92de
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:0fca4fc755e3b2a2c6dd519faeb4112c9d3fa11e550bfb1bdb17bff7a0f6916b
15-
sourceBlobDigest: sha256:e6a89329a7ffc8e70b19f15074c725d833ebc2d48b4f175292f3848d27fe4030
14+
sourceRevisionDigest: sha256:4969fdcceb23a0dfc67d4bf319c25082b63b909ca33eea71e08c616e4a79a9ee
15+
sourceBlobDigest: sha256:745e1c7162567b2cce120234dd27b2346fc2eec7cb46136efba34339444d92de
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:1c0fdec8655eadaad225ddec51c96f6218855f0e7c11c9463e181b1d50e7c6f3
17+
codeSamplesRevisionDigest: sha256:59956dcd61f241a327c04454891da937342198a557e89b3875c69840a72d754a
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
@@ -1699,4 +1699,14 @@ Based on:
16991699
### Generated
17001700
- [python v1.1.91] .
17011701
### Releases
1702-
- [PyPI v1.1.91] https://pypi.org/project/openrouter/1.1.91 - .
1702+
- [PyPI v1.1.91] https://pypi.org/project/openrouter/1.1.91 - .
1703+
1704+
## 2026-08-26 14:15:02
1705+
### Changes
1706+
Based on:
1707+
- OpenAPI Doc
1708+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1709+
### Generated
1710+
- [python v1.1.92] .
1711+
### Releases
1712+
- [PyPI v1.1.92] https://pypi.org/project/openrouter/1.1.92 - .

0 commit comments

Comments
 (0)