Skip to content

Commit 96dcbdd

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.32 (#1033)
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 3f6c7a7 commit 96dcbdd

15 files changed

Lines changed: 228 additions & 35 deletions

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

Lines changed: 36 additions & 18 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: fed338adcb556fa937435793d80ba94a
4+
docChecksum: 1e2c7bd771afbed597a3fe7ca5edde65
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.31
9-
configChecksum: 738c44a70d4bc0a581eb475d9e00b44a
8+
releaseVersion: 1.3.32
9+
configChecksum: afe161db7afe8f8492778f099074d78b
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: e4486bab-3f14-41b9-950a-4706ee83390e
15-
pristine_commit_hash: a257bb9e4d3c0171cd432677627c33a729c341e3
16-
pristine_tree_hash: d6c495cff3d2ebdeb6878413200337e07c0758be
14+
generation_id: ed66f8f4-0c57-4953-a2bb-a93ff5a00fc0
15+
pristine_commit_hash: 91af034be0e5150ade4eb81419dd7c4009a89668
16+
pristine_tree_hash: 555ed61fb71a03ef7124ea73079b65d08b40b458
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -5584,8 +5584,8 @@ trackedFiles:
55845584
pristine_git_object: 510bb66605a709aea0c2025829cd1b1d1a46e673
55855585
docs/components/outputitems.mdx:
55865586
id: 876e956be23e
5587-
last_write_checksum: sha1:12794ca2c665bfee086e9117a84eed62f7e13eeb
5588-
pristine_git_object: a0d4eb80a23a0d89e9f37c10e13f40c9086ed7e6
5587+
last_write_checksum: sha1:e788d832c06006861c55efaa16cee423a608e16b
5588+
pristine_git_object: ab5138435c7b18390111af9150d23316dc69d83f
55895589
docs/components/outputitemwebsearchcall.mdx:
55905590
id: 5a7fc683da6e
55915591
last_write_checksum: sha1:7de83721d0a296832de2fe1357e0992fadc67352
@@ -5834,6 +5834,18 @@ trackedFiles:
58345834
id: 5a130ca4fc23
58355835
last_write_checksum: sha1:c1b5e6a8dc5a416b85c05ebf4ebb0dc5937ae03b
58365836
pristine_git_object: 9c9b6d5923e87acc8d5abcd3ab587324fcda9cdc
5837+
docs/components/outputtoolsearchcallitem.mdx:
5838+
id: 84f468366130
5839+
last_write_checksum: sha1:d4186f2ec2744bf39a49f923790601665ee0b0ff
5840+
pristine_git_object: c12730c02ed195d57a7c7990bcaba3035daf441e
5841+
docs/components/outputtoolsearchcallitemexecution.mdx:
5842+
id: 2a220ef3ec3f
5843+
last_write_checksum: sha1:cdccb829e59810f4bd4a502268f3dd83f05a0d6e
5844+
pristine_git_object: e6177ab00e8d163cbeeedf37a50c7b429e71d8ab
5845+
docs/components/outputtoolsearchcallitemtype.mdx:
5846+
id: e399ca2e156c
5847+
last_write_checksum: sha1:72c4bfbf8aa490befc47312ed8b5e16a78f3b5e6
5848+
pristine_git_object: d68bd61421859df1e00c0ec15f5a6946ed52dfd1
58375849
docs/components/outputtoolsearchservertoolitem.mdx:
58385850
id: 7106fbb89729
58395851
last_write_checksum: sha1:ca50deb8179a0e3c28352bdb1c558b32d209bb4a
@@ -10056,8 +10068,8 @@ trackedFiles:
1005610068
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1005710069
pyproject.toml:
1005810070
id: 5d07e7d72637
10059-
last_write_checksum: sha1:f0cd2fa4f851f4411afb3f6ae9c07ad2b43eae10
10060-
pristine_git_object: ac6f28ff1f0e6ca9f41f16c1ab3d9557fda88c3a
10071+
last_write_checksum: sha1:2195e43e13a58488b3d9d8d221850e3c4c4934d7
10072+
pristine_git_object: 3f7f85f061dc8970a0acec53f61f74a5929eccfc
1006110073
scripts/prepare_readme.py:
1006210074
id: e0c5957a6035
1006310075
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10084,8 +10096,8 @@ trackedFiles:
1008410096
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1008510097
src/openrouter/_version.py:
1008610098
id: d8d15ad6c586
10087-
last_write_checksum: sha1:aec5bd12e62f41511f30881ea1e3297fb992da2a
10088-
pristine_git_object: 156c6eb6c4130181de9fc4d55df6ba1bcd570fe4
10099+
last_write_checksum: sha1:3a55ecf08814769e1ed8f30f174e43d396ed72a9
10100+
pristine_git_object: 19e295e38e86f408aac633826643dbbe1c9156eb
1008910101
src/openrouter/alpha.py:
1009010102
id: 306c4d93308d
1009110103
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -10132,8 +10144,8 @@ trackedFiles:
1013210144
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
1013310145
src/openrouter/components/__init__.py:
1013410146
id: 81754e97b3f4
10135-
last_write_checksum: sha1:650a38893185b857e33b7beff6d6aec857b9d56c
10136-
pristine_git_object: 87358e71caed4071ac708ef914b7c35878f89e75
10147+
last_write_checksum: sha1:60668776ec2dc42407cb36292a6c99ce51dc2aea
10148+
pristine_git_object: d2ec3b38b68753e9bdf2d3d3bdbd67b8ae9f508c
1013710149
src/openrouter/components/aabenchmarkentry.py:
1013810150
id: e2e0f0b48c82
1013910151
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -12456,8 +12468,8 @@ trackedFiles:
1245612468
pristine_git_object: 616b0f5112e106777b4c096aeea6fef58ff32020
1245712469
src/openrouter/components/outputitems.py:
1245812470
id: 90f107de3116
12459-
last_write_checksum: sha1:d76bcccc67a6e35b740ffa6be3d33c7de00c15b3
12460-
pristine_git_object: 17c17357d85bff6a3cd783e66ef4d3f368b0eae2
12471+
last_write_checksum: sha1:4e830d98d101a1af2105caa8b5ae52d1f0e7f29f
12472+
pristine_git_object: 1b9113713b190526cfcdf504f0f408db0d9ecf11
1246112473
src/openrouter/components/outputitemwebsearchcall.py:
1246212474
id: bac8732aecb9
1246312475
last_write_checksum: sha1:00d5b67226d6ff2c6a5497e6e01c764aeede496e
@@ -12514,6 +12526,10 @@ trackedFiles:
1251412526
id: 2a5dc9318fe6
1251512527
last_write_checksum: sha1:fc1bf715ac0084d7390eb75152f0f27994654fab
1251612528
pristine_git_object: bec8c97af1334b3cfe4631b5bf725e801720bcb1
12529+
src/openrouter/components/outputtoolsearchcallitem.py:
12530+
id: 9a666566a958
12531+
last_write_checksum: sha1:82621ec8199139992f0e09ef480609726d8d2f97
12532+
pristine_git_object: d5a5c820aff0971a68a725af296d68d8d3891992
1251712533
src/openrouter/components/outputtoolsearchservertoolitem.py:
1251812534
id: fb4ec737039d
1251912535
last_write_checksum: sha1:2c5103df28975ab65e9d3fca97bee7039cf85c90
@@ -18418,5 +18434,7 @@ examples:
1841818434
examplesVersion: 1.0.2
1841918435
releaseNotes: |
1842018436
## Python SDK Changes:
18421-
* `open_router.interns.sign_intern_daemon_access_request()`: **Added**
18422-
* `open_router.interns.sign_intern_daemon_request()`: **Added**
18437+
* `open_router.batch.create_batches()`: `response.results[].response.body.union(OpenResponsesResult).output[].union(tool_search_call)` **Added**
18438+
* `open_router.batch.get_batches()`: `response.results[].response.body.union(OpenResponsesResult).output[].union(tool_search_call)` **Added**
18439+
* `open_router.responses.send()`: `response` **Changed**
18440+
* `open_router.beta.responses.send()`: `response` **Changed**

β€Ž.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.31
39+
version: 1.3.32
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23795,6 +23795,7 @@ components:
2379523795
reasoning: '#/components/schemas/OutputReasoningItem'
2379623796
shell_call: '#/components/schemas/OutputShellCallItem'
2379723797
shell_call_output: '#/components/schemas/OutputShellCallOutputItem'
23798+
tool_search_call: '#/components/schemas/OutputToolSearchCallItem'
2379823799
web_search_call: '#/components/schemas/OutputWebSearchCallItem'
2379923800
propertyName: 'type'
2380023801
example:
@@ -23837,6 +23838,7 @@ components:
2383723838
- $ref: '#/components/schemas/OutputSubagentServerToolItem'
2383823839
- $ref: '#/components/schemas/OutputFilesServerToolItem'
2383923840
- $ref: '#/components/schemas/OutputCustomToolCallItem'
23841+
- $ref: '#/components/schemas/OutputToolSearchCallItem'
2384023842
OutputItemWebSearchCall:
2384123843
additionalProperties: {}
2384223844
example:
@@ -24410,6 +24412,38 @@ components:
2441024412
- 'status'
2441124413
- 'type'
2441224414
type: 'object'
24415+
OutputToolSearchCallItem:
24416+
description: 'A call the model made to a `tool_search` tool declared with `"execution": "client"`. The client runs the search and replays this item with a `tool_search_output` item.'
24417+
example:
24418+
arguments:
24419+
query: 'weather'
24420+
call_id: 'call-abc123'
24421+
execution: 'client'
24422+
id: 'tsc-abc123'
24423+
status: 'completed'
24424+
type: 'tool_search_call'
24425+
properties:
24426+
arguments: {}
24427+
call_id:
24428+
type: 'string'
24429+
execution:
24430+
enum:
24431+
- 'client'
24432+
type: 'string'
24433+
id:
24434+
type: 'string'
24435+
status:
24436+
$ref: '#/components/schemas/ToolCallStatus'
24437+
type:
24438+
enum:
24439+
- 'tool_search_call'
24440+
type: 'string'
24441+
required:
24442+
- 'type'
24443+
- 'execution'
24444+
- 'call_id'
24445+
- 'status'
24446+
type: 'object'
2441324447
OutputToolSearchServerToolItem:
2441424448
description: 'An openrouter:tool_search server tool output item'
2441524449
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:76890df717c5d864669ff4732632fe4145cabb3ed31617eccaf999341049a3f3
6-
sourceBlobDigest: sha256:7577bdc8b53accc00faa0214440c09a0fb4b5b4ba6600380c963a853c700b801
5+
sourceRevisionDigest: sha256:b0338d6777e7aef8794536ab2b01600c532f442eaf31abdb76bfe6f5a111de2f
6+
sourceBlobDigest: sha256:9291ce4fdd172d767eb0753e3661380f632e79978f8b865aff59fa11e07763d9
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:76890df717c5d864669ff4732632fe4145cabb3ed31617eccaf999341049a3f3
15-
sourceBlobDigest: sha256:7577bdc8b53accc00faa0214440c09a0fb4b5b4ba6600380c963a853c700b801
14+
sourceRevisionDigest: sha256:b0338d6777e7aef8794536ab2b01600c532f442eaf31abdb76bfe6f5a111de2f
15+
sourceBlobDigest: sha256:9291ce4fdd172d767eb0753e3661380f632e79978f8b865aff59fa11e07763d9
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:f0e4ca5a5b5b0a21317aeb706e04fee0cc360a6ef52eb30b1e8fc81dea1cc3d6
17+
codeSamplesRevisionDigest: sha256:3dd6f9a9f90f62ef046378a633f9c56002be05c3cc969eddf3d4a938656c4404
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
@@ -3079,4 +3079,14 @@ Based on:
30793079
### Generated
30803080
- [python v1.3.31] .
30813081
### Releases
3082-
- [PyPI v1.3.31] https://pypi.org/project/openrouter/1.3.31 - .
3082+
- [PyPI v1.3.31] https://pypi.org/project/openrouter/1.3.31 - .
3083+
3084+
## 2026-10-07 15:37:16
3085+
### Changes
3086+
Based on:
3087+
- OpenAPI Doc
3088+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
3089+
### Generated
3090+
- [python v1.3.32] .
3091+
### Releases
3092+
- [PyPI v1.3.32] https://pypi.org/project/openrouter/1.3.32 - .

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,12 @@ value: components.OutputShellCallItem = /* values here */
187187
value: components.OutputShellCallOutputItem = /* values here */
188188
```
189189

190+
### `components.OutputToolSearchCallItem`
191+
192+
```python
193+
value: components.OutputToolSearchCallItem = /* values here */
194+
```
195+
190196
### `components.OutputWebSearchCallItem`
191197

192198
```python
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: "OutputToolSearchCallItem"
3+
---
4+
5+
A call the model made to a `tool_search` tool declared with `"execution": "client"`. The client runs the search and replays this item with a `tool_search_output` item.
6+
7+
8+
## Fields
9+
10+
| Field | Type | Required | Description | Example |
11+
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
12+
| `arguments` | *Optional[Any]* | βž– | N/A | |
13+
| `call_id` | *str* | βœ… | N/A | |
14+
| `execution` | [components.OutputToolSearchCallItemExecution](../components/outputtoolsearchcallitemexecution.mdx) | βœ… | N/A | |
15+
| `id` | *Optional[str]* | βž– | N/A | |
16+
| `status` | [components.ToolCallStatus](../components/toolcallstatus.mdx) | βœ… | N/A | completed |
17+
| `type` | [components.OutputToolSearchCallItemType](../components/outputtoolsearchcallitemtype.mdx) | βœ… | N/A | |
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "OutputToolSearchCallItemExecution"
3+
---
4+
5+
## Example Usage
6+
7+
```python
8+
from openrouter.components import OutputToolSearchCallItemExecution
9+
value: OutputToolSearchCallItemExecution = "client"
10+
```
11+
12+
13+
## Values
14+
15+
- `"client"`
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "OutputToolSearchCallItemType"
3+
---
4+
5+
## Example Usage
6+
7+
```python
8+
from openrouter.components import OutputToolSearchCallItemType
9+
value: OutputToolSearchCallItemType = "tool_search_call"
10+
```
11+
12+
13+
## Values
14+
15+
- `"tool_search_call"`

β€Ž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 = "1.3.31"
3+
version = "1.3.32"
44
description = "Official Python Client SDK for OpenRouter."
55
authors = [{ name = "OpenRouter" },]
66
readme = "README-PYPI.md"

0 commit comments

Comments
Β (0)