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
37 changes: 18 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: ba1d3c75b4a3f40658b4c167d102ed7f
docChecksum: 6c80a5c3a1a288676b10856c3146c220
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.1.125
configChecksum: e2540b1c4f978cb37738e02d8f7837c0
releaseVersion: 1.1.126
configChecksum: 276752e163707095c09e1a91c01b2f99
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: e95ba7a7-2e7e-4a40-9382-68fe4f557fe8
pristine_commit_hash: e763b09fcded56f1f98236cb5479ba6172440454
pristine_tree_hash: 2f13debeec1bc327cb77233caa5e257563b18b48
generation_id: bdd137c8-f325-4fd9-9054-1e923b9a96c5
pristine_commit_hash: 1a9659ca8695f38619c7245fba1d613805d9ff07
pristine_tree_hash: b9e4e3507e68ae8c19d95803f1b8f1be29acc534
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:1a797d8d0af2f0fdaa01f62c1e6f4e1b3d1969de
pristine_git_object: 868659fff55fc2bebd154d902979c571998297dd
last_write_checksum: sha1:939c847b027debc63c242238aa04fb49a015cdbc
pristine_git_object: 647f6d85e9cb54cf55b8a2c49ba1b2131993067c
docs/components/bashservertoolengine.mdx:
id: d0779ee68ded
last_write_checksum: sha1:68e15335058a5c91b1e3fc74efa5e5d3767ad0fa
Expand Down Expand Up @@ -5022,8 +5022,8 @@ trackedFiles:
pristine_git_object: 0f55c3798873d7c5583fd06187cb7a9566bcc5b9
docs/components/shellservertoolconfig.mdx:
id: 5958cff854db
last_write_checksum: sha1:8eae24960bc29a0446419cb016c0c82d895d959f
pristine_git_object: 5e52a3e5eecc86f483d9bd83554b6f3df564e451
last_write_checksum: sha1:4da377fdef8d6369232b08f31bc31153f88c8b1c
pristine_git_object: 9cac9be94ab07f98b08c3f228c043084f1ff9f4e
docs/components/shellservertoolengine.mdx:
id: afea02c824ea
last_write_checksum: sha1:2c179cb81f553cad5ebf67e42230b011a4e01b7f
Expand Down Expand Up @@ -7642,8 +7642,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:0198822445c48b4cb316d4421225233d6ffe4583
pristine_git_object: 1c4c357149f466128c4cc214482b18b404f90d98
last_write_checksum: sha1:7db4ebb7639dbbac84829c8de333590c35a7a444
pristine_git_object: b61207e21f11631713adc5ed9ac893f678be8a47
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -7670,8 +7670,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:8b5c581ea5986ad71b87f84e7a5a5c350962a3c1
pristine_git_object: cf01c478bc81fd9f72814c7bc685b403874633e2
last_write_checksum: sha1:76c3287d1ce867a3ca484ababba13c9cbfbc2252
pristine_git_object: 96f2672085a3e8173d8d144b54c26e03594e62d9
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
Expand Down Expand Up @@ -8018,8 +8018,8 @@ trackedFiles:
pristine_git_object: b2a50762374284e45d7850991774618c9367c488
src/openrouter/components/bashservertoolconfig.py:
id: c8c5bf3fd9a8
last_write_checksum: sha1:9a8800cea1f3e1cb0337bc7d592b9d25f298d697
pristine_git_object: 7f6fc452db272ec0e79367f7408f24c426916989
last_write_checksum: sha1:6bf63c136f1380c5ee822973bcc8726f3327af9f
pristine_git_object: 8162bbdc3ebd5a98ce49ad2815d7a7da4430e7ce
src/openrouter/components/bashservertoolengine.py:
id: 4648c91620a8
last_write_checksum: sha1:a4bc825f816c6207d69d3ca51098d05d14b0d69a
Expand Down Expand Up @@ -9838,8 +9838,8 @@ trackedFiles:
pristine_git_object: 0778136a1b4e03775ab17f69f3536f06e98e0cf9
src/openrouter/components/shellservertoolconfig.py:
id: eab9ca1aa376
last_write_checksum: sha1:8071a91e9449637707a19ab00e535b925953e6da
pristine_git_object: c9a40551ef718008f102b2a228c114b32141d7ac
last_write_checksum: sha1:bb1f8a303a3192f0f667eaee467dba4ef134e4e1
pristine_git_object: c587ab9fa76a37981f7fc58b418bce9050806077
src/openrouter/components/shellservertoolengine.py:
id: 8a1dda027cc3
last_write_checksum: sha1:d8dd2e5aa21fd779a52853a0c496ed7a16d99bc4
Expand Down Expand Up @@ -12870,4 +12870,3 @@ examples:
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
examplesVersion: 1.0.2
releaseNotes: "## Python SDK Changes:\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[]` **Changed** (Breaking ⚠️)\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[]` **Changed** (Breaking ⚠️)\n * `response` **Changed** (Breaking ⚠️)\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[]` **Changed** (Breaking ⚠️)\n * `response` **Changed** (Breaking ⚠️)\n* `open_router.chat.send()`: \n * `request.messages[].union(system).configuration_update` **Added**\n* `open_router.presets.create_presets_chat_completions()`: \n * `request.messages[].union(system).configuration_update` **Added**\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.125
version: 1.1.126
additionalDependencies:
dev: {}
main: {}
Expand Down
4 changes: 2 additions & 2 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23605,8 +23605,8 @@ components:
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 900 (15 minutes); capped at 14400 (4 hours).'
example: 900
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:
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:fe68934de0241faaa0be79a25a53510c2312c2c549e16fb0e762bdde8a6ca810
sourceBlobDigest: sha256:77f48394e5763e22871be36256bbf1f8fd35703943c0226ff5c45c4e04ac37c0
sourceRevisionDigest: sha256:359e29756fe670f1e04f2775a2ee1814e2141728d767fba72744fb59a73ce9d5
sourceBlobDigest: sha256:0c6bdbbcf39f2eb7cb18ec81018ec47ca8ba285848184a06f803d46be51f8229
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:fe68934de0241faaa0be79a25a53510c2312c2c549e16fb0e762bdde8a6ca810
sourceBlobDigest: sha256:77f48394e5763e22871be36256bbf1f8fd35703943c0226ff5c45c4e04ac37c0
sourceRevisionDigest: sha256:359e29756fe670f1e04f2775a2ee1814e2141728d767fba72744fb59a73ce9d5
sourceBlobDigest: sha256:0c6bdbbcf39f2eb7cb18ec81018ec47ca8ba285848184a06f803d46be51f8229
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:15f3b8b94388a9edd95b43f61d7d705a8e1b817abd38aab965f6037aca299e73
codeSamplesRevisionDigest: sha256:2cd6a99013481706110a6e2723554ce8fece2ca5ce657d8f69626c6c3e67b569
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 @@ -2039,4 +2039,14 @@ Based on:
### Generated
- [python v1.1.125] .
### Releases
- [PyPI v1.1.125] https://pypi.org/project/openrouter/1.1.125 - .
- [PyPI v1.1.125] https://pypi.org/project/openrouter/1.1.125 - .

## 2026-09-04 20:09:12
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.126] .
### Releases
- [PyPI v1.1.126] https://pypi.org/project/openrouter/1.1.126 - .
2 changes: 1 addition & 1 deletion docs/components/bashservertoolconfig.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Configuration for the openrouter:bash server tool
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `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 900 (15 minutes); capped at 14400 (4 hours). | 900 |
| `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 |
Loading
Loading