Skip to content

Commit ba5d1f6

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

12 files changed

Lines changed: 61 additions & 44 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 19 additions & 24 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: 0b6a4f9f718f46a6b9f1c42f66c7c30d
4+
docChecksum: 0e1fabf2c30c9f54a340f2447063dceb
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.172
9-
configChecksum: 96e13e4cf0f1fa887bacdd39a5d0d076
8+
releaseVersion: 1.3.173
9+
configChecksum: 4bb368da7e1df14f3800ae26851e3274
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: 44a2bbd7-6f29-454d-bccc-fedc6448e62e
15-
pristine_commit_hash: 630e03187bf7df7f5e8d5d6160ec96523df8ccf0
16-
pristine_tree_hash: b0db7e32f346d6660cf37c9ce78472d7711f6af8
14+
generation_id: 53663775-4c34-42d3-b5b0-8dca0e1d1c0c
15+
pristine_commit_hash: c0c18828d88982022dd2c8bad26bab02da527167
16+
pristine_tree_hash: 6135a60193bc1956199150528b823bda30d35e72
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -6992,8 +6992,8 @@ trackedFiles:
69926992
pristine_git_object: 49c6685751d4ebd497b66734c421f906862d9f57
69936993
docs/components/outputwebfetchservertoolitem.mdx:
69946994
id: a13b752a8d99
6995-
last_write_checksum: sha1:d3535f841c7f23b6ae5db0fea9f7445554807aea
6996-
pristine_git_object: 9224ab7cfe55dc3ef4d3db3a04e922decb5c8369
6995+
last_write_checksum: sha1:e330e8db293f61b2306301b93407a59065ac4765
6996+
pristine_git_object: c9812f3958fe88b64b106cc64c2554585efe1bab
69976997
docs/components/outputwebfetchservertoolitemtype.mdx:
69986998
id: 9ba9db22a4d3
69996999
last_write_checksum: sha1:ab7d41e97f1e83f69ea312673ad23a09255dca7c
@@ -11636,8 +11636,8 @@ trackedFiles:
1163611636
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1163711637
pyproject.toml:
1163811638
id: 5d07e7d72637
11639-
last_write_checksum: sha1:bae5be3f485ba7126e93649fc8ca83d9c76b96a8
11640-
pristine_git_object: 10294129d7ad0e29ff4ec5c11700dd0b91104ece
11639+
last_write_checksum: sha1:1bb0564d42e0e94ee4586650474554e91e55eee8
11640+
pristine_git_object: e59d19d3b8e8b71149c22dba20bcefad42bc4570
1164111641
scripts/prepare_readme.py:
1164211642
id: e0c5957a6035
1164311643
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -11664,8 +11664,8 @@ trackedFiles:
1166411664
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1166511665
src/openrouter/_version.py:
1166611666
id: d8d15ad6c586
11667-
last_write_checksum: sha1:cc55eb6ad7c80e6c3d3a905686f96ad39415d077
11668-
pristine_git_object: 3a4ea3ee2c7b9e6290ea23ddfd3a3e51dfcc3d24
11667+
last_write_checksum: sha1:c97143447a05904bd3175aa882ece8c76de58752
11668+
pristine_git_object: 0a73b37da38c198fc124b832ee094cd707a4acd9
1166911669
src/openrouter/alpha.py:
1167011670
id: 306c4d93308d
1167111671
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
@@ -13640,8 +13640,8 @@ trackedFiles:
1364013640
pristine_git_object: f499cbbb546232f5cfbfe2c44fb41aefb306c87f
1364113641
src/openrouter/components/inputs_union.py:
1364213642
id: 17d6239cb6a7
13643-
last_write_checksum: sha1:b01abadae0cb5a540783a46739c38c06185377e5
13644-
pristine_git_object: 6325458c261665ab39eaa8a83f0cce1333d8038e
13643+
last_write_checksum: sha1:3c2703629e16d3d83d6bfe0102e427c1c5e7f76f
13644+
pristine_git_object: 0e6d8b25caede2dd86be8d7bb427878eace14443
1364513645
src/openrouter/components/inputtext.py:
1364613646
id: a995ae96be99
1364713647
last_write_checksum: sha1:94c720a449e0d5a3f23ee7195f648422f61ac114
@@ -14380,8 +14380,8 @@ trackedFiles:
1438014380
pristine_git_object: 616b0f5112e106777b4c096aeea6fef58ff32020
1438114381
src/openrouter/components/outputitems.py:
1438214382
id: 90f107de3116
14383-
last_write_checksum: sha1:c1175a76eefa7cee18379c7af6bffb7f8de2aecd
14384-
pristine_git_object: b9bd8442c9f14f506b421573ffe47210e079414e
14383+
last_write_checksum: sha1:d7dafe97dc6bf6a0de62084afa54ff14d74b5b94
14384+
pristine_git_object: 909f7601f58c6d208b37e7a5e7665eedbbda4b5c
1438514385
src/openrouter/components/outputitemwebsearchcall.py:
1438614386
id: bac8732aecb9
1438714387
last_write_checksum: sha1:00d5b67226d6ff2c6a5497e6e01c764aeede496e
@@ -14444,8 +14444,8 @@ trackedFiles:
1444414444
pristine_git_object: cbecff6e9cdfa7834bcbb232dc71ef36398fa993
1444514445
src/openrouter/components/outputwebfetchservertoolitem.py:
1444614446
id: 2b12eb287cdf
14447-
last_write_checksum: sha1:60ec6ef59d691699c092120ea7dffed824197872
14448-
pristine_git_object: 9b139a07d00c0fdee897f87e2336838f3a4130bd
14447+
last_write_checksum: sha1:34ade65a8bfc2345b6098c9331c881e991bc5a22
14448+
pristine_git_object: 5294cc54a9f99a98031029773753e8f66b3a5b9c
1444914449
src/openrouter/components/outputwebsearchcallitem.py:
1445014450
id: 8c94cd441023
1445114451
last_write_checksum: sha1:2589da4a4c3d7788906538b8e1cc0cdf8368b726
@@ -21649,9 +21649,4 @@ examples:
2164921649
"500":
2165021650
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
2165121651
examplesVersion: 1.0.2
21652-
releaseNotes: |
21653-
## Python SDK Changes:
21654-
* `open_router.guardrails.list()`: `response.data[].content_filters[].is_enforced` **Added**
21655-
* `open_router.guardrails.create()`: `response.data.content_filters[].is_enforced` **Added**
21656-
* `open_router.guardrails.get()`: `response.data.content_filters[].is_enforced` **Added**
21657-
* `open_router.guardrails.update()`: `response.data.content_filters[].is_enforced` **Added**
21652+
releaseNotes: "## Python SDK Changes:\n* `open_router.batch.create_batches()`: `response.results[].response.body.union(OpenResponsesResult).output[].union(openrouter:web_fetch).retrieved_at` **Added**\n* `open_router.batch.get_batches()`: `response.results[].response.body.union(OpenResponsesResult).output[].union(openrouter:web_fetch).retrieved_at` **Added**\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(OutputWebFetchServerToolItem).retrieved_at` **Added**\n"

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generation:
3737
documentation: mintlify
3838
preApplyUnionDiscriminators: true
3939
python:
40-
version: 1.3.172
40+
version: 1.3.173
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28997,6 +28997,10 @@ components:
2899728997
type: 'integer'
2899828998
id:
2899928999
type: 'string'
29000+
retrieved_at:
29001+
description: 'The time the content was fetched, as an ISO 8601 timestamp.'
29002+
example: '2026-11-12T05:27:43.000Z'
29003+
type: 'string'
2900029004
status:
2900129005
$ref: '#/components/schemas/ToolCallStatus'
2900229006
title:

‎.speakeasy/workflow.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.803.2
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:aaea7962bb250e48c30aef0665e01972f79cf4b7b5f808aafca88ea64dae0b64
6-
sourceBlobDigest: sha256:22a0a735520200446a3deb7951eedee023d6bf24365011fd80670fa3b6cad6bb
5+
sourceRevisionDigest: sha256:4100c04773812225ff2a16b50da56fd1c8f7429c2113fb26f45000a777a5ad1d
6+
sourceBlobDigest: sha256:157c2988d2ec07340dcc3c2aad865382d0bd1692432d82b712928c6efc6ba4bb
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:aaea7962bb250e48c30aef0665e01972f79cf4b7b5f808aafca88ea64dae0b64
15-
sourceBlobDigest: sha256:22a0a735520200446a3deb7951eedee023d6bf24365011fd80670fa3b6cad6bb
14+
sourceRevisionDigest: sha256:4100c04773812225ff2a16b50da56fd1c8f7429c2113fb26f45000a777a5ad1d
15+
sourceBlobDigest: sha256:157c2988d2ec07340dcc3c2aad865382d0bd1692432d82b712928c6efc6ba4bb
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:302a2a067b3442735f68158a236dc28ac6b70785bb6560e902e620641c91eeb1
17+
codeSamplesRevisionDigest: sha256:76b299f5f1bc5cdb7980e207dad7b5507f940a2bc978001220b94f61c8230718
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.803.2

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4489,4 +4489,14 @@ Based on:
44894489
### Generated
44904490
- [python v1.3.172] .
44914491
### Releases
4492-
- [PyPI v1.3.172] https://pypi.org/project/openrouter/1.3.172 - .
4492+
- [PyPI v1.3.172] https://pypi.org/project/openrouter/1.3.172 - .
4493+
4494+
## 2026-11-12 22:22:10
4495+
### Changes
4496+
Based on:
4497+
- OpenAPI Doc
4498+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4499+
### Generated
4500+
- [python v1.3.173] .
4501+
### Releases
4502+
- [PyPI v1.3.173] https://pypi.org/project/openrouter/1.3.173 - .

‎docs/components/outputwebfetchservertoolitem.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ An openrouter:web_fetch server tool output item
1313
| `error` | *Optional[str]* | ➖ | The error message if the fetch failed. | |
1414
| `http_status` | *Optional[int]* | ➖ | The HTTP status code returned by the upstream URL fetch. | |
1515
| `id` | *Optional[str]* | ➖ | N/A | |
16+
| `retrieved_at` | *Optional[str]* | ➖ | The time the content was fetched, as an ISO 8601 timestamp. | 2026-11-12T05:27:43.000Z |
1617
| `status` | [components.ToolCallStatus](../components/toolcallstatus.mdx) | ✔️ | N/A | completed |
1718
| `title` | *Optional[str]* | ➖ | N/A | |
1819
| `type` | [components.OutputWebFetchServerToolItemType](../components/outputwebfetchservertoolitemtype.mdx) | ✔️ | N/A | |

‎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.172"
3+
version = "1.3.173"
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.3.172"
6+
__version__: str = "1.3.173"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.950.13"
9-
__user_agent__: str = "speakeasy-sdk/python 1.3.172 2.950.13 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.3.173 2.950.13 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

‎src/openrouter/components/inputs_union.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,13 +415,13 @@ def serialize_model(self, handler):
415415
OutputCodeInterpreterCallItemTypedDict,
416416
ReasoningItemTypedDict,
417417
CustomToolCallItemTypedDict,
418-
OutputWebFetchServerToolItemTypedDict,
419418
OutputAdvisorServerToolItemTypedDict,
420419
InputsReasoningTypedDict,
421420
OutputCodeInterpreterServerToolItemTypedDict,
422421
McpCallItemTypedDict,
423422
ShellCallOutputItemTypedDict,
424423
OutputImageGenerationServerToolItemTypedDict,
424+
OutputWebFetchServerToolItemTypedDict,
425425
OutputFusionServerToolItemTypedDict,
426426
OutputArmorBlockedItemTypedDict,
427427
OutputShellServerToolItemTypedDict,
@@ -474,13 +474,13 @@ def serialize_model(self, handler):
474474
OutputCodeInterpreterCallItem,
475475
ReasoningItem,
476476
CustomToolCallItem,
477-
OutputWebFetchServerToolItem,
478477
OutputAdvisorServerToolItem,
479478
InputsReasoning,
480479
OutputCodeInterpreterServerToolItem,
481480
McpCallItem,
482481
ShellCallOutputItem,
483482
OutputImageGenerationServerToolItem,
483+
OutputWebFetchServerToolItem,
484484
OutputFusionServerToolItem,
485485
OutputArmorBlockedItem,
486486
OutputShellServerToolItem,

‎src/openrouter/components/outputitems.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,27 +142,27 @@
142142
OutputWebSearchServerToolItemTypedDict,
143143
OutputBrowserUseServerToolItemTypedDict,
144144
OutputImageGenerationCallItemTypedDict,
145+
McpListToolsItemTypedDict,
145146
McpApprovalRequestItemTypedDict,
146147
OutputWebSearchCallItemTypedDict,
147148
OutputApplyPatchCallItemTypedDict,
148-
McpListToolsItemTypedDict,
149149
OutputTextEditorServerToolItemTypedDict,
150150
OutputMessageItemTypedDict,
151-
OutputSearchModelsServerToolItemTypedDict,
152151
OutputToolSearchCallItemTypedDict,
153-
OutputMemoryServerToolItemTypedDict,
154152
OutputApplyPatchServerToolItemTypedDict,
153+
OutputMemoryServerToolItemTypedDict,
155154
OutputDatetimeItemTypedDict,
155+
OutputSearchModelsServerToolItemTypedDict,
156156
OutputShellCallItemTypedDict,
157157
OutputComputerCallItemTypedDict,
158158
OutputCodeInterpreterCallItemTypedDict,
159-
OutputCodeInterpreterServerToolItemTypedDict,
160-
OutputReasoningItemTypedDict,
161-
OutputWebFetchServerToolItemTypedDict,
162159
OutputCustomToolCallItemTypedDict,
163160
OutputAdvisorServerToolItemTypedDict,
161+
OutputCodeInterpreterServerToolItemTypedDict,
162+
OutputReasoningItemTypedDict,
164163
OutputImageGenerationServerToolItemTypedDict,
165164
McpCallItemTypedDict,
165+
OutputWebFetchServerToolItemTypedDict,
166166
OutputShellCallOutputItemTypedDict,
167167
OutputFusionServerToolItemTypedDict,
168168
OutputArmorBlockedItemTypedDict,

0 commit comments

Comments
 (0)