Skip to content

Commit 22803a3

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

16 files changed

Lines changed: 268 additions & 66 deletions

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 33 additions & 23 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: 22dd2a8c52c82b2e6d45813b3a136d8e
4+
docChecksum: 1b3480b82990a39f968571a292695e01
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 0.11.2
9-
configChecksum: d99c6e3ad8d65139a1705b2482f5b0f6
8+
releaseVersion: 0.11.3
9+
configChecksum: 9580963049895d84eccfc135025854cb
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: 17428005-f3ed-41ee-832f-a08e2ee4b2c9
15-
pristine_commit_hash: c52584d3b29fe1ab0cd11c36fc0519e7988910d6
16-
pristine_tree_hash: 35802e82c88cd41747250883f8acad806745fe0e
14+
generation_id: 00a7dc9a-a2f7-46bb-898f-e804c87aa438
15+
pristine_commit_hash: 22206487f7eccf058be8483fb016c65abc71aef9
16+
pristine_tree_hash: c724440db515750df210411562157b40257083ef
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -2394,8 +2394,8 @@ trackedFiles:
23942394
pristine_git_object: 33aee92c61bf7ab9beded4e193f50a2c08462378
23952395
docs/components/inputsunion1.mdx:
23962396
id: c216609d21ce
2397-
last_write_checksum: sha1:2b16bfaccb9d6901c140145e6caafaaa476e6446
2398-
pristine_git_object: de84f4c9dd8d18b4568051a2a83f35e052a26f14
2397+
last_write_checksum: sha1:ccfecdbd5ad7a2719b2372c54e9eac1075b1f108
2398+
pristine_git_object: 9d37626f96de3c19d39e4901d041ef41b01bdc98
23992399
docs/components/inputtext.mdx:
24002400
id: c8a97322a50a
24012401
last_write_checksum: sha1:5462885a683c2ca29551281c9fcf3ad1bceb0634
@@ -3340,6 +3340,14 @@ trackedFiles:
33403340
id: 7b77e3515472
33413341
last_write_checksum: sha1:f50a8d6620bbf95e43dd8b6c221ebe8f01b1cd32
33423342
pristine_git_object: fe499bd21f3539752b0091907a0b3dd5c55b5d76
3343+
docs/components/outputfilesservertoolitem.mdx:
3344+
id: 345df34acb80
3345+
last_write_checksum: sha1:41c547463bd869c4acc0c8ad64ea2d4bc0a9998b
3346+
pristine_git_object: 111b79f06ab2edb08b60062868b1dd13fe14d740
3347+
docs/components/outputfilesservertoolitemtype.mdx:
3348+
id: abdc83b528c9
3349+
last_write_checksum: sha1:5a89f4165e70f4dee1b74cd300a790e0274d55f2
3350+
pristine_git_object: f9eb6568f06fc4b917d41a391f0b3046ac064889
33433351
docs/components/outputfunctioncallitem.mdx:
33443352
id: 1d62f9e67c2f
33453353
last_write_checksum: sha1:6642104468672708caccef16346f824b51264670
@@ -3402,8 +3410,8 @@ trackedFiles:
34023410
pristine_git_object: 7e12c2ee3da68966a14d19207b95699c7b57d1e5
34033411
docs/components/outputitems.mdx:
34043412
id: 876e956be23e
3405-
last_write_checksum: sha1:870898ed6e0c717f62876dcefe2dc3126528ea1a
3406-
pristine_git_object: e85451a343f8047639bc179fa4dbd70bce22f3b0
3413+
last_write_checksum: sha1:feaf29256eb4203388160c9f8c22292dde315bef
3414+
pristine_git_object: f73cc6671c184f19ca530e8d0bda4e6cc247e30b
34073415
docs/components/outputlogs.mdx:
34083416
id: 89bf8506e4fe
34093417
last_write_checksum: sha1:8b2efe9f4117b7b3d44eb16813e8ed88fc6d1ebc
@@ -6370,8 +6378,8 @@ trackedFiles:
63706378
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
63716379
pyproject.toml:
63726380
id: 5d07e7d72637
6373-
last_write_checksum: sha1:e2bc1b3fccb2ccdf85aa79e5886a52f91340150a
6374-
pristine_git_object: e0deb3eae39559a8ab667ff46b01c4a505abd7db
6381+
last_write_checksum: sha1:77dc4bb23124c68a4514773255a6be898795a345
6382+
pristine_git_object: 0ee40fce00c555f4ae902fe221bccbc7bc2cf960
63756383
scripts/prepare_readme.py:
63766384
id: e0c5957a6035
63776385
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -6398,8 +6406,8 @@ trackedFiles:
63986406
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
63996407
src/openrouter/_version.py:
64006408
id: d8d15ad6c586
6401-
last_write_checksum: sha1:0d2f123171a2b90c45806c351b029f722c836270
6402-
pristine_git_object: 065e7c6105281025b6c465f401c6bf6c03966342
6409+
last_write_checksum: sha1:07a6785b54ea278e7f66f25b16dc131011c8fbd6
6410+
pristine_git_object: c2263273c453c720d864cf483e26066fd7edb1e2
64036411
src/openrouter/analytics.py:
64046412
id: cb406b5aaabb
64056413
last_write_checksum: sha1:9e709b71dd0611056dc0cec6150b578defe32841
@@ -6438,8 +6446,8 @@ trackedFiles:
64386446
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
64396447
src/openrouter/components/__init__.py:
64406448
id: 81754e97b3f4
6441-
last_write_checksum: sha1:3d56cadcea54efec319a1d282eeae4c5b387d1e5
6442-
pristine_git_object: 19c69fe69c979eccea5ec82ed501dda6fc391d3a
6449+
last_write_checksum: sha1:08af0c2202383ec06d9bc58553df3ceb68272edd
6450+
pristine_git_object: 192d30802850b8d05e199dade47c0e86deb3c689
64436451
src/openrouter/components/aabenchmarkentry.py:
64446452
id: e2e0f0b48c82
64456453
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -7470,8 +7478,8 @@ trackedFiles:
74707478
pristine_git_object: a3d84a96f4553a320f5eee5d63f6bc5c244ab446
74717479
src/openrouter/components/inputs_union.py:
74727480
id: 17d6239cb6a7
7473-
last_write_checksum: sha1:08815eb3a06126d278916e211c150eecb290da86
7474-
pristine_git_object: 334026a24394d6cbc4b7d938d0231bde1511fce1
7481+
last_write_checksum: sha1:289d1c1eb23075d285491f8fab2bf4d8dc941c4b
7482+
pristine_git_object: 1371934ab909d77965b050958080277ca8988f09
74757483
src/openrouter/components/inputtext.py:
74767484
id: a995ae96be99
74777485
last_write_checksum: sha1:0e30dbfa1813d3e69e0ccd2511f50080cce0fb6e
@@ -7836,6 +7844,10 @@ trackedFiles:
78367844
id: 9e99e5ff3288
78377845
last_write_checksum: sha1:92d8a86195e7438b174cdd5a919f6943f08f5826
78387846
pristine_git_object: 5be878556b892a54a5931400f92d0f171224428b
7847+
src/openrouter/components/outputfilesservertoolitem.py:
7848+
id: 552155de1bb4
7849+
last_write_checksum: sha1:7f77012ef034ec1635c2bdf6219b6b1e0b46834d
7850+
pristine_git_object: 5f30e958618a659ecc83c746240144961c6bf6e6
78397851
src/openrouter/components/outputfunctioncallitem.py:
78407852
id: 516ed67b5406
78417853
last_write_checksum: sha1:2dcba52e87aad59459a33bd5cd665a32c6372db9
@@ -7858,8 +7870,8 @@ trackedFiles:
78587870
pristine_git_object: 94af810bbdb87fb8c6800645354f7ec4dd067e7f
78597871
src/openrouter/components/outputitems.py:
78607872
id: 90f107de3116
7861-
last_write_checksum: sha1:34b286c5edd5f0cc411d12a1efe6847d9ac1a7d2
7862-
pristine_git_object: 0e3e405a8def2ae8b4367aeba1610f5a569abf9f
7873+
last_write_checksum: sha1:278d94da113ba85ced7ae5e84b4c8b3c36a7d2c5
7874+
pristine_git_object: f828fba44f1de7265e267d2201dbd3043fc5cfa1
78637875
src/openrouter/components/outputmcpservertoolitem.py:
78647876
id: bb8c2536a58e
78657877
last_write_checksum: sha1:28d33c9226ff4ce6871457fa1fae384b590f676c
@@ -10640,6 +10652,4 @@ examples:
1064010652
"500":
1064110653
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1064210654
examplesVersion: 1.0.2
10643-
releaseNotes: |
10644-
## Python SDK Changes:
10645-
* `open_router.workspaces.list_members()`: **Added**
10655+
releaseNotes: "## Python SDK Changes:\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(OutputFilesServerToolItem)` **Added**\n * `response` **Changed**\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(OutputFilesServerToolItem)` **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: 0.11.2
39+
version: 0.11.3
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

β€Ž.speakeasy/out.openapi.yamlβ€Ž

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10299,6 +10299,7 @@ components:
1029910299
- $ref: '#/components/schemas/OutputFusionServerToolItem'
1030010300
- $ref: '#/components/schemas/OutputAdvisorServerToolItem'
1030110301
- $ref: '#/components/schemas/OutputSubagentServerToolItem'
10302+
- $ref: '#/components/schemas/OutputFilesServerToolItem'
1030210303
- $ref: '#/components/schemas/LocalShellCallItem'
1030310304
- $ref: '#/components/schemas/LocalShellCallOutputItem'
1030410305
- $ref: '#/components/schemas/ShellCallItem'
@@ -16214,6 +16215,43 @@ components:
1621416215
- status
1621516216
- type
1621616217
type: object
16218+
OutputFilesServerToolItem:
16219+
description: An openrouter:files server tool output item
16220+
example:
16221+
filename: notes.txt
16222+
id: fl_tmp_abc123
16223+
operation: read
16224+
result: '{"id":"file_abc","filename":"notes.txt","content":"hello"}'
16225+
status: completed
16226+
type: openrouter:files
16227+
properties:
16228+
error:
16229+
description: Error message when the file operation failed.
16230+
type: string
16231+
file_id:
16232+
description: The target file id supplied in the tool-call arguments.
16233+
type: string
16234+
filename:
16235+
description: The target filename supplied in the tool-call arguments.
16236+
type: string
16237+
id:
16238+
type: string
16239+
operation:
16240+
description: The file operation performed (list, read, write, or edit).
16241+
type: string
16242+
result:
16243+
description: JSON-serialized result of the file operation.
16244+
type: string
16245+
status:
16246+
$ref: '#/components/schemas/ToolCallStatus'
16247+
type:
16248+
enum:
16249+
- openrouter:files
16250+
type: string
16251+
required:
16252+
- status
16253+
- type
16254+
type: object
1621716255
OutputFunctionCallItem:
1621816256
allOf:
1621916257
- $ref: '#/components/schemas/OutputItemFunctionCall'
@@ -16662,6 +16700,7 @@ components:
1666216700
openrouter:datetime: '#/components/schemas/OutputDatetimeItem'
1666316701
openrouter:experimental__search_models: '#/components/schemas/OutputSearchModelsServerToolItem'
1666416702
openrouter:file_search: '#/components/schemas/OutputFileSearchServerToolItem'
16703+
openrouter:files: '#/components/schemas/OutputFilesServerToolItem'
1666516704
openrouter:fusion: '#/components/schemas/OutputFusionServerToolItem'
1666616705
openrouter:image_generation: '#/components/schemas/OutputImageGenerationServerToolItem'
1666716706
openrouter:mcp: '#/components/schemas/OutputMcpServerToolItem'
@@ -16713,6 +16752,7 @@ components:
1671316752
- $ref: '#/components/schemas/OutputFusionServerToolItem'
1671416753
- $ref: '#/components/schemas/OutputAdvisorServerToolItem'
1671516754
- $ref: '#/components/schemas/OutputSubagentServerToolItem'
16755+
- $ref: '#/components/schemas/OutputFilesServerToolItem'
1671616756
- $ref: '#/components/schemas/OutputCustomToolCallItem'
1671716757
OutputItemWebSearchCall:
1671816758
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:5f1370b2087005edf5335d559553a8e78a7f68548feeb5007ffd159eb331d4b8
6-
sourceBlobDigest: sha256:ccab13156b379a7393d475a3dffeede1ab1e849f77860609a73af1ce7a3839e4
5+
sourceRevisionDigest: sha256:5381277309ba2f3a4a3e0719b00425be3f93c3103717316e6625bd5caf15b277
6+
sourceBlobDigest: sha256:def8d29511aca594e11c3367b7013a64c8733cc8050e23deae98d9cc5df55c93
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:5f1370b2087005edf5335d559553a8e78a7f68548feeb5007ffd159eb331d4b8
15-
sourceBlobDigest: sha256:ccab13156b379a7393d475a3dffeede1ab1e849f77860609a73af1ce7a3839e4
14+
sourceRevisionDigest: sha256:5381277309ba2f3a4a3e0719b00425be3f93c3103717316e6625bd5caf15b277
15+
sourceBlobDigest: sha256:def8d29511aca594e11c3367b7013a64c8733cc8050e23deae98d9cc5df55c93
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:68f0535d2a29eafd4da54cc0f2ebb260b678afae6f4a752f76cad957fb319df2
17+
codeSamplesRevisionDigest: sha256:18d6fc594c9338480cbc65842c3f276ad0a58f2ceda311aff3d70ea33dbd6e6d
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
@@ -128,4 +128,14 @@ Based on:
128128
### Generated
129129
- [python v0.11.2] .
130130
### Releases
131-
- [PyPI v0.11.2] https://pypi.org/project/openrouter/0.11.2 - .
131+
- [PyPI v0.11.2] https://pypi.org/project/openrouter/0.11.2 - .
132+
133+
## 2026-07-03 19:54:08
134+
### Changes
135+
Based on:
136+
- OpenAPI Doc
137+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
138+
### Generated
139+
- [python v0.11.3] .
140+
### Releases
141+
- [PyPI v0.11.3] https://pypi.org/project/openrouter/0.11.3 - .

β€Ždocs/components/inputsunion1.mdxβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,12 @@ value: components.OutputAdvisorServerToolItem = /* values here */
202202
value: components.OutputSubagentServerToolItem = /* values here */
203203
```
204204

205+
### `components.OutputFilesServerToolItem`
206+
207+
```python
208+
value: components.OutputFilesServerToolItem = /* values here */
209+
```
210+
205211
### `components.LocalShellCallItem`
206212

207213
```python
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: "OutputFilesServerToolItem"
3+
---
4+
5+
An openrouter:files server tool output item
6+
7+
8+
## Fields
9+
10+
| Field | Type | Required | Description | Example |
11+
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
12+
| `error` | *Optional[str]* | :heavy_minus_sign: | Error message when the file operation failed. | |
13+
| `file_id` | *Optional[str]* | :heavy_minus_sign: | The target file id supplied in the tool-call arguments. | |
14+
| `filename` | *Optional[str]* | :heavy_minus_sign: | The target filename supplied in the tool-call arguments. | |
15+
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | |
16+
| `operation` | *Optional[str]* | :heavy_minus_sign: | The file operation performed (list, read, write, or edit). | |
17+
| `result` | *Optional[str]* | :heavy_minus_sign: | JSON-serialized result of the file operation. | |
18+
| `status` | [components.ToolCallStatus](../components/toolcallstatus.mdx) | :heavy_check_mark: | N/A | completed |
19+
| `type` | [components.OutputFilesServerToolItemType](../components/outputfilesservertoolitemtype.mdx) | :heavy_check_mark: | N/A | |
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "OutputFilesServerToolItemType"
3+
---
4+
5+
## Example Usage
6+
7+
```python
8+
from openrouter.components import OutputFilesServerToolItemType
9+
value: OutputFilesServerToolItemType = "openrouter:files"
10+
```
11+
12+
13+
## Values
14+
15+
- `"openrouter:files"`

β€Ždocs/components/outputitems.mdxβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ value: components.OutputSearchModelsServerToolItem = /* values here */
103103
value: components.OutputFileSearchServerToolItem = /* values here */
104104
```
105105

106+
### `components.OutputFilesServerToolItem`
107+
108+
```python
109+
value: components.OutputFilesServerToolItem = /* values here */
110+
```
111+
106112
### `components.OutputFusionServerToolItem`
107113

108114
```python

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openrouter"
3-
version = "0.11.2"
3+
version = "0.11.3"
44
description = "Official Python Client SDK for OpenRouter."
55
authors = [{ name = "OpenRouter" },]
66
readme = "README-PYPI.md"

0 commit comments

Comments
Β (0)