Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: c48cf606-fb42-4a45-9c23-8f0555307828
management:
docChecksum: 51317d2756ce999339fd2d538c1db6be
docChecksum: 94a606e4fdc9a39db85710ea7c054812
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.1.129
configChecksum: 8d293c073227241bd7c2a45858e9fca8
releaseVersion: 1.1.130
configChecksum: 18754f09025e0a8ee1ce9a1a6cf90e92
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: e59c67e2-c33b-4b95-89e5-9e15cff5be39
pristine_commit_hash: f9ec0ed017057f7913142675293362b6a2634014
pristine_tree_hash: b091f1520f1d0d33c606b09a2c09dd53099204b1
generation_id: 9c89d85b-2779-4d67-b9b2-33cf024b7310
pristine_commit_hash: 962b4135ea52e60255067f8ae403a579b51da444
pristine_tree_hash: d30ab3f4c6e42d8684819e923f7389270d107ad3
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -762,8 +762,8 @@ trackedFiles:
pristine_git_object: 09464da84a2c1e57d9c6d7abda98254de075a858
docs/components/bashservertoolconfig.mdx:
id: 7c7f1dd1cc47
last_write_checksum: sha1:939c847b027debc63c242238aa04fb49a015cdbc
pristine_git_object: 647f6d85e9cb54cf55b8a2c49ba1b2131993067c
last_write_checksum: sha1:296aa58396515e086ba2a46fb2ce7443dd2de1a6
pristine_git_object: 8fba79f13d99065293ea10ed77ce5a7c2699df61
docs/components/bashservertoolengine.mdx:
id: d0779ee68ded
last_write_checksum: sha1:68e15335058a5c91b1e3fc74efa5e5d3767ad0fa
Expand Down Expand Up @@ -5034,8 +5034,8 @@ trackedFiles:
pristine_git_object: 0f55c3798873d7c5583fd06187cb7a9566bcc5b9
docs/components/shellservertoolconfig.mdx:
id: 5958cff854db
last_write_checksum: sha1:4da377fdef8d6369232b08f31bc31153f88c8b1c
pristine_git_object: 9cac9be94ab07f98b08c3f228c043084f1ff9f4e
last_write_checksum: sha1:98ed34113e175eb52e091d2bbda831e6d47e75d3
pristine_git_object: c42fbf09d1760c9a7bd7f0f799b43225e904e446
docs/components/shellservertoolengine.mdx:
id: afea02c824ea
last_write_checksum: sha1:2c179cb81f553cad5ebf67e42230b011a4e01b7f
Expand Down Expand Up @@ -7654,8 +7654,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:66b44b692d06091eb187caa6e31059c198395fe4
pristine_git_object: 92be9eccaf1845a1a8a82ae10d59e590b833833c
last_write_checksum: sha1:d0a69d983b8150286f8e665cbf679306f1c8777c
pristine_git_object: ae6084af66a7ff3564a49e3332473905e91c18ca
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -7682,8 +7682,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:1a83901600daf488fb6535c60e0727a4d3b31384
pristine_git_object: 2b55e384f9439dc2dbcb574f150d0e7501396b88
last_write_checksum: sha1:767ef0a13aba82997f57840653f824712d7899cc
pristine_git_object: 122cff3f7fffc5fbca169d1618e53b0b881cb3a0
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
Expand Down Expand Up @@ -8030,8 +8030,8 @@ trackedFiles:
pristine_git_object: b2a50762374284e45d7850991774618c9367c488
src/openrouter/components/bashservertoolconfig.py:
id: c8c5bf3fd9a8
last_write_checksum: sha1:6bf63c136f1380c5ee822973bcc8726f3327af9f
pristine_git_object: 8162bbdc3ebd5a98ce49ad2815d7a7da4430e7ce
last_write_checksum: sha1:494def579d2eacd286ccde2092ada52d8260f42f
pristine_git_object: 11bfc127e887327756d014882af7c185ff85265c
src/openrouter/components/bashservertoolengine.py:
id: 4648c91620a8
last_write_checksum: sha1:a4bc825f816c6207d69d3ca51098d05d14b0d69a
Expand Down Expand Up @@ -9858,8 +9858,8 @@ trackedFiles:
pristine_git_object: 0778136a1b4e03775ab17f69f3536f06e98e0cf9
src/openrouter/components/shellservertoolconfig.py:
id: eab9ca1aa376
last_write_checksum: sha1:bb1f8a303a3192f0f667eaee467dba4ef134e4e1
pristine_git_object: c587ab9fa76a37981f7fc58b418bce9050806077
last_write_checksum: sha1:4e138b1016d156c56e7b8d0afb90b80057bd8c7e
pristine_git_object: 71e5e8e00c8ab4522e9c4101a20406aeef8162aa
src/openrouter/components/shellservertoolengine.py:
id: 8a1dda027cc3
last_write_checksum: sha1:d8dd2e5aa21fd779a52853a0c496ed7a16d99bc4
Expand Down Expand Up @@ -12890,4 +12890,4 @@ examples:
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
examplesVersion: 1.0.2
releaseNotes: "## Python SDK Changes:\n* `open_router.chat.send()`: \n * `request.messages[].union(developer).configuration_update` **Added**\n* `open_router.presets.create_presets_chat_completions()`: \n * `request.messages[].union(developer).configuration_update` **Added**\n"
releaseNotes: "## Python SDK Changes:\n* `open_router.chat.send()`: \n * `request.tools[].union(BashServerTool).parameters.sleep_after_seconds` **Removed** (Breaking ⚠️)\n* `open_router.presets.create_presets_chat_completions()`: \n * `request.tools[].union(BashServerTool).parameters.sleep_after_seconds` **Removed** (Breaking ⚠️)\n* `open_router.presets.create_presets_messages()`: \n * `request.tools[]` **Changed** (Breaking ⚠️)\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(AdditionalToolsItem).tools[]` **Changed** (Breaking ⚠️)\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[].union(AdditionalToolsItem).tools[]` **Changed** (Breaking ⚠️)\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(AdditionalToolsItem).tools[]` **Changed** (Breaking ⚠️)\n"
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
python:
version: 1.1.129
version: 1.1.130
additionalDependencies:
dev: {}
main: {}
Expand Down
8 changes: 0 additions & 8 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4321,8 +4321,6 @@ components:
$ref: '#/components/schemas/BashServerToolEngine'
environment:
$ref: '#/components/schemas/BashServerToolEnvironment'
sleep_after_seconds:
$ref: '#/components/schemas/SandboxSleepAfterSeconds'
type: 'object'
BashServerToolEngine:
description: 'Which bash engine to use. "openrouter" runs commands server-side in the OpenRouter sandbox. "auto" (default) and "native" use native passthrough, returning the tool call to your application to run client-side; OpenRouter does not execute the commands.'
Expand Down Expand Up @@ -23841,10 +23839,6 @@ components:
example: 'direct'
type: 'string'
x-speakeasy-unknown-values: allow
SandboxSleepAfterSeconds:
description: 'How long (in seconds) the container stays warm after its last command before sleeping, freeing its capacity slot. Idle-based: each command renews the timer. Defaults to 300 (5 minutes); capped at 14400 (4 hours).'
example: 300
type: 'integer'
ScimGroup:
example:
created_at: '2025-08-24T10:30:00.000Z'
Expand Down Expand Up @@ -24385,8 +24379,6 @@ components:
$ref: '#/components/schemas/ShellServerToolEngine'
environment:
$ref: '#/components/schemas/ShellServerToolEnvironment'
sleep_after_seconds:
$ref: '#/components/schemas/SandboxSleepAfterSeconds'
type: 'object'
ShellServerToolEngine:
description: 'Which shell engine to use. "openrouter" runs commands server-side in the OpenRouter sandbox. "auto" (default) keeps the provider''s native hosted shell when available (OpenAI); on other providers the call is routed to the OpenRouter sandbox.'
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:9db5e05ed4848a20fd8987cee486fcdfe1acd368d310f639da6037ce96d69d59
sourceBlobDigest: sha256:f1762809ed137577f30a052de14e0956d80b24e83aed70decaeb33b2a3807d35
sourceRevisionDigest: sha256:b7e705d1623f8a82142b1433016d2cca57aa4fa110247f0fd6f046215ff35ecc
sourceBlobDigest: sha256:ee563a24ba28a20b3bcae87eb1ac1188dff4f39a5d28b1ae6912da86f2c8d729
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:9db5e05ed4848a20fd8987cee486fcdfe1acd368d310f639da6037ce96d69d59
sourceBlobDigest: sha256:f1762809ed137577f30a052de14e0956d80b24e83aed70decaeb33b2a3807d35
sourceRevisionDigest: sha256:b7e705d1623f8a82142b1433016d2cca57aa4fa110247f0fd6f046215ff35ecc
sourceBlobDigest: sha256:ee563a24ba28a20b3bcae87eb1ac1188dff4f39a5d28b1ae6912da86f2c8d729
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:3e8664557224a8582118d35af373f2d58378188425b2cc6dddf7f249d2645087
codeSamplesRevisionDigest: sha256:c05ec8260b9666785b692d37b4cb53f68b2a69a14e2a24bc64007be60e4a9fdc
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.787.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2079,4 +2079,14 @@ Based on:
### Generated
- [python v1.1.129] .
### Releases
- [PyPI v1.1.129] https://pypi.org/project/openrouter/1.1.129 - .
- [PyPI v1.1.129] https://pypi.org/project/openrouter/1.1.129 - .

## 2026-09-08 18:20:09
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.130] .
### Releases
- [PyPI v1.1.130] https://pypi.org/project/openrouter/1.1.130 - .
3 changes: 1 addition & 2 deletions docs/components/bashservertoolconfig.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ Configuration for the openrouter:bash server tool
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `engine` | [Optional[components.BashServerToolEngine]](../components/bashservertoolengine.mdx) | :heavy_minus_sign: | Which bash engine to use. "openrouter" runs commands server-side in the OpenRouter sandbox. "auto" (default) and "native" use native passthrough, returning the tool call to your application to run client-side; OpenRouter does not execute the commands. | auto |
| `environment` | [Optional[components.BashServerToolEnvironment]](../components/bashservertoolenvironment.mdx) | :heavy_minus_sign: | Execution environment for the bash server tool. | \{<br/>"type": "container_auto"<br/>} |
| `sleep_after_seconds` | *Optional[int]* | :heavy_minus_sign: | How long (in seconds) the container stays warm after its last command before sleeping, freeing its capacity slot. Idle-based: each command renews the timer. Defaults to 300 (5 minutes); capped at 14400 (4 hours). | 300 |
| `environment` | [Optional[components.BashServerToolEnvironment]](../components/bashservertoolenvironment.mdx) | :heavy_minus_sign: | Execution environment for the bash server tool. | \{<br/>"type": "container_auto"<br/>} |
Loading
Loading