Skip to content

Commit cdf0c91

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

25 files changed

Lines changed: 1144 additions & 70 deletions

‎.speakeasy/gen.lock‎

Lines changed: 73 additions & 16 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: 4ec24ba93b3a397ecc159ac306a6bd8a
4+
docChecksum: a1823e398ef1b0d3f2314d16c5fd9b22
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.29
9-
configChecksum: 82c5f834c7b9d556fb73ec8117d817a6
8+
releaseVersion: 1.3.30
9+
configChecksum: 6c32822b074d7404007cd6410371ad92
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: b928df92-9cae-47af-9454-7d30c8053b5a
15-
pristine_commit_hash: 09a11fd1f5dcfe408a96bb057ed8339698eddf31
16-
pristine_tree_hash: f9147190ea5e3cf564da92a88c2f35aa14314adc
14+
generation_id: a58a3b0f-3113-4cbb-b0f9-e0d218f1de4e
15+
pristine_commit_hash: e5712c504d02689c881c73522c62e866301ad5b6
16+
pristine_tree_hash: 82f92d658696b808589f8a8936e23dffe0dffd6b
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -3832,8 +3832,8 @@ trackedFiles:
38323832
pristine_git_object: 33aee92c61bf7ab9beded4e193f50a2c08462378
38333833
docs/components/inputsunion1.mdx:
38343834
id: c216609d21ce
3835-
last_write_checksum: sha1:9227d47c24ee5edc23887ac20f218cffd067b528
3836-
pristine_git_object: e76c31df752f42afe7df4285608f21e6c8392a59
3835+
last_write_checksum: sha1:c2f6569bdb331bd9076a61467e61cfcec65668b0
3836+
pristine_git_object: 3d16d55938f8b22bfe43608d45682aaaf48db285
38373837
docs/components/inputtext.mdx:
38383838
id: c8a97322a50a
38393839
last_write_checksum: sha1:6f92abbb193a5d21cc129df4c5804b3f9161322d
@@ -7238,6 +7238,50 @@ trackedFiles:
72387238
id: b3ea2dbc7af5
72397239
last_write_checksum: sha1:3659a42c9b930d77f5aecb8be29aef877d1502de
72407240
pristine_git_object: a4ed39817c997d4e25266c25d12498e648d77190
7241+
docs/components/toolsearchcallitem.mdx:
7242+
id: eb95e04d3021
7243+
last_write_checksum: sha1:b502fea9779b201737d5049de618e4f1b2595cfa
7244+
pristine_git_object: 470d130f0b59df99c9f8e47452430b4c0da7f3cb
7245+
docs/components/toolsearchcallitemexecution.mdx:
7246+
id: 628641b6d80a
7247+
last_write_checksum: sha1:33610fdc12f4cfa46c060bb2bbd6a63fe8b729e1
7248+
pristine_git_object: 56b48f217eef573ca74be339639c8129df0ae103
7249+
docs/components/toolsearchcallitemstatus.mdx:
7250+
id: 0d40be817e4a
7251+
last_write_checksum: sha1:f64191f8dfb19d64b4a7a9df1cc34dd0486238f4
7252+
pristine_git_object: b71fd2da8d19f1da71c4a89748ad15ac3158830e
7253+
docs/components/toolsearchcallitemtype.mdx:
7254+
id: 502218d84dbc
7255+
last_write_checksum: sha1:b57a84430502209aa46ffdaeb631fb57397657a8
7256+
pristine_git_object: d35aaf3b280c6e6e985c8fa5f0511dc1134bcbf7
7257+
docs/components/toolsearchoutputitem.mdx:
7258+
id: 5924dbd67404
7259+
last_write_checksum: sha1:f574f21dec820190b84e772145c1e526f3e37274
7260+
pristine_git_object: a5d1dd6c7ec279c4d543100ae08c7b33dea533bd
7261+
docs/components/toolsearchoutputitemexecution.mdx:
7262+
id: df33a1ae9565
7263+
last_write_checksum: sha1:afc5ebeb2567d89c34df76cb86f7ffd96262fe1d
7264+
pristine_git_object: 905132c843ae1fd8276335423aaa6ac27e2a934c
7265+
docs/components/toolsearchoutputitemstatus.mdx:
7266+
id: 96304f797292
7267+
last_write_checksum: sha1:659d2756fb349c20c267c9afbeabe6739ecc5e52
7268+
pristine_git_object: cbd5ff21806a56f4e3f0c3668b67321044f9b1e5
7269+
docs/components/toolsearchoutputitemtool.mdx:
7270+
id: 5d0008399326
7271+
last_write_checksum: sha1:60b3c1e3522ea241fe02159dbaeb1248e3c286dd
7272+
pristine_git_object: da5087fa634826e4a4146df98697a83f822b12f6
7273+
docs/components/toolsearchoutputitemtoolfunction.mdx:
7274+
id: 0e5b37ad1d40
7275+
last_write_checksum: sha1:a528e2bc54f1b25638647ea150beb9e563575a23
7276+
pristine_git_object: 1c5758db00e2e5a3fa589d1b8babd6d0ade6b744
7277+
docs/components/toolsearchoutputitemtoolunion.mdx:
7278+
id: b0ea571f5d27
7279+
last_write_checksum: sha1:d6add493f38d0fdce75a3c2ad33f390881358ce9
7280+
pristine_git_object: fc1479a10a0f3c164384ee353388bb85bb3bc615
7281+
docs/components/toolsearchoutputitemtypefunction.mdx:
7282+
id: 6a6efebc029a
7283+
last_write_checksum: sha1:059e58a497256a4cb22de1ab332b6961a85192da
7284+
pristine_git_object: a31e6e8f950bce5060542d1814340ec8080798b5
72417285
docs/components/toolsearchservertool.mdx:
72427286
id: 827c342fe25b
72437287
last_write_checksum: sha1:62eee3897b26cfc2097be04aeb24dc578da877ec
@@ -7414,6 +7458,10 @@ trackedFiles:
74147458
id: 07ae3f30e4a2
74157459
last_write_checksum: sha1:aa2931bc195ddc15bd18d9fac6948f8f24bfbe08
74167460
pristine_git_object: e7702ba4121c757b4f57d552a4f608bd4636e7b5
7461+
docs/components/typetoolsearchoutput.mdx:
7462+
id: 16b1e85474e0
7463+
last_write_checksum: sha1:a747849f24b7447aa71129a9857e6b48c2496775
7464+
pristine_git_object: c59f9693a1160d7d2d54d10756eb4df0c579a818
74177465
docs/components/typewebsearch20250305.mdx:
74187466
id: c5cd64905a32
74197467
last_write_checksum: sha1:70d29a41edfb246a4e50bf98bfca9df61809d075
@@ -9976,8 +10024,8 @@ trackedFiles:
997610024
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
997710025
pyproject.toml:
997810026
id: 5d07e7d72637
9979-
last_write_checksum: sha1:a0a0e377dad68cf07ff46b62dc13b119f3d1f334
9980-
pristine_git_object: c90d15d83489495c8e51cd6c4ab79e70d0348b0c
10027+
last_write_checksum: sha1:191e980556ab005b582724fda8862fa7e9dd2a7f
10028+
pristine_git_object: 00261de997c35f0431250332a436fc423f3fdab7
998110029
scripts/prepare_readme.py:
998210030
id: e0c5957a6035
998310031
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10004,8 +10052,8 @@ trackedFiles:
1000410052
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1000510053
src/openrouter/_version.py:
1000610054
id: d8d15ad6c586
10007-
last_write_checksum: sha1:2fac6475fda86b96345a2f0011083661ee2a9c9b
10008-
pristine_git_object: 3400c5d8b99dc456d96a8d06265bf6814af68eaa
10055+
last_write_checksum: sha1:85c2e2691703e999424c2d82d6a4f6460da0e37f
10056+
pristine_git_object: 1681aded2d66dca4cbdca580fe23d25a9329128b
1000910057
src/openrouter/alpha.py:
1001010058
id: 306c4d93308d
1001110059
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -10052,8 +10100,8 @@ trackedFiles:
1005210100
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
1005310101
src/openrouter/components/__init__.py:
1005410102
id: 81754e97b3f4
10055-
last_write_checksum: sha1:5929f0aad1def97fb47d220701cd8ad626c32cdf
10056-
pristine_git_object: 92a29ef91468729ce876f26d46881cdbbf845c0d
10103+
last_write_checksum: sha1:cb293302abf5e8150c7354edf5d8e577ac5ef748
10104+
pristine_git_object: 531cae292be19fde0a57120c2dcd106c4c11fad5
1005710105
src/openrouter/components/aabenchmarkentry.py:
1005810106
id: e2e0f0b48c82
1005910107
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -11672,8 +11720,8 @@ trackedFiles:
1167211720
pristine_git_object: f499cbbb546232f5cfbfe2c44fb41aefb306c87f
1167311721
src/openrouter/components/inputs_union.py:
1167411722
id: 17d6239cb6a7
11675-
last_write_checksum: sha1:b1fef5d0b2d02dbee579e83bb43ac8c183a58dc4
11676-
pristine_git_object: fb8db7b12531efc2b6fa21c999b3a9c3c5b83b46
11723+
last_write_checksum: sha1:4adb06234008383b60c330b57a3fdaeafc2c8c9f
11724+
pristine_git_object: 9b9312c027551f43e32403cd6c1e84e659030534
1167711725
src/openrouter/components/inputtext.py:
1167811726
id: a995ae96be99
1167911727
last_write_checksum: sha1:2da9ff645acc96772701908830151c5a707ed021
@@ -13126,6 +13174,14 @@ trackedFiles:
1312613174
id: a46dc874f6c8
1312713175
last_write_checksum: sha1:b7d04d0b4d2ed2c052007e4d00e7857a9f70f5c7
1312813176
pristine_git_object: 0042e076baa780911493aad1ed66975fc321045b
13177+
src/openrouter/components/toolsearchcallitem.py:
13178+
id: 2acbd13aef5c
13179+
last_write_checksum: sha1:943ca77ad2372ce7e72b4b3476bff4d6f7c3c8c7
13180+
pristine_git_object: 61f716e4713759aff37d73562aa55ab335b3a178
13181+
src/openrouter/components/toolsearchoutputitem.py:
13182+
id: 8d1db20e5746
13183+
last_write_checksum: sha1:c88f83ef9fb91d76f8a587a2b0446eabc04e4fbf
13184+
pristine_git_object: 46d8b40969209860f4f387c45dc75ff14118b052
1312913185
src/openrouter/components/toolsearchservertool.py:
1313013186
id: 3aa6de41ca07
1313113187
last_write_checksum: sha1:21dc898a1519400cbfbda4aa35eda60a9dcbf668
@@ -18280,3 +18336,4 @@ examples:
1828018336
"500":
1828118337
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1828218338
examplesVersion: 1.0.2
18339+
releaseNotes: "## Python SDK Changes:\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[]` **Changed**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[]` **Changed**\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[]` **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.3.29
39+
version: 1.3.30
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 164 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14489,6 +14489,8 @@ components:
1448914489
- $ref: '#/components/schemas/AdditionalToolsItem'
1449014490
- $ref: '#/components/schemas/AgentMessageItem'
1449114491
- $ref: '#/components/schemas/ConfigurationUpdateItem'
14492+
- $ref: '#/components/schemas/ToolSearchCallItem'
14493+
- $ref: '#/components/schemas/ToolSearchOutputItem'
1449214494
type: 'array'
1449314495
description: 'Input for a response request - can be a string or array of items'
1449414496
example:
@@ -17667,7 +17669,7 @@ components:
1766717669
openrouter_metadata:
1766817670
$ref: '#/components/schemas/OpenRouterMetadata'
1766917671
provider:
17670-
$ref: '#/components/schemas/ProviderName'
17672+
type: 'string'
1767117673
safeguard_results:
1767217674
items:
1767317675
$ref: '#/components/schemas/AnthropicSafeguardResult'
@@ -17996,7 +17998,7 @@ components:
1799617998
- 'Z.AI'
1799717999
- 'FakeProvider'
1799818000
type: 'string'
17999-
x-speakeasy-unknown-values: allow
18001+
x-speakeasy-unknown-values: 'allow'
1800018002
role:
1800118003
enum:
1800218004
- 'assistant'
@@ -26438,7 +26440,7 @@ components:
2643826440
- 'FakeProvider'
2643926441
example: 'OpenAI'
2644026442
type: 'string'
26441-
x-speakeasy-unknown-values: allow
26443+
x-speakeasy-unknown-values: 'allow'
2644226444
routed_service_tier:
2644326445
description: 'The service tier this request was routed to (e.g. flex, priority). The tier actually applied and billed is determined by the provider response and may differ.'
2644426446
enum:
@@ -30491,6 +30493,165 @@ components:
3049130493
- 'required'
3049230494
- 'function'
3049330495
type: 'object'
30496+
ToolSearchCallItem:
30497+
description: 'A tool search call the client executed'
30498+
example:
30499+
arguments:
30500+
query: 'weather'
30501+
call_id: 'call_search_1'
30502+
execution: 'client'
30503+
status: 'completed'
30504+
type: 'tool_search_call'
30505+
properties:
30506+
arguments: {}
30507+
call_id:
30508+
type: 'string'
30509+
execution:
30510+
enum:
30511+
- 'server'
30512+
- 'client'
30513+
type: 'string'
30514+
x-speakeasy-unknown-values: allow
30515+
id:
30516+
type:
30517+
- 'string'
30518+
- 'null'
30519+
status:
30520+
enum:
30521+
- 'in_progress'
30522+
- 'completed'
30523+
- 'incomplete'
30524+
- null
30525+
type:
30526+
- 'string'
30527+
- 'null'
30528+
x-speakeasy-unknown-values: allow
30529+
type:
30530+
enum:
30531+
- 'tool_search_call'
30532+
type: 'string'
30533+
required:
30534+
- 'type'
30535+
- 'call_id'
30536+
- 'execution'
30537+
type: 'object'
30538+
ToolSearchOutputItem:
30539+
description: 'The tools a client-executed tool search loaded'
30540+
example:
30541+
call_id: 'call_search_1'
30542+
execution: 'client'
30543+
status: 'completed'
30544+
tools:
30545+
- name: 'get_weather'
30546+
parameters:
30547+
properties:
30548+
location:
30549+
type: 'string'
30550+
type: 'object'
30551+
type: 'function'
30552+
type: 'tool_search_output'
30553+
properties:
30554+
call_id:
30555+
type: 'string'
30556+
execution:
30557+
enum:
30558+
- 'server'
30559+
- 'client'
30560+
type: 'string'
30561+
x-speakeasy-unknown-values: allow
30562+
id:
30563+
type:
30564+
- 'string'
30565+
- 'null'
30566+
status:
30567+
enum:
30568+
- 'in_progress'
30569+
- 'completed'
30570+
- 'incomplete'
30571+
- null
30572+
type:
30573+
- 'string'
30574+
- 'null'
30575+
x-speakeasy-unknown-values: allow
30576+
tools:
30577+
items:
30578+
anyOf:
30579+
- allOf:
30580+
- $ref: '#/components/schemas/FunctionTool'
30581+
- properties:
30582+
async:
30583+
description: 'Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.'
30584+
example: true
30585+
type: 'boolean'
30586+
defer_loading:
30587+
description: 'Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.'
30588+
example: true
30589+
type: 'boolean'
30590+
type: 'object'
30591+
description: 'Function tool definition'
30592+
example:
30593+
description: 'Get the current weather in a location'
30594+
name: 'get_weather'
30595+
parameters:
30596+
properties:
30597+
location:
30598+
description: 'The city and state'
30599+
type: 'string'
30600+
unit:
30601+
enum:
30602+
- 'celsius'
30603+
- 'fahrenheit'
30604+
type: 'string'
30605+
x-speakeasy-unknown-values: allow
30606+
required:
30607+
- 'location'
30608+
type: 'object'
30609+
type: 'function'
30610+
- $ref: '#/components/schemas/Preview_WebSearchServerTool'
30611+
- $ref: '#/components/schemas/Preview_20250311_WebSearchServerTool'
30612+
- $ref: '#/components/schemas/Legacy_WebSearchServerTool'
30613+
- $ref: '#/components/schemas/WebSearchServerTool'
30614+
- $ref: '#/components/schemas/FileSearchServerTool'
30615+
- $ref: '#/components/schemas/ComputerUseServerTool'
30616+
- $ref: '#/components/schemas/CodeInterpreterServerTool'
30617+
- $ref: '#/components/schemas/McpServerTool'
30618+
- $ref: '#/components/schemas/ImageGenerationServerTool'
30619+
- $ref: '#/components/schemas/CodexLocalShellTool'
30620+
- $ref: '#/components/schemas/ShellServerTool'
30621+
- $ref: '#/components/schemas/ApplyPatchServerTool'
30622+
- $ref: '#/components/schemas/CustomTool'
30623+
- $ref: '#/components/schemas/NamespaceTool'
30624+
- $ref: '#/components/schemas/AdvisorServerTool_OpenRouter'
30625+
- $ref: '#/components/schemas/SubagentServerTool_OpenRouter'
30626+
- $ref: '#/components/schemas/DatetimeServerTool'
30627+
- $ref: '#/components/schemas/FilesServerTool'
30628+
- $ref: '#/components/schemas/FusionServerTool_OpenRouter'
30629+
- $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
30630+
- $ref: '#/components/schemas/SearchModelsServerTool_OpenRouter'
30631+
- $ref: '#/components/schemas/WebFetchServerTool'
30632+
- $ref: '#/components/schemas/WebSearchServerTool_OpenRouter'
30633+
- $ref: '#/components/schemas/ApplyPatchServerTool_OpenRouter'
30634+
- $ref: '#/components/schemas/BashServerTool'
30635+
- $ref: '#/components/schemas/ShellServerTool_OpenRouter'
30636+
- $ref: '#/components/schemas/ToolSearchServerTool'
30637+
- additionalProperties: {}
30638+
properties:
30639+
type:
30640+
type: 'string'
30641+
required:
30642+
- 'type'
30643+
type: 'object'
30644+
type: 'array'
30645+
type:
30646+
enum:
30647+
- 'tool_search_output'
30648+
type: 'string'
30649+
required:
30650+
- 'type'
30651+
- 'call_id'
30652+
- 'execution'
30653+
- 'tools'
30654+
type: 'object'
3049430655
ToolSearchServerTool:
3049530656
description: 'OpenRouter built-in server tool: finds tools marked `defer_loading` and makes them callable'
3049630657
example:

‎.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:bf7fda8c98a42027444954119bd5f58646b93dd9d55cc5f21378e37a95a4ce2f
6-
sourceBlobDigest: sha256:4d40bc4e642a7f455fd9de4ca42f0af6bfb9e4ebc4b2cf2d489b7037f436b689
5+
sourceRevisionDigest: sha256:4f7d856e5b6cc802e2402204573da0cf25747750110b71d92b4f6cc6d9a0f1b2
6+
sourceBlobDigest: sha256:32d1edb3551b9e15b5e46f7a205f92e832f2ed613979eb3475e8d1a35d3c0c9a
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:bf7fda8c98a42027444954119bd5f58646b93dd9d55cc5f21378e37a95a4ce2f
15-
sourceBlobDigest: sha256:4d40bc4e642a7f455fd9de4ca42f0af6bfb9e4ebc4b2cf2d489b7037f436b689
14+
sourceRevisionDigest: sha256:4f7d856e5b6cc802e2402204573da0cf25747750110b71d92b4f6cc6d9a0f1b2
15+
sourceBlobDigest: sha256:32d1edb3551b9e15b5e46f7a205f92e832f2ed613979eb3475e8d1a35d3c0c9a
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:a975166c914e7c2619de53cdb36eee13a913db00816de0f2c62fe993a339d118
17+
codeSamplesRevisionDigest: sha256:5f4f4e8d4e0cf27a769328aa97641bf05eda5ee1098329f37a77e4fffd07a8d7
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.787.0

0 commit comments

Comments
 (0)