Skip to content

Commit ac6bdf6

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

21 files changed

Lines changed: 390 additions & 47 deletions

‎.speakeasy/gen.lock‎

Lines changed: 49 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: eb2e16acfab5f2032a8d548745f59efb
4+
docChecksum: de65a7aa9d84348d3d2803fd17763c50
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.28
9-
configChecksum: 008659dfab46a34671b25c5b61b0599c
8+
releaseVersion: 1.1.29
9+
configChecksum: 69737fdbf335c1a4d255de632c8d2cd9
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: 96cb77ac-d2c5-495e-82f3-0b327ef45318
15-
pristine_commit_hash: f4a4961eea998d48535f499a9a4072361d6d5896
16-
pristine_tree_hash: 9515cf8c6e8d374d9de764f767b44af866d5b3bc
14+
generation_id: c9c1d12d-ccde-4410-a7aa-afb0beff72b6
15+
pristine_commit_hash: 505412e05b4e22cde94361c99b5262f0b59d3e55
16+
pristine_tree_hash: e716081153f63fc31c2d0869205074537241ec06
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -2812,6 +2812,14 @@ trackedFiles:
28122812
id: 3a0dbdde87f0
28132813
last_write_checksum: sha1:157db05989f1ae8fe2c02064998a74cb55420fe6
28142814
pristine_git_object: e15e5c95e01572a3fc7d59ff16dc4bcc5d695447
2815+
docs/components/messagesbashtoolresultblock.mdx:
2816+
id: da1ca4f7868f
2817+
last_write_checksum: sha1:d86505a856c17af875cfea2372c7e3ea9b6ae148
2818+
pristine_git_object: 83608b14e277f5f17c73c2a57cee08066ecf5517
2819+
docs/components/messagesbashtoolresultblocktype.mdx:
2820+
id: 8610a5472116
2821+
last_write_checksum: sha1:8f04039e6ce081ab86230109b2c491222a68647b
2822+
pristine_git_object: 3d6b381bf96eec7bb9feed4e176ee1f13599f3ee
28152823
docs/components/messagesfallbackparam.mdx:
28162824
id: d7e026fed5f2
28172825
last_write_checksum: sha1:3f1e346696d37529787d1d9f85a1efc8e7162bea
@@ -2834,8 +2842,8 @@ trackedFiles:
28342842
pristine_git_object: aacfcabc1908dd56355bd5059c8d896a7f5266fd
28352843
docs/components/messagesmessageparamcontentunion4.mdx:
28362844
id: 0cbf68d37ca2
2837-
last_write_checksum: sha1:c43a4df052ed1123f1387e2b5bb5f3488b5e06fd
2838-
pristine_git_object: c66c4422b760679b4a0e65ecb448b34000526dd5
2845+
last_write_checksum: sha1:32faaaa1d630580926cc34e245fc27347b9f7c87
2846+
pristine_git_object: 0a88c739648d2c889241f00c9c0b9449dd874292
28392847
docs/components/messagesmessageparamcontentunion5.mdx:
28402848
id: 103a9b1bc479
28412849
last_write_checksum: sha1:8082efc20a4cb6d09750ac74b4db5a4f224d7032
@@ -2886,8 +2894,8 @@ trackedFiles:
28862894
pristine_git_object: d432bb08eebe7bdedf35bbbc41bf3c215ce71057
28872895
docs/components/messagesrequesttoolunion.mdx:
28882896
id: cb1be4df3cf7
2889-
last_write_checksum: sha1:9fb279885d85302102998bd620d13484eb20a482
2890-
pristine_git_object: 68bba52d48a267a933f6b0baec7f42cacf3305d5
2897+
last_write_checksum: sha1:0ef88be729c7a50c272325132e38db25c1e6afe7
2898+
pristine_git_object: 5fac516babc03cf57023521310fde1d9652b1d5a
28912899
docs/components/messagessearchmodelsservertool.mdx:
28922900
id: 1f9f5edef4fe
28932901
last_write_checksum: sha1:5d3026e9fc2eda9ed7c5e8a08aff7f09514d666e
@@ -2896,6 +2904,14 @@ trackedFiles:
28962904
id: ecbd7f7f2e44
28972905
last_write_checksum: sha1:b0dc13c5cf05011f6496565a4553eb52b9d09481
28982906
pristine_git_object: 52ce907478e961eb90e709fca118e6d0631883d2
2907+
docs/components/messagesshelltoolresultblock.mdx:
2908+
id: 0a41992a115c
2909+
last_write_checksum: sha1:d5e49fce544520f435e7493bc624a43e5c3979ef
2910+
pristine_git_object: 7b7b68f75ad30d01248a25387b4370ef74da954c
2911+
docs/components/messagesshelltoolresultblocktype.mdx:
2912+
id: 8b423fb3b1f7
2913+
last_write_checksum: sha1:e8870b5a6c2a534856d6cee62b092c620b1c2821
2914+
pristine_git_object: ccf32fe5f5786cdd793550c67a3aa0792edf559a
28992915
docs/components/messagestooladditionblock.mdx:
29002916
id: ee6e08ccc2ae
29012917
last_write_checksum: sha1:b56dd3ae6d6e105c57162a705794a799ffd65533
@@ -6102,8 +6118,8 @@ trackedFiles:
61026118
pristine_git_object: 2642f99d77ceb5007b1b863028d73c07e48dac67
61036119
docs/operations/filter_.mdx:
61046120
id: 79b9c7c02d3b
6105-
last_write_checksum: sha1:4aa4ba9558d9bdfeef9b73fd78c3c14884c589e4
6106-
pristine_git_object: 3397e42a132f1de350cf89bdf53c25299ae2d7bb
6121+
last_write_checksum: sha1:11626213ca5220d3013304af7d34d8b7c0c79f85
6122+
pristine_git_object: 8a0c5f32ecc4219c55bde1911276b8636e5d9f42
61076123
docs/operations/getanalyticsmetadata.mdx:
61086124
id: 7c66572b759d
61096125
last_write_checksum: sha1:8ff4758a1a3b63116d55a83821dcb0c8012050f5
@@ -7086,8 +7102,8 @@ trackedFiles:
70867102
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
70877103
pyproject.toml:
70887104
id: 5d07e7d72637
7089-
last_write_checksum: sha1:3193870dc88ecc13b6062045a9c28446f2316b67
7090-
pristine_git_object: c9429d0947678d321f59d0a94e4bd0e42b3b7d68
7105+
last_write_checksum: sha1:cbfae3caa1f867c37e01f36c585aac069cc7f209
7106+
pristine_git_object: 913be7fd10a47505aebc4f5e4c51d7e5fe3a3f52
70917107
scripts/prepare_readme.py:
70927108
id: e0c5957a6035
70937109
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7114,8 +7130,8 @@ trackedFiles:
71147130
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
71157131
src/openrouter/_version.py:
71167132
id: d8d15ad6c586
7117-
last_write_checksum: sha1:476e03198fb60750f944e1c04354ccd2ab1e4d7c
7118-
pristine_git_object: aaaca5c82c36ebd4f3eb063dab83f9b3120267e0
7133+
last_write_checksum: sha1:3e765bb384b287767a1f6e2676c46555e35559cf
7134+
pristine_git_object: 2ca97ab48e006508e18ec140c560862ec7dd250e
71197135
src/openrouter/analytics.py:
71207136
id: cb406b5aaabb
71217137
last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a
@@ -7158,8 +7174,8 @@ trackedFiles:
71587174
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
71597175
src/openrouter/components/__init__.py:
71607176
id: 81754e97b3f4
7161-
last_write_checksum: sha1:6c39e9051ff665be30ed2c1e7e7f64ed272a5622
7162-
pristine_git_object: 2a8ad9e6785f77e990e9b1818d7d68eae15757ce
7177+
last_write_checksum: sha1:59723836087352ed0b816cdda561039510aec153
7178+
pristine_git_object: afac4dacd65518f5dd79db7f3181888246a451b1
71637179
src/openrouter/components/aabenchmarkentry.py:
71647180
id: e2e0f0b48c82
71657181
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -8396,26 +8412,34 @@ trackedFiles:
83968412
id: e36ad7b5263e
83978413
last_write_checksum: sha1:805cd3ae136174638910d080aa5e98a3b192e928
83988414
pristine_git_object: 67ae6d5bdce0be9ac88b3f6295e8947962d9c9e2
8415+
src/openrouter/components/messagesbashtoolresultblock.py:
8416+
id: 7f2f763d5dd7
8417+
last_write_checksum: sha1:d869858b82b874e1d0ca538086632f916e94c8eb
8418+
pristine_git_object: edc95f4891f7d6a68fdf53c5c1741c0bc40ad18a
83998419
src/openrouter/components/messagesfallbackparam.py:
84008420
id: 53ba6717a4cc
84018421
last_write_checksum: sha1:e1e75026fb625426f7cd1702cd3136dcf3ccaf79
84028422
pristine_git_object: 9026664fa77c678a7a5f2b317b511ad93445cff7
84038423
src/openrouter/components/messagesmessageparam.py:
84048424
id: ed8bbab6720d
8405-
last_write_checksum: sha1:e24e57ae188645de8aa3ce815753ac3cb2e30d37
8406-
pristine_git_object: 67bf044b3bd3c373bf4fa33131c511301f3bf056
8425+
last_write_checksum: sha1:e2c29af9656da421ad301e55ee7164780126a673
8426+
pristine_git_object: e7d23e1aeece83189a7bfff9f0381c494df2ffe6
84078427
src/openrouter/components/messagesoutputconfig.py:
84088428
id: 54d1e297f740
84098429
last_write_checksum: sha1:478d9f534254d60225ac89bd21ddc49d18329297
84108430
pristine_git_object: 7e69d1f775baece5f94b03d35bcd884d5e6f519d
84118431
src/openrouter/components/messagesrequest.py:
84128432
id: 72b1f339024d
8413-
last_write_checksum: sha1:07a8582c3781e2adb8e5a897c8b4c5899b0acc39
8414-
pristine_git_object: 112dcbe2a609222d42ae3cd50b29cae0c979d0fa
8433+
last_write_checksum: sha1:b315657f73e9f131207d75e3e5d4653b10e8fb79
8434+
pristine_git_object: 6a458c9fc49c88bf033bc52b2a0cd98908438501
84158435
src/openrouter/components/messagessearchmodelsservertool.py:
84168436
id: 53d755edb120
84178437
last_write_checksum: sha1:389786fc22ba4bb47b0a086b7aa321f2f04fe943
84188438
pristine_git_object: d101995fd27b0bccbac266805caba629039c5f93
8439+
src/openrouter/components/messagesshelltoolresultblock.py:
8440+
id: a11af1c6ce03
8441+
last_write_checksum: sha1:c923ef2afbecd6d45d8ce9cbee1e2948e810e323
8442+
pristine_git_object: 9cb0636d2e99bb22e3c0fc26db51e8e9eca6f57b
84198443
src/openrouter/components/messagestooladditionblock.py:
84208444
id: 3fc00d28b82d
84218445
last_write_checksum: sha1:9d58d3e11b4260f7d00efcf0630fe4186b5d01a1
@@ -10014,8 +10038,8 @@ trackedFiles:
1001410038
pristine_git_object: cbdad12f956c5f2a8252b7f6db102f1e83c4e85a
1001510039
src/openrouter/operations/queryanalytics.py:
1001610040
id: d76c63ff66f6
10017-
last_write_checksum: sha1:97c08d2f87fce08adacd1cdccfbd72c34962b03f
10018-
pristine_git_object: a7e1247756af1bcf04e8ade0ac96744c9c2535c1
10041+
last_write_checksum: sha1:8c04150e53c68a2a7b19217f478118d12b9e27d1
10042+
pristine_git_object: aefd745e2d2c833b4d266ed767fd26bffc155880
1001910043
src/openrouter/operations/sendchatcompletionrequest.py:
1002010044
id: d9fee71bb577
1002110045
last_write_checksum: sha1:0cba4011b8e305270ac30f88cb7ab59b6aefe619
@@ -11905,3 +11929,4 @@ examples:
1190511929
"500":
1190611930
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1190711931
examplesVersion: 1.0.2
11932+
releaseNotes: "## Python SDK Changes:\n* `open_router.beta.analytics.query_analytics()`: \n * `request.filters[].include_unset` **Added**\n* `open_router.presets.create_presets_messages()`: `request` **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.1.28
39+
version: 1.1.29
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12252,6 +12252,31 @@ components:
1225212252
- 'tool_use_id'
1225312253
- 'content'
1225412254
type: 'object'
12255+
MessagesBashToolResultBlock:
12256+
description: 'Output of a sandbox-executed `openrouter:bash` call from a prior assistant turn. Accepted on replay and dropped before the provider request — Anthropic has no equivalent block.'
12257+
example:
12258+
content:
12259+
command: 'ls'
12260+
exitCode: 0
12261+
stderr: ''
12262+
stdout: "README.md\n"
12263+
tool_use_id: 'srvtoolu_01abc'
12264+
type: 'openrouter_bash_tool_result'
12265+
properties:
12266+
content:
12267+
additionalProperties: {}
12268+
type: 'object'
12269+
tool_use_id:
12270+
type: 'string'
12271+
type:
12272+
enum:
12273+
- 'openrouter_bash_tool_result'
12274+
type: 'string'
12275+
required:
12276+
- 'type'
12277+
- 'tool_use_id'
12278+
- 'content'
12279+
type: 'object'
1225512280
MessagesContentBlockDeltaEvent:
1225612281
description: 'Event sent when content is added to a content block'
1225712282
example:
@@ -12385,6 +12410,8 @@ components:
1238512410
- $ref: '#/components/schemas/AnthropicContainerUpload'
1238612411
- $ref: '#/components/schemas/AnthropicCompactionBlock'
1238712412
- $ref: '#/components/schemas/AnthropicAdvisorToolResult'
12413+
- $ref: '#/components/schemas/ORAnthropicShellToolResult'
12414+
- $ref: '#/components/schemas/ORAnthropicBashToolResult'
1238812415
- properties:
1238912416
content:
1239012417
type:
@@ -12761,6 +12788,8 @@ components:
1276112788
- $ref: '#/components/schemas/MessagesAdvisorToolResultBlock'
1276212789
- $ref: '#/components/schemas/MessagesToolAdditionBlock'
1276312790
- $ref: '#/components/schemas/MessagesToolRemovalBlock'
12791+
- $ref: '#/components/schemas/MessagesShellToolResultBlock'
12792+
- $ref: '#/components/schemas/MessagesBashToolResultBlock'
1276412793
type: 'array'
1276512794
role:
1276612795
enum:
@@ -13289,6 +13318,7 @@ components:
1328913318
type: 'object'
1329013319
- $ref: '#/components/schemas/AnthropicToolSearchToolBm25'
1329113320
- $ref: '#/components/schemas/AnthropicToolSearchToolRegex'
13321+
- $ref: '#/components/schemas/ShellServerTool_OpenRouter'
1329213322
type: 'array'
1329313323
top_k:
1329413324
type: 'integer'
@@ -13405,6 +13435,33 @@ components:
1340513435
required:
1340613436
- 'type'
1340713437
type: 'object'
13438+
MessagesShellToolResultBlock:
13439+
description: 'Output of an `openrouter:shell` call from a prior assistant turn. Accepted on replay and dropped before the provider request — Anthropic has no equivalent block.'
13440+
example:
13441+
content:
13442+
output:
13443+
- outcome:
13444+
exit_code: 0
13445+
type: 'exit'
13446+
stderr: ''
13447+
stdout: "README.md\n"
13448+
tool_use_id: 'srvtoolu_01abc'
13449+
type: 'openrouter_shell_tool_result'
13450+
properties:
13451+
content:
13452+
additionalProperties: {}
13453+
type: 'object'
13454+
tool_use_id:
13455+
type: 'string'
13456+
type:
13457+
enum:
13458+
- 'openrouter_shell_tool_result'
13459+
type: 'string'
13460+
required:
13461+
- 'type'
13462+
- 'tool_use_id'
13463+
- 'content'
13464+
type: 'object'
1340813465
MessagesStartEvent:
1340913466
description: 'Event sent at the start of a streaming message'
1341013467
example:
@@ -17289,6 +17346,31 @@ components:
1728917346
required:
1729017347
- 'type'
1729117348
type: 'object'
17349+
ORAnthropicBashToolResult:
17350+
description: 'Output of an `openrouter:bash` call executed in the OpenRouter sandbox (`engine: ''openrouter''`)'
17351+
example:
17352+
content:
17353+
command: 'ls'
17354+
exitCode: 0
17355+
stderr: ''
17356+
stdout: "README.md\n"
17357+
tool_use_id: 'srvtoolu_01abc'
17358+
type: 'openrouter_bash_tool_result'
17359+
properties:
17360+
content:
17361+
additionalProperties: {}
17362+
type: 'object'
17363+
tool_use_id:
17364+
type: 'string'
17365+
type:
17366+
enum:
17367+
- 'openrouter_bash_tool_result'
17368+
type: 'string'
17369+
required:
17370+
- 'type'
17371+
- 'tool_use_id'
17372+
- 'content'
17373+
type: 'object'
1729217374
ORAnthropicContentBlock:
1729317375
discriminator:
1729417376
mapping:
@@ -17297,6 +17379,8 @@ components:
1729717379
code_execution_tool_result: '#/components/schemas/AnthropicCodeExecutionToolResult'
1729817380
compaction: '#/components/schemas/AnthropicCompactionBlock'
1729917381
container_upload: '#/components/schemas/AnthropicContainerUpload'
17382+
openrouter_bash_tool_result: '#/components/schemas/ORAnthropicBashToolResult'
17383+
openrouter_shell_tool_result: '#/components/schemas/ORAnthropicShellToolResult'
1730017384
redacted_thinking: '#/components/schemas/AnthropicRedactedThinkingBlock'
1730117385
server_tool_use: '#/components/schemas/ORAnthropicServerToolUseBlock'
1730217386
text: '#/components/schemas/AnthropicTextBlock'
@@ -17326,6 +17410,8 @@ components:
1732617410
- $ref: '#/components/schemas/AnthropicContainerUpload'
1732717411
- $ref: '#/components/schemas/AnthropicCompactionBlock'
1732817412
- $ref: '#/components/schemas/AnthropicAdvisorToolResult'
17413+
- $ref: '#/components/schemas/ORAnthropicShellToolResult'
17414+
- $ref: '#/components/schemas/ORAnthropicBashToolResult'
1732917415
ORAnthropicNullableCaller:
1733017416
discriminator:
1733117417
mapping:
@@ -17365,6 +17451,33 @@ components:
1736517451
- 'id'
1736617452
- 'name'
1736717453
type: 'object'
17454+
ORAnthropicShellToolResult:
17455+
description: 'Output of an `openrouter:shell` call executed in the OpenRouter sandbox'
17456+
example:
17457+
content:
17458+
output:
17459+
- outcome:
17460+
exit_code: 0
17461+
type: 'exit'
17462+
stderr: ''
17463+
stdout: "README.md\n"
17464+
tool_use_id: 'srvtoolu_01abc'
17465+
type: 'openrouter_shell_tool_result'
17466+
properties:
17467+
content:
17468+
additionalProperties: {}
17469+
type: 'object'
17470+
tool_use_id:
17471+
type: 'string'
17472+
type:
17473+
enum:
17474+
- 'openrouter_shell_tool_result'
17475+
type: 'string'
17476+
required:
17477+
- 'type'
17478+
- 'tool_use_id'
17479+
- 'content'
17480+
type: 'object'
1736817481
ORAnthropicStopReason:
1736917482
enum:
1737017483
- 'end_turn'
@@ -25810,6 +25923,9 @@ paths:
2581025923
description: 'Dimension to filter on. Use the /meta endpoint for available dimensions.'
2581125924
example: 'model'
2581225925
type: 'string'
25926+
include_unset:
25927+
description: 'Include rows where the dimension has no value. Applies only to the `in` and `not_in` operators and dimensions that have an unset bucket.'
25928+
type: 'boolean'
2581325929
operator:
2581425930
description: 'Filter operator'
2581525931
example: 'eq'

‎.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:4cac77c6135f24b52b5e30693a512a9723a7fe0d0dc6b12fd50aae2e4fdf127a
6-
sourceBlobDigest: sha256:894a231d94956b7d96c0db56ba75097b4054aa04d322785cbb1a9d3a1639ffe8
5+
sourceRevisionDigest: sha256:dd29911e23a58bcd935d9c8aeeafbffc0cda31d9c79c2b2ca821b8fb61c3e0ee
6+
sourceBlobDigest: sha256:0d2d3a0f42dedc35eb67a5c6359032ef42fe95a035426451c98cb4be96a2896f
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:4cac77c6135f24b52b5e30693a512a9723a7fe0d0dc6b12fd50aae2e4fdf127a
15-
sourceBlobDigest: sha256:894a231d94956b7d96c0db56ba75097b4054aa04d322785cbb1a9d3a1639ffe8
14+
sourceRevisionDigest: sha256:dd29911e23a58bcd935d9c8aeeafbffc0cda31d9c79c2b2ca821b8fb61c3e0ee
15+
sourceBlobDigest: sha256:0d2d3a0f42dedc35eb67a5c6359032ef42fe95a035426451c98cb4be96a2896f
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:62c9899981a9e2e8a5c6508343713b32a08ce639114f06238a2be712f04f1773
17+
codeSamplesRevisionDigest: sha256:c77943d0c16cbf6c66adbedd00b884b46030dfb072462fef82e9dd12bf0120da
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.787.0

0 commit comments

Comments
 (0)