Skip to content

Commit 1914882

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

16 files changed

Lines changed: 103 additions & 61 deletions

‎.speakeasy/gen.lock‎

Lines changed: 27 additions & 29 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: f8dc91b3c81bf3d705cc827ec9e7a539
4+
docChecksum: c64e8a1bb43b3df7d97e44bed1a86038
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.140
9-
configChecksum: b0f67e896d3d65b70c35fa0825854655
8+
releaseVersion: 1.3.141
9+
configChecksum: 57e51fee9c5d53ea72d3e0b8381f6ea8
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: be94a227-9141-446d-b19d-de1422a044e0
15-
pristine_commit_hash: ae558382b3860a6debb78b1c5edde81051fd2bae
16-
pristine_tree_hash: f6896a0ef56bff0ee3e1998d8adfa81a83450425
14+
generation_id: 080eb84b-a268-48e1-88f8-5387670ca0b7
15+
pristine_commit_hash: 0a133e3a8370c6b6c7ffcd95f439e50de8a1f3d2
16+
pristine_tree_hash: d6eea92a6d82c2e5be1e8de78b4ad087f8b07218
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -3132,8 +3132,8 @@ trackedFiles:
31323132
pristine_git_object: 78c74a24e624245cbbfe2f989c4301442bbb5fee
31333133
docs/components/deferredbm25search.mdx:
31343134
id: 28b5539be31d
3135-
last_write_checksum: sha1:446e5ba3ff5fd0dce149be2f9ec5f33d0cad2231
3136-
pristine_git_object: 88953c20c366fc3c0afc37193fb9dbaecaa1db9d
3135+
last_write_checksum: sha1:a15bcc6774c01064019b8322f75c420d16fcd615
3136+
pristine_git_object: 2ca788fa3c94eb09e32070aa7042e4074fc96ccc
31373137
docs/components/deferredbm25searchtype.mdx:
31383138
id: 7c08005a05ac
31393139
last_write_checksum: sha1:4c12129e0ab52db31056314a17628cbfedb600b8
@@ -3148,16 +3148,16 @@ trackedFiles:
31483148
pristine_git_object: 8accaf302940a8ab39f159badc6daccad7fddd75
31493149
docs/components/deferredregexsearch.mdx:
31503150
id: 8b88be545243
3151-
last_write_checksum: sha1:76e75788f5d4a2541baf1bd0735807fab396d01b
3152-
pristine_git_object: 7ca608b0a48483bfa6de68614faf8423e56cff5d
3151+
last_write_checksum: sha1:03a700d04a33be1a412a4e02cf78384bfac7aa12
3152+
pristine_git_object: c1b67599df1b7edf23020afca6f28224ebf6ef4b
31533153
docs/components/deferredregexsearchtype.mdx:
31543154
id: bcec87810dd1
31553155
last_write_checksum: sha1:59b772e53fc1109c2cc4f42f4cf21405c35830a6
31563156
pristine_git_object: a226240fb3b94358d33acc91761a8bba03309b63
31573157
docs/components/deferredtoolscontrol.mdx:
31583158
id: 13db9fb1f102
3159-
last_write_checksum: sha1:d6924c2b7eaf02cb8eaef07d30556cf43cc711e0
3160-
pristine_git_object: b2034e5bdc974166dd428e27eaf9e1764b3bc7d4
3159+
last_write_checksum: sha1:bc65f901da52e95d9b0b352635d44bb9d2908700
3160+
pristine_git_object: 3c02fcdc8dfc6fc694c6e63707e320d60394b392
31613161
docs/components/deferredtoolscontrolscope.mdx:
31623162
id: 61fade4412af
31633163
last_write_checksum: sha1:ff698d00ab177a0e0ac4ffe495004205f89ab63b
@@ -7304,8 +7304,8 @@ trackedFiles:
73047304
pristine_git_object: 6c3e7e5d4da71c9aa3052bf628a98a37de57a648
73057305
docs/components/profile.mdx:
73067306
id: cb682ce5da89
7307-
last_write_checksum: sha1:85fc558652373eaf48459a2c14c15da8cd7c990e
7308-
pristine_git_object: f9eb1da620f71c083b8db1563c4b424f3ece8bcf
7307+
last_write_checksum: sha1:7738987aa74bc6cbc779bd83392e58465bf8161b
7308+
pristine_git_object: 5e99f04a7fe5467a4da14f03fe4227909ebf8949
73097309
docs/components/promptcachebreakpoint.mdx:
73107310
id: c135956dc623
73117311
last_write_checksum: sha1:581974fd4042ee26dd8a88d28a084c28b3ccdef9
@@ -11572,8 +11572,8 @@ trackedFiles:
1157211572
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1157311573
pyproject.toml:
1157411574
id: 5d07e7d72637
11575-
last_write_checksum: sha1:9f0dca296be25de0a997509a6f5e337f4f7962df
11576-
pristine_git_object: e92db736d76e6e2927d74cacba0553e74f8e64b9
11575+
last_write_checksum: sha1:4e8e9761c42ce8a62aa8067fe8b61d6420853214
11576+
pristine_git_object: 3c2f24271d9e9d34c5a0b77afa52ebe2133e7475
1157711577
scripts/prepare_readme.py:
1157811578
id: e0c5957a6035
1157911579
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -11600,8 +11600,8 @@ trackedFiles:
1160011600
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1160111601
src/openrouter/_version.py:
1160211602
id: d8d15ad6c586
11603-
last_write_checksum: sha1:39d91473d7e7c29a245937ae51baece1dc05e2d3
11604-
pristine_git_object: 949b502ab5d9ce1a5f75345dfcff095fec57dd04
11603+
last_write_checksum: sha1:d5a41727fce325bc07490814cee31abfb1c339a7
11604+
pristine_git_object: 2c06f86bfa6db8f5f0fa6987c7456476c3411647
1160511605
src/openrouter/alpha.py:
1160611606
id: 306c4d93308d
1160711607
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
@@ -12980,28 +12980,28 @@ trackedFiles:
1298012980
pristine_git_object: dccefb2123d06d6d9920e7035f21a8ab5e7b86a8
1298112981
src/openrouter/components/deferredbm25search.py:
1298212982
id: b988bf147d9f
12983-
last_write_checksum: sha1:c18b3d46bd22aa8225a0e8bd437a2216d5e2b1f1
12984-
pristine_git_object: 88170eac0664366f3623bddd70c333150e803192
12983+
last_write_checksum: sha1:844c2abcc0abfe97fb0fc674433fbe562b13d1be
12984+
pristine_git_object: fc8e02ddf1351afcd9eea9bb0f0b22c70f56455d
1298512985
src/openrouter/components/deferredcustomsearch.py:
1298612986
id: 71d9d33ba373
1298712987
last_write_checksum: sha1:1b308d057e8b27d8a7da76b1edf47734ab11dd0c
1298812988
pristine_git_object: b47ed4f8a5b51b416f3105bb22b93dddf23e7aa6
1298912989
src/openrouter/components/deferredregexsearch.py:
1299012990
id: 64f28f2cc1af
12991-
last_write_checksum: sha1:59a3ca23434f478644f04a42515477a02bd09567
12992-
pristine_git_object: 21eb6b48f7b5a7eb922a55c395c18b87393913ee
12991+
last_write_checksum: sha1:5b1e7421dd0cfce6630b734abd5419c17b7e4ca0
12992+
pristine_git_object: 3df7acb264606e29fc26a79c5f5eda4166b8e206
1299312993
src/openrouter/components/deferredtoolscontrol.py:
1299412994
id: b8b6ceef6f86
12995-
last_write_checksum: sha1:371b8a26ed641aee9c4061cd973a014197b3aa5e
12996-
pristine_git_object: dfd1e0ce16b72379fe36f077b5f1c92a700d58cd
12995+
last_write_checksum: sha1:400370e0b6065417a670fba03fc5faa713f503c3
12996+
pristine_git_object: 75217e5d298f3e26d8f229a6ae82e5df3e6f1665
1299712997
src/openrouter/components/deferredtoolsdetails.py:
1299812998
id: 044f0e33803d
1299912999
last_write_checksum: sha1:2f8fcc43fc779a0cb9621149875a5e7bbfa5e6dc
1300013000
pristine_git_object: 1cc2be0d154e3487e2f7b33b6cf3baa652f21e5b
1300113001
src/openrouter/components/deferredtoolssearchstrategy.py:
1300213002
id: 6bd66af4513f
13003-
last_write_checksum: sha1:fa3e06da0ca4390085a58f5ded26a64ebe157fff
13004-
pristine_git_object: 6eaf9b612691a2b5fd8029449e8fa32a6053db19
13003+
last_write_checksum: sha1:cf617a6ed86ddebbd9ecd386e5d3ff22daa29611
13004+
pristine_git_object: 011b09b1ebeb104153d77561f1ebfc9679b6ff91
1300513005
src/openrouter/components/deletebyokkeyresponse.py:
1300613006
id: f9a1e677521f
1300713007
last_write_checksum: sha1:371aa071eb7da7c466521eed203e32e441c6abb3
@@ -21507,8 +21507,6 @@ examples:
2150721507
examplesVersion: 1.0.2
2150821508
releaseNotes: |
2150921509
## Python SDK Changes:
21510-
* `open_router.batch.create_batches()`: `response.results[].response.body.union(OpenResponsesResult).output[].union(openrouter:tool_search).catalog_changes` **Added**
21511-
* `open_router.batch.get_batches()`: `response.results[].response.body.union(OpenResponsesResult).output[].union(openrouter:tool_search).catalog_changes` **Added**
2151221510
* `open_router.presets.create_presets_chat_completions()`: `request.deferred_tools` **Changed**
2151321511
* `open_router.presets.create_presets_messages()`: `request.deferred_tools` **Changed**
21514-
* `open_router.presets.create_presets_responses()`: `request` **Changed**
21512+
* `open_router.presets.create_presets_responses()`: `request.deferred_tools` **Changed**

‎.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.140
40+
version: 1.3.141
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12109,6 +12109,9 @@ components:
1210912109
properties:
1211012110
max_results:
1211112111
type: 'integer'
12112+
miss_sources:
12113+
description: 'Universal profile only, for searches the router answers through the `tool_search` wrapper. When true, a search that matches nothing also names the deferred sources this search covers (namespaces, MCP servers, and shared `<server>_` prefixes; up to 40 names or 2,000 characters, with a count of any omitted) and tells the model that a source the search does not cover is unreachable through it in this request, so it can make a client tool call the task already needs (or a read-only one) and search again on a later turn instead of concluding the integration is missing. Direct tools, including a client''s built-in tools, are already in the tool list and are not named. Absent or false: a miss suggests other keywords and the closest names only.'
12114+
type: 'boolean'
1211212115
siblings:
1211312116
description: 'Universal profile only, for searches the router answers through the `tool_search` wrapper; code-mode `search()` and a client-owned tool search list the matched tools alone. When true, each result also names up to 16 other deferred tools of every source a match came from, so a model that found one tool of an MCP server learns its neighbours without another search. Absent or false: results list the matched tools alone.'
1211412117
type: 'boolean'
@@ -12155,6 +12158,9 @@ components:
1215512158
properties:
1215612159
max_results:
1215712160
type: 'integer'
12161+
miss_sources:
12162+
description: 'Universal profile only, for searches the router answers through the `tool_search` wrapper. When true, a search that matches nothing also names the deferred sources this search covers (namespaces, MCP servers, and shared `<server>_` prefixes; up to 40 names or 2,000 characters, with a count of any omitted) and tells the model that a source the search does not cover is unreachable through it in this request, so it can make a client tool call the task already needs (or a read-only one) and search again on a later turn instead of concluding the integration is missing. Direct tools, including a client''s built-in tools, are already in the tool list and are not named. Absent or false: a miss suggests other keywords and the closest names only.'
12163+
type: 'boolean'
1215812164
siblings:
1215912165
description: 'Universal profile only, for searches the router answers through the `tool_search` wrapper; code-mode `search()` and a client-owned tool search list the matched tools alone. When true, each result also names up to 16 other deferred tools of every source a match came from, so a model that found one tool of an MCP server learns its neighbours without another search. Absent or false: results list the matched tools alone.'
1216012166
type: 'boolean'
@@ -12197,8 +12203,11 @@ components:
1219712203
- 'code_mode'
1219812204
type: 'string'
1219912205
x-speakeasy-unknown-values: allow
12206+
min_deferred_tools:
12207+
description: 'Universal profile only. When fewer tools than this would be deferred, the universal profile defers none of them and sends the client tools unchanged, so a harness with a handful of non-core tools and no MCP servers pays no search turn for them. Counted after the interface exclusions; ignored with a custom search, whose client decides what it loads. Absent: every wrappable tool in scope is deferred.'
12208+
type: 'integer'
1220012209
profile:
12201-
description: 'Loading profile. `portable` serves the `defer_loading` tools with router-built search and call wrappers on any model and keeps the catalog fixed. `universal` defers every wrappable tool behind the same wrappers so the provider-facing tool list never changes, and rebuilds the catalog from each request so tools can be added or removed mid-conversation.'
12210+
description: 'Loading profile. `portable` serves the `defer_loading` tools with router-built search and call wrappers on any model and keeps the catalog fixed. `universal` defers every wrappable tool behind the same wrappers so the provider-facing tool list never changes (unless `min_deferred_tools` inlines a small catalog), and rebuilds the catalog from each request so tools can be added or removed mid-conversation.'
1220212211
enum:
1220312212
- 'portable'
1220412213
- 'universal'

‎.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:37aa1e6df993cf6f4b6dc7546a7cd770f8ba5da6894821053e47f6d921c66d14
6-
sourceBlobDigest: sha256:78be206324d2799a542bffa4b6224b31b5284ad94e7b914eac21523272ac7afd
5+
sourceRevisionDigest: sha256:dc1791abea34c3b54da7554eb2636d9378f6958fe52dc9b02c7a391561b6803c
6+
sourceBlobDigest: sha256:a5d9fb0ee44c6ed55e7daf20a8b4849087a8173a1579cc76233167915af91d29
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:37aa1e6df993cf6f4b6dc7546a7cd770f8ba5da6894821053e47f6d921c66d14
15-
sourceBlobDigest: sha256:78be206324d2799a542bffa4b6224b31b5284ad94e7b914eac21523272ac7afd
14+
sourceRevisionDigest: sha256:dc1791abea34c3b54da7554eb2636d9378f6958fe52dc9b02c7a391561b6803c
15+
sourceBlobDigest: sha256:a5d9fb0ee44c6ed55e7daf20a8b4849087a8173a1579cc76233167915af91d29
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:b23c29a29f211d8968416eeea6a6304ceb1c7ae9cd3e44cdf085101a01063237
17+
codeSamplesRevisionDigest: sha256:6903f04c32a0eed4f2e5d36b8172901cfe6bcd3902c8fbe414b6546d3eb0a6a1
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
@@ -4169,4 +4169,14 @@ Based on:
41694169
### Generated
41704170
- [python v1.3.140] .
41714171
### Releases
4172-
- [PyPI v1.3.140] https://pypi.org/project/openrouter/1.3.140 - .
4172+
- [PyPI v1.3.140] https://pypi.org/project/openrouter/1.3.140 - .
4173+
4174+
## 2026-11-08 14:21:10
4175+
### Changes
4176+
Based on:
4177+
- OpenAPI Doc
4178+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4179+
### Generated
4180+
- [python v1.3.141] .
4181+
### Releases
4182+
- [PyPI v1.3.141] https://pypi.org/project/openrouter/1.3.141 - .

0 commit comments

Comments
 (0)