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
51 changes: 27 additions & 24 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: c53e0c50b5772475e71b8daef3ef6460
docChecksum: 882cf8bc2a3c798e7f8a68a0631a7f90
docVersion: 1.0.0
speakeasyVersion: 1.803.2
generationVersion: 2.950.13
releaseVersion: 1.3.232
configChecksum: f27bbc66d5b9676c1abb85c6a1db13dd
releaseVersion: 1.3.233
configChecksum: 91fd831f93606fdd433f9c287c45b499
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 50c02186-1aa9-4959-9822-2d59847f2138
pristine_commit_hash: 76f83750c0b8e941bb9c306f4b4ba46994c50d0d
pristine_tree_hash: f5bdd18453014af72e66111233fdaf237104f137
generation_id: 5e44e1e3-42a0-440f-a3cf-93e1dee5caf4
pristine_commit_hash: b83c596b5ba2056ef0685d0161cdcc0ab525a786
pristine_tree_hash: 8a2f17b9a47772f1d18ad7e5bae8fd83dc80ee6c
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -1148,8 +1148,8 @@ trackedFiles:
pristine_git_object: 53c45463b67a1365c2700f73ddb7330b048e79f0
docs/components/apitype.mdx:
id: 1a902c4c05f3
last_write_checksum: sha1:04f42d6a7a68245a8b4ab57ed6dce8f16e4640ec
pristine_git_object: 583d1199b8bfbcfa554f8b33c5e87776653ce7f4
last_write_checksum: sha1:02f1c6ecd16d066bde5101224adc52bffc1ac655
pristine_git_object: ab7326b151f5e9b9f5b75afa0b3f833ab69dfdb8
docs/components/app.mdx:
id: aa5cb5867777
last_write_checksum: sha1:4cf8185961b17ac1c29f800372c0056e974a863f
Expand Down Expand Up @@ -3252,8 +3252,8 @@ trackedFiles:
pristine_git_object: a226240fb3b94358d33acc91761a8bba03309b63
docs/components/deferredtoolscontrol.mdx:
id: 13db9fb1f102
last_write_checksum: sha1:0d223417c7b68defb656777205a0f60e7ef8c2fc
pristine_git_object: d9354d31b7b55228250d727f16dfa95bb689e77a
last_write_checksum: sha1:118d646959ae4f21bce544c5863b06a731c2eccb
pristine_git_object: af3a6810f61f6623a1ce19e213c85048535f5235
docs/components/deferredtoolscontrolscope.mdx:
id: 61fade4412af
last_write_checksum: sha1:9d82e5340c3123b7c48033b16798b0142a8461c8
Expand Down Expand Up @@ -4492,8 +4492,8 @@ trackedFiles:
pristine_git_object: 6e2298007e04c5cf4cb96eae577fadddb382a9ac
docs/components/imagegenerationrequestresolution.mdx:
id: 5dcb01b22e48
last_write_checksum: sha1:f55f8f4b5de731a5f9676f230135bc74f78f61f5
pristine_git_object: 0e87951c65499b8946c81b57f1404abd3cf0ac43
last_write_checksum: sha1:921deb322f06b5a0dcdc5f4f8a96ffe6cc0a31f0
pristine_git_object: d31d89139d4ffc6eb8b22a31b80c88a45de61012
docs/components/imagegenerationrequestresponseformat.mdx:
id: 0f01278942b1
last_write_checksum: sha1:0e6a7f4ea11674596b5a6b209a80b530e228ce2c
Expand Down Expand Up @@ -4864,8 +4864,8 @@ trackedFiles:
pristine_git_object: e3e71d16be9294f68ca671f76dbcc8b6d8ecc749
docs/components/interface.mdx:
id: 6e52661d8f9f
last_write_checksum: sha1:696e93ea18a796a28e3db3e405abaae4da1894bd
pristine_git_object: d309553a56067f9815f11e40dceb63cfd9f1a426
last_write_checksum: sha1:3aa8e3db9117dacafc8eb52200b1e565254ea960
pristine_git_object: d26ef2dd92c2a7f004c3309a395b01a6b7e2b362
docs/components/internalserverresponseerrordata.mdx:
id: 9a443dea63c5
last_write_checksum: sha1:5ebe83b940cb6501be7ffc5d87524957ed7a2823
Expand Down Expand Up @@ -12396,8 +12396,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:5a7211dad29ce13a9939efe8ba426eae4e2108dd
pristine_git_object: 248081fa04053fc2be72d6583049ae4c0c3da51c
last_write_checksum: sha1:db11737d1e876c25d4f86036d8b25980e321a544
pristine_git_object: dc814ab51c92f91737b2627d59f1b3c2b2827593
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -12424,8 +12424,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:f371f274031caf2043fe8b0ba2b0e980af513ac3
pristine_git_object: 9aab77681d97e2d829756dc63c8dc77c33c3c816
last_write_checksum: sha1:69baf17fd2075ae98fcbbd1add67a26b145ebf51
pristine_git_object: b79bd4ef1b42bd871a169abdba57d56da5e900e6
src/openrouter/alpha.py:
id: 306c4d93308d
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
Expand Down Expand Up @@ -13868,8 +13868,8 @@ trackedFiles:
pristine_git_object: c988c33eaf849d75f25cd3076c427ebd4bc3c2b7
src/openrouter/components/deferredtoolscontrol.py:
id: b8b6ceef6f86
last_write_checksum: sha1:95f45f6727a077a2bb436c9eb1414065d455a1cb
pristine_git_object: 1b3635f0f81fb0a110d6f6fea46c1e3f185cfcec
last_write_checksum: sha1:3086521d0e94b65f79add7691733598fb54bf512
pristine_git_object: 893462823d452e0631258a8f05e490805ac0174b
src/openrouter/components/deferredtoolsdetails.py:
id: 044f0e33803d
last_write_checksum: sha1:2f8fcc43fc779a0cb9621149875a5e7bbfa5e6dc
Expand Down Expand Up @@ -14232,8 +14232,8 @@ trackedFiles:
pristine_git_object: 5caeacf169f3edff5b6e9823264aeeff8be1e8ff
src/openrouter/components/generationresponse.py:
id: 84d4e3e7da8b
last_write_checksum: sha1:79578c7082678751ec9910a87f2d66f89762871c
pristine_git_object: 6c51d4fc5fb95c984e13ba11de18d5ab8893cc37
last_write_checksum: sha1:64a10488e46e2ff5f2cc2eb4a1a2a7e03ad9191d
pristine_git_object: a30c32c086c84d02d5f84b1c92b484d7f38bd0a3
src/openrouter/components/getbyokkeyresponse.py:
id: ca3a8db80018
last_write_checksum: sha1:9b428028a01ffb73915a278096ca51bd1c660326
Expand Down Expand Up @@ -14372,8 +14372,8 @@ trackedFiles:
pristine_git_object: b99140b4e7e8a7cddfad8ea4c22dcf83f90fec36
src/openrouter/components/imagegenerationrequest.py:
id: f8291a7be9a0
last_write_checksum: sha1:fdc0cf55986d570e5746836ad224048611557684
pristine_git_object: 4192f11202d6e1a9c9fff92a3ff1eea1d69ae971
last_write_checksum: sha1:9ef9e86cbbaa8a54a2fa1c99696b0279a0b6200c
pristine_git_object: 11844c4b8ed656b0042d62b1a6ebbc22550896b7
src/openrouter/components/imagegenerationresponse.py:
id: 53354cd0cbfc
last_write_checksum: sha1:3fa255f2a2c362b63d45a017a2909b4d3b6c4b7f
Expand Down Expand Up @@ -22806,3 +22806,6 @@ examples:
"500":
application/json: {"error": {"code": 400, "message": "custom_id is required on requests[0]."}}
examplesVersion: 1.0.2
releaseNotes: |
## Python SDK Changes:
* `open_router.generations.get_generation()`: `response.data.api_type.enum(realtime)` **Added**
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
python:
version: 1.3.232
version: 1.3.233
additionalDependencies:
dev:
pytest: '>=8.3'
Expand Down
5 changes: 4 additions & 1 deletion .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12733,7 +12733,7 @@ components:
minLength: 1
type: 'string'
interface:
description: 'How the universal profile exposes the hidden catalog to the provider. Absent or `wrappers`: the `tool_search` and `tool_exec` tools. `code_mode`: one `tool_code` tool that runs a short JavaScript program in which `search()` and `call()` reach the catalog, so several searches and calls complete in one tool result. Experimental.'
description: 'How the universal profile exposes the hidden catalog to the provider. Absent or `wrappers`: the `tool_search` and `tool_exec` tools. `code_mode` is retired and rejected with HTTP 400 (kept in the enum for schema backward compatibility).'
enum:
- 'wrappers'
- 'code_mode'
Expand Down Expand Up @@ -15749,6 +15749,7 @@ components:
- 'stt'
- 'image'
- 'tools_invoke'
- 'realtime'
- null
type:
- 'string'
Expand Down Expand Up @@ -17645,6 +17646,8 @@ components:
- '1K'
- '1.5K'
- '2K'
- '2.5K'
- '3.5K'
- '4K'
- '8K'
example: '2K'
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.803.2
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:4a762dea357a37e8423f71c3c745b7edbe956f2a3606edd80737faf91c280e75
sourceBlobDigest: sha256:f80ba29051883c29805ea65d9d5887fc40f01dd858073f30ce37160228ec01aa
sourceRevisionDigest: sha256:ff1967befb35f1852d128504f53c73717a25f1f72a8bca2c4af3407079bcdb5b
sourceBlobDigest: sha256:8f46082f680436e22c3d6676f135812a4904c36f1e577fa5e06bca3ec2439c79
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:4a762dea357a37e8423f71c3c745b7edbe956f2a3606edd80737faf91c280e75
sourceBlobDigest: sha256:f80ba29051883c29805ea65d9d5887fc40f01dd858073f30ce37160228ec01aa
sourceRevisionDigest: sha256:ff1967befb35f1852d128504f53c73717a25f1f72a8bca2c4af3407079bcdb5b
sourceBlobDigest: sha256:8f46082f680436e22c3d6676f135812a4904c36f1e577fa5e06bca3ec2439c79
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:4e156f75c98d3823f654b65c599090ba6b8ade726a640b506b28dc750fe60c84
codeSamplesRevisionDigest: sha256:6fbc777d0af2d75ae1e4b71b9e6f5ee68be4cd8fc58329c566140822d6ba48bf
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.803.2
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5089,4 +5089,14 @@ Based on:
### Generated
- [python v1.3.232] .
### Releases
- [PyPI v1.3.232] https://pypi.org/project/openrouter/1.3.232 - .
- [PyPI v1.3.232] https://pypi.org/project/openrouter/1.3.232 - .

## 2026-12-02 23:26:42
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.233] .
### Releases
- [PyPI v1.3.233] https://pypi.org/project/openrouter/1.3.233 - .
1 change: 1 addition & 0 deletions docs/components/apitype.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ This is an open enum. Unrecognized values will not fail type checks.
- `"stt"`
- `"image"`
- `"tools_invoke"`
- `"realtime"`
Loading