Skip to content

Commit 09c558c

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

11 files changed

Lines changed: 60 additions & 61 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 17 additions & 17 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: dbe1be7b684e26f7b091ddce44691b4e
4+
docChecksum: 3773161a8604be564468283d6f568764
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.66
9-
configChecksum: 63768750ca4c07b37c2ea1f41f3f74e5
8+
releaseVersion: 1.1.67
9+
configChecksum: 8cced82f222edb963bd9ba7135028bff
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: d214eae7-a3b6-4512-a879-cdfa94122496
15-
pristine_commit_hash: d4afbbecdfee385fa2c810d9dfcea3e3965a7cca
16-
pristine_tree_hash: 15fae0089a7b56bf502b9f791aeb65497687eb58
14+
generation_id: 8225767b-9966-4999-871d-86eb94045783
15+
pristine_commit_hash: 4073ad71e3d31b309c65c501a0a2268d947bd4e3
16+
pristine_tree_hash: a722e077b6f7505c634256a0c516ba3d66649ffa
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -1618,8 +1618,8 @@ trackedFiles:
16181618
pristine_git_object: 8f1998f649043b4b2c6eab0ed51df960be63523e
16191619
docs/components/customtoolcallitem.mdx:
16201620
id: 3936d690b05c
1621-
last_write_checksum: sha1:26f5b677acfa7a9934e2843d8455b67413b79079
1622-
pristine_git_object: fc18f9890ff9014d08a110e16e581280b3c09a72
1621+
last_write_checksum: sha1:e3daa7b5429fd929483a4a364257ed8b39c70c77
1622+
pristine_git_object: 6d80eabda37a8020026f092b7eace18e0bc99aba
16231623
docs/components/customtoolcallitemtype.mdx:
16241624
id: d69cfea1fb83
16251625
last_write_checksum: sha1:25c64017876c8e051f178e87fcd94f47f19e6bc8
@@ -7258,8 +7258,8 @@ trackedFiles:
72587258
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
72597259
pyproject.toml:
72607260
id: 5d07e7d72637
7261-
last_write_checksum: sha1:60459229aef213e0af05eb9f999f1e60747d7e69
7262-
pristine_git_object: 4f306e656481232f2ce7c9033205ff52e661389d
7261+
last_write_checksum: sha1:59971c6a48fda5aaba7b621523ad352e2af12757
7262+
pristine_git_object: 5800d82d801df3f8ba729c9d9dd2678273720db8
72637263
scripts/prepare_readme.py:
72647264
id: e0c5957a6035
72657265
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7286,8 +7286,8 @@ trackedFiles:
72867286
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
72877287
src/openrouter/_version.py:
72887288
id: d8d15ad6c586
7289-
last_write_checksum: sha1:ea33fdfcab0f463b892295eba0f0115c271bc9b9
7290-
pristine_git_object: 6bc5cb646e6adebca04b621264db4714129bc17b
7289+
last_write_checksum: sha1:b98ac489cfdf617cc33283553089cb53da2c0fde
7290+
pristine_git_object: 46f6442c6a4a3037748dd8dab2f4a3399283b27a
72917291
src/openrouter/analytics.py:
72927292
id: cb406b5aaabb
72937293
last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a
@@ -8066,8 +8066,8 @@ trackedFiles:
80668066
pristine_git_object: 308a29665db6048780b3d9d3dad551110e002cfe
80678067
src/openrouter/components/customtoolcallitem.py:
80688068
id: 232ac63226eb
8069-
last_write_checksum: sha1:2d78ca6daeaca1efb8e594327a972bcbd97c1928
8070-
pristine_git_object: 3e47f14839dadbbf30303e0b1e703802a3eaedf3
8069+
last_write_checksum: sha1:5f7d574550fc384e00b328c5a0b86dd5d50cc09a
8070+
pristine_git_object: 038c2bbfb83285304b3973bdb67281642fb39c06
80718071
src/openrouter/components/customtoolcalloutputitem.py:
80728072
id: 533940b12cd2
80738073
last_write_checksum: sha1:68089e5a22099cc2d438eb7be71e39fdda816241
@@ -8482,8 +8482,8 @@ trackedFiles:
84828482
pristine_git_object: f499cbbb546232f5cfbfe2c44fb41aefb306c87f
84838483
src/openrouter/components/inputs_union.py:
84848484
id: 17d6239cb6a7
8485-
last_write_checksum: sha1:07d9ef297ea849a41c6b8b3df279bc32608dad25
8486-
pristine_git_object: e4eaeb22660855b4951da642fd8595d1d0b1399a
8485+
last_write_checksum: sha1:1f30b36e8a9e9eee741841ef65ad7bed03851961
8486+
pristine_git_object: df51270a7f1e393f827486475e5c359cc7f1c2a5
84878487
src/openrouter/components/inputtext.py:
84888488
id: a995ae96be99
84898489
last_write_checksum: sha1:2da9ff645acc96772701908830151c5a707ed021
@@ -12183,4 +12183,4 @@ examples:
1218312183
"500":
1218412184
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1218512185
examplesVersion: 1.0.2
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"
12186+
releaseNotes: "## Python SDK Changes:\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(CustomToolCallItem).status` **Added**\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(CustomToolCallItem).status` **Added**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[].union(CustomToolCallItem).status` **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: 1.1.66
39+
version: 1.1.67
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7657,35 +7657,19 @@ components:
76577657
sequence_number: 6
76587658
type: 'response.custom_tool_call_input.done'
76597659
CustomToolCallItem:
7660+
allOf:
7661+
- $ref: '#/components/schemas/OpenAIResponseCustomToolCall'
7662+
- properties:
7663+
status:
7664+
$ref: '#/components/schemas/ToolCallStatus'
7665+
type: 'object'
76607666
description: 'A call to a custom (freeform-grammar) tool created by the model — distinct from `function_call`. Used for tools like Codex CLI''s `apply_patch` whose payload is opaque text rather than JSON arguments.'
76617667
example:
76627668
call_id: 'call-abc123'
76637669
id: 'ctc-abc123'
76647670
input: "*** Begin Patch\n*** End Patch"
76657671
name: 'apply_patch'
76667672
type: 'custom_tool_call'
7667-
properties:
7668-
call_id:
7669-
type: 'string'
7670-
id:
7671-
type: 'string'
7672-
input:
7673-
type: 'string'
7674-
name:
7675-
type: 'string'
7676-
namespace:
7677-
description: 'Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server)'
7678-
type: 'string'
7679-
type:
7680-
enum:
7681-
- 'custom_tool_call'
7682-
type: 'string'
7683-
required:
7684-
- 'type'
7685-
- 'call_id'
7686-
- 'name'
7687-
- 'input'
7688-
type: 'object'
76897673
CustomToolCallOutputItem:
76907674
allOf:
76917675
- $ref: '#/components/schemas/OpenAIResponseCustomToolCallOutput'

‎.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:9a707b30c4747885757958aa902611faa8b3e614912e97e89a3075d6c4a10eb1
6-
sourceBlobDigest: sha256:985e0221cfd1f49f7df5c4b0bb52528c00b8a70114ce82d0320572bb8fe35e03
5+
sourceRevisionDigest: sha256:dc1154559280b70a569af48b3af3b5d2faa39100e687c8a567993280f01f1bd4
6+
sourceBlobDigest: sha256:8c104ff94c4eba40c34d2a761a19f3073f7d34f561016a0a2410d0a4d9bb29e0
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:9a707b30c4747885757958aa902611faa8b3e614912e97e89a3075d6c4a10eb1
15-
sourceBlobDigest: sha256:985e0221cfd1f49f7df5c4b0bb52528c00b8a70114ce82d0320572bb8fe35e03
14+
sourceRevisionDigest: sha256:dc1154559280b70a569af48b3af3b5d2faa39100e687c8a567993280f01f1bd4
15+
sourceBlobDigest: sha256:8c104ff94c4eba40c34d2a761a19f3073f7d34f561016a0a2410d0a4d9bb29e0
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:fe338b48dd338ee977f832061e78a9a7bde76e308e92ab9abaa252ebaf383a70
17+
codeSamplesRevisionDigest: sha256:0c89c2429daf87dd988146ac9847d7c52d62ccc6e4e5f39e1950207ec959e7e8
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
@@ -1449,4 +1449,14 @@ Based on:
14491449
### Generated
14501450
- [python v1.1.66] .
14511451
### Releases
1452-
- [PyPI v1.1.66] https://pypi.org/project/openrouter/1.1.66 - .
1452+
- [PyPI v1.1.66] https://pypi.org/project/openrouter/1.1.66 - .
1453+
1454+
## 2026-08-19 22:31:08
1455+
### Changes
1456+
Based on:
1457+
- OpenAPI Doc
1458+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1459+
### Generated
1460+
- [python v1.1.67] .
1461+
### Releases
1462+
- [PyPI v1.1.67] https://pypi.org/project/openrouter/1.1.67 - .

‎docs/components/customtoolcallitem.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.CustomToolCallItemType](../components/customtoolcallitemtype.mdx) | :heavy_check_mark: | N/A |
10+
| Field | Type | Required | Description | Example |
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.CustomToolCallItemType](../components/customtoolcallitemtype.mdx) | :heavy_check_mark: | N/A | |
18+
| `status` | [Optional[components.ToolCallStatus]](../components/toolcallstatus.mdx) | :heavy_minus_sign: | N/A | completed |

‎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.66"
3+
version = "1.1.67"
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.66"
6+
__version__: str = "1.1.67"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.914.0"
9-
__user_agent__: str = "speakeasy-sdk/python 1.1.66 2.914.0 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.1.67 2.914.0 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

‎src/openrouter/components/customtoolcallitem.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

33
from __future__ import annotations
4+
from .toolcallstatus import ToolCallStatus
45
from openrouter.types import BaseModel, UNSET_SENTINEL
56
from pydantic import model_serializer
67
from typing import Literal, Optional
@@ -20,6 +21,7 @@ class CustomToolCallItemTypedDict(TypedDict):
2021
id: NotRequired[str]
2122
namespace: NotRequired[str]
2223
r"""Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server)"""
24+
status: NotRequired[ToolCallStatus]
2325

2426

2527
class CustomToolCallItem(BaseModel):
@@ -38,9 +40,11 @@ class CustomToolCallItem(BaseModel):
3840
namespace: Optional[str] = None
3941
r"""Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server)"""
4042

43+
status: Optional[ToolCallStatus] = None
44+
4145
@model_serializer(mode="wrap")
4246
def serialize_model(self, handler):
43-
optional_fields = set(["id", "namespace"])
47+
optional_fields = set(["id", "namespace", "status"])
4448
serialized = handler(self)
4549
m = {}
4650

‎src/openrouter/components/inputs_union.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,10 @@ def serialize_model(self, handler):
408408
OutputSearchModelsServerToolItemTypedDict,
409409
OutputCustomToolCallItemTypedDict,
410410
OutputMemoryServerToolItemTypedDict,
411-
CustomToolCallItemTypedDict,
412411
InputsMessageTypedDict,
413412
ShellCallOutputItemTypedDict,
414413
OutputComputerCallItemTypedDict,
414+
CustomToolCallItemTypedDict,
415415
McpCallItemTypedDict,
416416
AgentMessageItemTypedDict,
417417
OutputShellServerToolItemTypedDict,
@@ -465,10 +465,10 @@ def serialize_model(self, handler):
465465
OutputSearchModelsServerToolItem,
466466
OutputCustomToolCallItem,
467467
OutputMemoryServerToolItem,
468-
CustomToolCallItem,
469468
InputsMessage,
470469
ShellCallOutputItem,
471470
OutputComputerCallItem,
471+
CustomToolCallItem,
472472
McpCallItem,
473473
AgentMessageItem,
474474
OutputShellServerToolItem,

0 commit comments

Comments
 (0)