Skip to content

Commit b77a648

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

15 files changed

Lines changed: 52 additions & 163 deletions

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

Lines changed: 21 additions & 28 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: 2ceae3a4d5ec00d9acf88a1d00032182
4+
docChecksum: 70f3ab92fb1757fe6fd721c78ba894ed
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.63
9-
configChecksum: 33df828b80be375edf429dd692a7b7cc
8+
releaseVersion: 1.1.64
9+
configChecksum: e9adf1e0afd4d8f2fedb9fe76743644d
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: 99642417-54eb-4655-a3ab-2fe2e4863d4a
15-
pristine_commit_hash: 5043d6a5d18a819823e3a6d2f3ad3601b824c365
16-
pristine_tree_hash: 7a9a1ad1fd3a74c63db2ffda089f947d56798304
14+
generation_id: 32d709d1-2144-467d-bdd3-b0ed3dd97df8
15+
pristine_commit_hash: 1203d6c0ba320025aa33aca75ea7f2bb3fd1500d
16+
pristine_tree_hash: 69271419732b2548bba3b6f456bfb333c8ad70a1
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -132,10 +132,6 @@ trackedFiles:
132132
id: bf179b4008af
133133
last_write_checksum: sha1:c0d4fee7d39fbd3d08c44bbe0e7b929350c5d7e8
134134
pristine_git_object: 00ce08abaaf149eb1713cc084e87a8b1efc8df81
135-
docs/components/advisornestedtool.mdx:
136-
id: 71464b7dde39
137-
last_write_checksum: sha1:89d7a7836c487fe84756f39b306bbfca59b1ca6c
138-
pristine_git_object: 81964e19bd13c14a67371b972b99926dc712b11d
139135
docs/components/advisorreasoning.mdx:
140136
id: c4f80ddfbd1b
141137
last_write_checksum: sha1:9e16412ad2176b95e0c995efeb0850318ec58d37
@@ -146,12 +142,12 @@ trackedFiles:
146142
pristine_git_object: aa427b33bd2210325fc468dcce935c9ad2da4096
147143
docs/components/advisorservertoolconfig.mdx:
148144
id: 21d52f2c8a42
149-
last_write_checksum: sha1:c998886f93312eec86a7747ad12d095c20fbf64f
150-
pristine_git_object: 123fe8790d1b021480efb9e7da3176cdd2736f00
145+
last_write_checksum: sha1:18215d160281c46a57b84463dfb774990a51184f
146+
pristine_git_object: 5aa0ee10cafd923ef9cbb7987020cf131a6f5507
151147
docs/components/advisorservertoolopenrouter.mdx:
152148
id: ed2fd64f9766
153-
last_write_checksum: sha1:d0c85e7d14ded4e6686f9463bf6a1460ce9267df
154-
pristine_git_object: 928a0b80faca7f5e8faa898ebe1634c9a09c15f9
149+
last_write_checksum: sha1:4aef2b661a53d38da31561ca99875d22bf12791f
150+
pristine_git_object: 3c141ae5132e50d3cacec70b29da5d545220d88e
155151
docs/components/advisorservertoolopenroutertype.mdx:
156152
id: 037d49b1a02c
157153
last_write_checksum: sha1:1ef65dad1b6f74dad67829f8b67d65da6144922b
@@ -7254,8 +7250,8 @@ trackedFiles:
72547250
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
72557251
pyproject.toml:
72567252
id: 5d07e7d72637
7257-
last_write_checksum: sha1:59d0ec5280f78c46b6882823110d574ff257d53c
7258-
pristine_git_object: e412a9e64578c70e0d91b0767d1a9414506807ed
7253+
last_write_checksum: sha1:ed7fe7a914a6cd7a0c1609753fa5cebedba923c7
7254+
pristine_git_object: e823397e9b0c660033fc5146b23b734eea44ece0
72597255
scripts/prepare_readme.py:
72607256
id: e0c5957a6035
72617257
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7282,8 +7278,8 @@ trackedFiles:
72827278
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
72837279
src/openrouter/_version.py:
72847280
id: d8d15ad6c586
7285-
last_write_checksum: sha1:660c7ddfd0347049728c32c2d01f8cb7f19e42f8
7286-
pristine_git_object: 7b6bb8689d72b5119416d40a7cebccdc35d11538
7281+
last_write_checksum: sha1:d7958726a5435981410aeaa43f2e386cbfa1a0e7
7282+
pristine_git_object: 31d8ed78e8fcbff03276adcb217dcf340dac50e4
72877283
src/openrouter/analytics.py:
72887284
id: cb406b5aaabb
72897285
last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a
@@ -7326,8 +7322,8 @@ trackedFiles:
73267322
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
73277323
src/openrouter/components/__init__.py:
73287324
id: 81754e97b3f4
7329-
last_write_checksum: sha1:1038d7f0c962e487787582da4d527b819f122aee
7330-
pristine_git_object: 84f9a9561ebe764a905326d20e6e80ba30922047
7325+
last_write_checksum: sha1:22904934dac60fa1c97520d0af7148864e9a05a4
7326+
pristine_git_object: 0ecfa1024355f685f89166989f37ddf8a98375dc
73317327
src/openrouter/components/aabenchmarkentry.py:
73327328
id: e2e0f0b48c82
73337329
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -7344,22 +7340,18 @@ trackedFiles:
73447340
id: 2761ab789f41
73457341
last_write_checksum: sha1:f711aac1f44184306bed8d816190208e8c73daa5
73467342
pristine_git_object: c9851ef1cc4b9fadc8f0cb79089282ab0b0af941
7347-
src/openrouter/components/advisornestedtool.py:
7348-
id: 768fcc6bad2b
7349-
last_write_checksum: sha1:23f5831fd27a32345fb4e50c1406df0510b0bf47
7350-
pristine_git_object: 23e5798c1057c478480a96f1cc09bebc6ca10836
73517343
src/openrouter/components/advisorreasoning.py:
73527344
id: d5af5c19fc73
73537345
last_write_checksum: sha1:0fd32e4ff2d89f7cea861d6e691e82a7e1ff62f2
73547346
pristine_git_object: 0b87e3c6bde34128215d2228f2349a44ff453a5b
73557347
src/openrouter/components/advisorservertool_openrouter.py:
73567348
id: 4442cd9ad387
7357-
last_write_checksum: sha1:74597f510ec8044437d9a0f5abd6465152141c1d
7358-
pristine_git_object: ffec551949aaf877801193abb0dd8ed6d015453a
7349+
last_write_checksum: sha1:ad191d2c52264c0f5a51f35892a744b17ac4fe6e
7350+
pristine_git_object: 5be72439952695c033cf270d087234703fbf1607
73597351
src/openrouter/components/advisorservertoolconfig.py:
73607352
id: 683887bb9db3
7361-
last_write_checksum: sha1:3a801b02cc92e02a00f0e26f377fb93a6893641a
7362-
pristine_git_object: d92e19f8e9bec36933cd3e5d7ccc1690f14b168f
7353+
last_write_checksum: sha1:96cab10eadadadf9663f83a003ffa5d74555287e
7354+
pristine_git_object: 4aca4ffde948a789118b9388fdf4638cb878e532
73637355
src/openrouter/components/agentmessageitem.py:
73647356
id: 6dbe0c8e2c79
73657357
last_write_checksum: sha1:475390ec86c90a835bb2f7a1d256d6b03acbbfd5
@@ -12179,3 +12171,4 @@ examples:
1217912171
"500":
1218012172
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1218112173
examplesVersion: 1.0.2
12174+
releaseNotes: "## Python SDK Changes:\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(AdditionalToolsItem).tools[].union(AdvisorServerTool_OpenRouter).parameters` **Changed** (Breaking ⚠️)\n* `open_router.chat.send()`: \n * `request.tools[].union(AdvisorServerTool_OpenRouter).parameters` **Changed** (Breaking ⚠️)\n* `open_router.presets.create_presets_chat_completions()`: \n * `request.tools[].union(AdvisorServerTool_OpenRouter).parameters` **Changed** (Breaking ⚠️)\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(AdditionalToolsItem).tools[].union(AdvisorServerTool_OpenRouter).parameters` **Changed** (Breaking ⚠️)\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[].union(AdditionalToolsItem).tools[].union(AdvisorServerTool_OpenRouter).parameters` **Changed** (Breaking ⚠️)\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.63
39+
version: 1.1.64
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

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

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -255,20 +255,6 @@ components:
255255
- 'role'
256256
- 'tools'
257257
type: 'object'
258-
AdvisorNestedTool:
259-
additionalProperties: {}
260-
description: 'A tool made available to the advisor sub-agent. Only OpenRouter server tools (e.g. openrouter:web_search) are supported; function tools are rejected because the advisor has no way to execute them. The advisor tool may not list itself.'
261-
example:
262-
type: 'openrouter:web_search'
263-
properties:
264-
parameters:
265-
additionalProperties: {}
266-
type: 'object'
267-
type:
268-
type: 'string'
269-
required:
270-
- 'type'
271-
type: 'object'
272258
AdvisorReasoning:
273259
description: 'Reasoning configuration forwarded to the advisor call. Use this to control reasoning effort and token budget for models that support extended thinking.'
274260
example:
@@ -291,7 +277,7 @@ components:
291277
type: 'integer'
292278
type: 'object'
293279
AdvisorServerTool_OpenRouter:
294-
description: 'OpenRouter built-in server tool: consults a higher-intelligence advisor model (any OpenRouter model) for guidance mid-generation and returns its response. The advisor may run as a sub-agent with its own tools. Include multiple entries to offer several named advisors; at most one entry may omit `name` to act as the default advisor.'
280+
description: 'OpenRouter built-in server tool: consults a higher-intelligence advisor model (any OpenRouter model) for guidance mid-generation and returns its response. Include multiple entries to offer several named advisors; at most one entry may omit `name` to act as the default advisor.'
295281
example:
296282
parameters:
297283
model: '~anthropic/claude-opus-latest'
@@ -325,14 +311,8 @@ components:
325311
description: 'Maximum number of output tokens (including reasoning) the advisor may produce. When omitted, the provider''s default applies.'
326312
example: 2048
327313
type: 'integer'
328-
max_tool_calls:
329-
description: 'Maximum number of tool-calling steps the advisor sub-agent may take during its agentic loop. Capped at 25. Only relevant when the advisor is given tools.'
330-
example: 5
331-
maximum: 25
332-
minimum: 1
333-
type: 'integer'
334314
model:
335-
description: 'Slug of the advisor model to consult (any OpenRouter model). When omitted, the executor can choose it via the tool call''s `model` argument; if neither is set, the model from the outer API request is used. The advisor tool itself cannot be the advisor model.'
315+
description: 'Slug of the advisor model to consult (any OpenRouter model). When omitted, the executor can choose it via the tool call''s `model` argument; if neither is set, the model from the outer API request is used.'
336316
example: '~anthropic/claude-opus-latest'
337317
type: 'string'
338318
name:
@@ -353,11 +333,6 @@ components:
353333
example: 0.7
354334
format: 'double'
355335
type: 'number'
356-
tools:
357-
description: 'Tools the advisor sub-agent may use while forming its advice. The advisor runs as an agentic sub-agent over these tools, then returns its text. Only OpenRouter server tools are supported β€” function tools are rejected β€” and the list must not include the advisor tool itself.'
358-
items:
359-
$ref: '#/components/schemas/AdvisorNestedTool'
360-
type: 'array'
361336
type: 'object'
362337
AgentMessageItem:
363338
additionalProperties: {}

β€Ž.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:023df89581f20dd13a85aa2d4c9f6d3182fcd96aaa807aa8e62639417b306e2a
6-
sourceBlobDigest: sha256:363a38fc818de682150ae32c8bc061ad3fc7d96b07489b68116f0f8057816b6a
5+
sourceRevisionDigest: sha256:8619baee716f98a1763601a5e441153de11ba39cd1987e4a3bac14c99bf09e17
6+
sourceBlobDigest: sha256:8dfabc64791bb2672929791e0cd1e22f17fc22c506259586458e48b661c12331
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:023df89581f20dd13a85aa2d4c9f6d3182fcd96aaa807aa8e62639417b306e2a
15-
sourceBlobDigest: sha256:363a38fc818de682150ae32c8bc061ad3fc7d96b07489b68116f0f8057816b6a
14+
sourceRevisionDigest: sha256:8619baee716f98a1763601a5e441153de11ba39cd1987e4a3bac14c99bf09e17
15+
sourceBlobDigest: sha256:8dfabc64791bb2672929791e0cd1e22f17fc22c506259586458e48b661c12331
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:eb9909056a14f8265e6d8e229bc5cdc56a6834ffdf324b40bc9b6e104e45835b
17+
codeSamplesRevisionDigest: sha256:fc65d3b585ff9c91785e620714dc0ad87f207be2a2c1d0155c2c62858a918892
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
@@ -1419,4 +1419,14 @@ Based on:
14191419
### Generated
14201420
- [python v1.1.63] .
14211421
### Releases
1422-
- [PyPI v1.1.63] https://pypi.org/project/openrouter/1.1.63 - .
1422+
- [PyPI v1.1.63] https://pypi.org/project/openrouter/1.1.63 - .
1423+
1424+
## 2026-08-19 04:57:42
1425+
### Changes
1426+
Based on:
1427+
- OpenAPI Doc
1428+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1429+
### Generated
1430+
- [python v1.1.64] .
1431+
### Releases
1432+
- [PyPI v1.1.64] https://pypi.org/project/openrouter/1.1.64 - .

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

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
Β (0)