Skip to content

Commit c58fb19

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

14 files changed

Lines changed: 114 additions & 52 deletions

.speakeasy/gen.lock

Lines changed: 25 additions & 27 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: 8d13d68344724319b669bd0c8f91d05c
4+
docChecksum: f7ac6c47012b12942c4c92871db8d36a
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.105
9-
configChecksum: 21b0cd509283a2ff69d6da78244e41b4
8+
releaseVersion: 1.1.106
9+
configChecksum: eea44f61e45cacb05d622ddd6083b459
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: d8f3bcc6-0729-4b3f-99b3-1c483798c79b
15-
pristine_commit_hash: 699531b76de97f08619d0bb672436dc7766f70a9
16-
pristine_tree_hash: 65f465e162ebe8c43550a6504f6fb1d0db768478
14+
generation_id: a64922e4-96fd-4dce-912e-d9564077d3f8
15+
pristine_commit_hash: 5ee4c12760bdf06051fcb93e842fc232545c5397
16+
pristine_tree_hash: 055baf8508e722b1f33f70b6b650283ac61f8b9d
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -3822,8 +3822,12 @@ trackedFiles:
38223822
pristine_git_object: 072ec0fda99640b7b6e38beba759a4c61bf5d0b8
38233823
docs/components/outputcustomtoolcallitem.mdx:
38243824
id: 60c140410cf2
3825-
last_write_checksum: sha1:7b6ff8fcb310c3d33c5860e3682d1536ce5dc829
3826-
pristine_git_object: 6cc163b664a79eb72ce15ad37b4cd1bf7713543f
3825+
last_write_checksum: sha1:77c50b65241a52f42fbfd3b6943240e10dca531e
3826+
pristine_git_object: ec94d941d0adcbf59886fb715c0c68af99dc90da
3827+
docs/components/outputcustomtoolcallitemstatus.mdx:
3828+
id: beccdaca0325
3829+
last_write_checksum: sha1:83e47bfb9f912971a512c216c8471f53143ec895
3830+
pristine_git_object: 20306f61e83d15825eb2d9ebf494d641ad0caeda
38273831
docs/components/outputcustomtoolcallitemtype.mdx:
38283832
id: 35808b916d0f
38293833
last_write_checksum: sha1:2774efac476d4f040b9137cbaf4fc6a63e53662a
@@ -7398,8 +7402,8 @@ trackedFiles:
73987402
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
73997403
pyproject.toml:
74007404
id: 5d07e7d72637
7401-
last_write_checksum: sha1:12817df01d071d28e432dc1a67032b8c04cbb6c9
7402-
pristine_git_object: a55294a8bffcf7134a07f4e042514cc755f1b330
7405+
last_write_checksum: sha1:431e41c2b66c881948b4b30afe1ad76c14a4a1aa
7406+
pristine_git_object: 9922ec2e38a375f5704e010df470bafe7cc6e6aa
74037407
scripts/prepare_readme.py:
74047408
id: e0c5957a6035
74057409
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7426,8 +7430,8 @@ trackedFiles:
74267430
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
74277431
src/openrouter/_version.py:
74287432
id: d8d15ad6c586
7429-
last_write_checksum: sha1:e3917ff4872537c69aff25d7471bdbd565c437c3
7430-
pristine_git_object: 76dfcf1aa14a29f8298806d7f8bcb713be07b292
7433+
last_write_checksum: sha1:d84223a347439c0e2f2037c67474099aa4bac60a
7434+
pristine_git_object: 38645aefa489300d1ff5383a41c1f98828206941
74317435
src/openrouter/analytics.py:
74327436
id: cb406b5aaabb
74337437
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
@@ -7466,8 +7470,8 @@ trackedFiles:
74667470
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
74677471
src/openrouter/components/__init__.py:
74687472
id: 81754e97b3f4
7469-
last_write_checksum: sha1:0a10488fc9dde745709dec391b0f28fe33dc272a
7470-
pristine_git_object: ea03eda8ae0697b247dbed86d0e512287e55a61f
7473+
last_write_checksum: sha1:182f20946f7207fdb8152dfe53a9428b2c5b09ff
7474+
pristine_git_object: b4138417059fa5b2de853e18bd2578f0b59cd6ed
74717475
src/openrouter/components/aabenchmarkentry.py:
74727476
id: e2e0f0b48c82
74737477
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -8630,8 +8634,8 @@ trackedFiles:
86308634
pristine_git_object: f499cbbb546232f5cfbfe2c44fb41aefb306c87f
86318635
src/openrouter/components/inputs_union.py:
86328636
id: 17d6239cb6a7
8633-
last_write_checksum: sha1:0e31da13dda7b0f37fcdbed717756f8a1566eda7
8634-
pristine_git_object: 083f6eb4b45c8ec0e4376dfde81613f5b92e32eb
8637+
last_write_checksum: sha1:a8425ae92b6db633a7c420c7e8a42f41452d7ded
8638+
pristine_git_object: a952d0d39ac0e454e42eaa9296288a91f22154c6
86358639
src/openrouter/components/inputtext.py:
86368640
id: a995ae96be99
86378641
last_write_checksum: sha1:2da9ff645acc96772701908830151c5a707ed021
@@ -9058,8 +9062,8 @@ trackedFiles:
90589062
pristine_git_object: 7c877ba6f8bd2ad9833abbe98478dcb1a8f177e0
90599063
src/openrouter/components/outputcustomtoolcallitem.py:
90609064
id: a5deb8d3fe6a
9061-
last_write_checksum: sha1:bde13f24234b1f3f4e70faa1738a867ca0d54044
9062-
pristine_git_object: 07f9ca2043674a2e7727ecf665579ced80ee5834
9065+
last_write_checksum: sha1:9d5686bf2c5bd00627894c8bc54487dab1279706
9066+
pristine_git_object: 34240e48f72b72e8eba620d834d5d260c2c499f5
90639067
src/openrouter/components/outputdatetimeitem.py:
90649068
id: d7784d04fba3
90659069
last_write_checksum: sha1:aa341f4d24991cfb5bd596707852b99d6336c95e
@@ -9098,8 +9102,8 @@ trackedFiles:
90989102
pristine_git_object: 94af810bbdb87fb8c6800645354f7ec4dd067e7f
90999103
src/openrouter/components/outputitems.py:
91009104
id: 90f107de3116
9101-
last_write_checksum: sha1:58306697134736b149a3e118e808331406afc9a6
9102-
pristine_git_object: 04dbfe6d12959070dd2b95b90789960458d98271
9105+
last_write_checksum: sha1:82d0ee86b6a61f60cb7754505f0a47bca25b9f54
9106+
pristine_git_object: 33c55923099939547d69a88ffcf92137442e9f9e
91039107
src/openrouter/components/outputmcpservertoolitem.py:
91049108
id: bb8c2536a58e
91059109
last_write_checksum: sha1:28d33c9226ff4ce6871457fa1fae384b590f676c
@@ -12473,10 +12477,4 @@ examples:
1247312477
"503":
1247412478
application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}}
1247512479
examplesVersion: 1.0.2
12476-
releaseNotes: |
12477-
## Python SDK Changes:
12478-
* `open_router.chat.send()`: `response` **Changed**
12479-
* `open_router.embeddings.generate()`: `response.usage.cost_details.server_tool_cost` **Added**
12480-
* `open_router.images.generate()`: `response` **Changed**
12481-
* `open_router.responses.send()`: `response` **Changed**
12482-
* `open_router.beta.responses.send()`: `response` **Changed**
12480+
releaseNotes: "## Python SDK Changes:\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(OutputCustomToolCallItem).status` **Added**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[].union(OutputCustomToolCallItem).status` **Added**\n * `response` **Changed**\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(OutputCustomToolCallItem).status` **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.105
39+
version: 1.1.106
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

.speakeasy/out.openapi.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18739,6 +18739,7 @@ components:
1873918739
id: 'ctc-abc123'
1874018740
input: "*** Begin Patch\n*** End Patch"
1874118741
name: 'apply_patch'
18742+
status: 'completed'
1874218743
type: 'custom_tool_call'
1874318744
properties:
1874418745
call_id:
@@ -18752,6 +18753,13 @@ components:
1875218753
namespace:
1875318754
description: 'Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server)'
1875418755
type: 'string'
18756+
status:
18757+
enum:
18758+
- 'in_progress'
18759+
- 'completed'
18760+
- 'incomplete'
18761+
type: 'string'
18762+
x-speakeasy-unknown-values: allow
1875518763
type:
1875618764
enum:
1875718765
- 'custom_tool_call'
@@ -19164,6 +19172,7 @@ components:
1916419172
id: 'ctc-abc123'
1916519173
input: "*** Begin Patch\n*** End Patch"
1916619174
name: 'apply_patch'
19175+
status: 'completed'
1916719176
type: 'custom_tool_call'
1916819177
properties:
1916919178
call_id:
@@ -19177,6 +19186,13 @@ components:
1917719186
namespace:
1917819187
description: 'Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server)'
1917919188
type: 'string'
19189+
status:
19190+
enum:
19191+
- 'in_progress'
19192+
- 'completed'
19193+
- 'incomplete'
19194+
type: 'string'
19195+
x-speakeasy-unknown-values: allow
1918019196
type:
1918119197
enum:
1918219198
- 'custom_tool_call'

.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:40b0b33a5ccf743d74b28e05017c078d2815e50f04376753600cc2be7c729a4d
6-
sourceBlobDigest: sha256:94085c36bf206efd8a5c05a2620f09ec431e8ae6a654f9f315766d0d86fce8ae
5+
sourceRevisionDigest: sha256:73941ce3385037d4faff83a796543c743cbb37b7b4766d5049351c47e0a9f890
6+
sourceBlobDigest: sha256:2ecbbd5933a63a2017a738b46dfa3be3d8ed20efd8a4de1a8a510392f6faf721
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:40b0b33a5ccf743d74b28e05017c078d2815e50f04376753600cc2be7c729a4d
15-
sourceBlobDigest: sha256:94085c36bf206efd8a5c05a2620f09ec431e8ae6a654f9f315766d0d86fce8ae
14+
sourceRevisionDigest: sha256:73941ce3385037d4faff83a796543c743cbb37b7b4766d5049351c47e0a9f890
15+
sourceBlobDigest: sha256:2ecbbd5933a63a2017a738b46dfa3be3d8ed20efd8a4de1a8a510392f6faf721
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:2652602a33d9570e30c87618091c4ef824af10c47acc70cee6c8288c6efd1b71
17+
codeSamplesRevisionDigest: sha256:10eed40c3770270a32f868e4da7b578871a891a4fdea63eaeb63a606fbbc2ba4
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
@@ -1839,4 +1839,14 @@ Based on:
18391839
### Generated
18401840
- [python v1.1.105] .
18411841
### Releases
1842-
- [PyPI v1.1.105] https://pypi.org/project/openrouter/1.1.105 - .
1842+
- [PyPI v1.1.105] https://pypi.org/project/openrouter/1.1.105 - .
1843+
1844+
## 2026-08-31 12:19:01
1845+
### Changes
1846+
Based on:
1847+
- OpenAPI Doc
1848+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1849+
### Generated
1850+
- [python v1.1.106] .
1851+
### Releases
1852+
- [PyPI v1.1.106] https://pypi.org/project/openrouter/1.1.106 - .

docs/components/outputcustomtoolcallitem.mdx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ A call to a custom (freeform-grammar) tool created by the model — distinct fro
77

88
## Fields
99

10-
| Field | Type | Required | Description |
11-
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
12-
| `call_id` | *str* | :heavy_check_mark: | N/A |
13-
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A |
14-
| `input` | *str* | :heavy_check_mark: | N/A |
15-
| `name` | *str* | :heavy_check_mark: | N/A |
16-
| `namespace` | *Optional[str]* | :heavy_minus_sign: | Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server) |
17-
| `type` | [components.OutputCustomToolCallItemType](../components/outputcustomtoolcallitemtype.mdx) | :heavy_check_mark: | N/A |
10+
| Field | Type | Required | Description |
11+
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
12+
| `call_id` | *str* | :heavy_check_mark: | N/A |
13+
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A |
14+
| `input` | *str* | :heavy_check_mark: | N/A |
15+
| `name` | *str* | :heavy_check_mark: | N/A |
16+
| `namespace` | *Optional[str]* | :heavy_minus_sign: | Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server) |
17+
| `status` | [Optional[components.OutputCustomToolCallItemStatus]](../components/outputcustomtoolcallitemstatus.mdx) | :heavy_minus_sign: | N/A |
18+
| `type` | [components.OutputCustomToolCallItemType](../components/outputcustomtoolcallitemtype.mdx) | :heavy_check_mark: | N/A |
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: "OutputCustomToolCallItemStatus"
3+
---
4+
5+
## Example Usage
6+
7+
```python
8+
from openrouter.components import OutputCustomToolCallItemStatus
9+
10+
# Open enum: unrecognized values are captured as UnrecognizedStr
11+
value: OutputCustomToolCallItemStatus = "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"`

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

src/openrouter/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "openrouter"
6-
__version__: str = "1.1.105"
6+
__version__: str = "1.1.106"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.914.0"
9-
__user_agent__: str = "speakeasy-sdk/python 1.1.105 2.914.0 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.1.106 2.914.0 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

src/openrouter/components/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2195,6 +2195,7 @@
21952195
)
21962196
from .outputcustomtoolcallitem import (
21972197
OutputCustomToolCallItem,
2198+
OutputCustomToolCallItemStatus,
21982199
OutputCustomToolCallItemType,
21992200
OutputCustomToolCallItemTypedDict,
22002201
)
@@ -4666,6 +4667,7 @@
46664667
"OutputComputerCallItemType",
46674668
"OutputComputerCallItemTypedDict",
46684669
"OutputCustomToolCallItem",
4670+
"OutputCustomToolCallItemStatus",
46694671
"OutputCustomToolCallItemType",
46704672
"OutputCustomToolCallItemTypedDict",
46714673
"OutputDatetimeItem",
@@ -7093,6 +7095,7 @@
70937095
"PendingSafetyCheck": ".outputcomputercallitem",
70947096
"PendingSafetyCheckTypedDict": ".outputcomputercallitem",
70957097
"OutputCustomToolCallItem": ".outputcustomtoolcallitem",
7098+
"OutputCustomToolCallItemStatus": ".outputcustomtoolcallitem",
70967099
"OutputCustomToolCallItemType": ".outputcustomtoolcallitem",
70977100
"OutputCustomToolCallItemTypedDict": ".outputcustomtoolcallitem",
70987101
"OutputDatetimeItem": ".outputdatetimeitem",

0 commit comments

Comments
 (0)