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
32 changes: 17 additions & 15 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: 4ee993dfd0bfbdf25a0cded889dce266
docChecksum: e74cb3f988447ae316936d3b8ee45e04
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.1.132
configChecksum: 9bae2e3edd32baadef36a98afa81632a
releaseVersion: 1.1.133
configChecksum: cfb7e470afb22399bf5b5e707b21f680
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: c60f4ce1-7cfe-465c-9903-2e4148e39443
pristine_commit_hash: 12d39dd39b207fd056e944b9f17983e9d572232f
pristine_tree_hash: 1ef3c92e56628829b8f0b3d3ea27742815100862
generation_id: 2655a100-713d-4c7c-8bb2-31ad58e0b5ef
pristine_commit_hash: b5dacf7786ed7569b22f672d2d08724538db04e1
pristine_tree_hash: 1493651b58398fad1adcd886a43a0e66a3cd4607
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -2458,8 +2458,8 @@ trackedFiles:
pristine_git_object: 4901416246fb4e34fc9227d3dc0bbbc08aa717e2
docs/components/imagegenerationrequestquality.mdx:
id: 7699c7fce91f
last_write_checksum: sha1:e0c8abee1332b182aeb1228b9c7a7f4cec83e99b
pristine_git_object: d6f8b5bec84207d47a6c9e47a5c0ee901c7a555d
last_write_checksum: sha1:a11821458c8b7951edb5ba7c827e1819b236d471
pristine_git_object: 6e2298007e04c5cf4cb96eae577fadddb382a9ac
docs/components/imagegenerationrequestresolution.mdx:
id: 5dcb01b22e48
last_write_checksum: sha1:c53e03ff5d6cf292acc6702a75bc8b09db116e46
Expand Down Expand Up @@ -7654,8 +7654,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:a3393968c829a62824be4f12877838cce1c5556e
pristine_git_object: a9cbfa147f10755aa75d5caec155febe97ecf7f8
last_write_checksum: sha1:b8f470e6b09952b59f8c175a6db2faf77233c8d1
pristine_git_object: b6bf77436661af352d15c8a58f4d79dbfef35502
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:ef47083c9eeed71f3819146bac527721528db3cb
pristine_git_object: ead638efa69392454c80cf46b7600eaec2928a95
last_write_checksum: sha1:1d70ee2a9624e3ee82b594fb61ac995277cac80a
pristine_git_object: 4d015b4ad468c542eb4db85443522a6c0ae90019
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
Expand Down Expand Up @@ -8818,8 +8818,8 @@ trackedFiles:
pristine_git_object: 99421157b49536255a82277c0182472483e2f3aa
src/openrouter/components/imagegenerationrequest.py:
id: f8291a7be9a0
last_write_checksum: sha1:06040315f7f05be92a5ef2db7908b31d07bb2921
pristine_git_object: d681ed7ba2e46f7ef1351a9d2ae5571f23e09790
last_write_checksum: sha1:d1a3c0f106fd9a6c52e5ee08ca752d42058cdb2a
pristine_git_object: e77b47cb8b182ba66df153c5c6e4f2d7b3e86cac
src/openrouter/components/imagegenerationresponse.py:
id: 53354cd0cbfc
last_write_checksum: sha1:53f1cde7b8bfe4f9e786a76f6e57b0a1f76aced2
Expand Down Expand Up @@ -12890,4 +12890,6 @@ examples:
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
examplesVersion: 1.0.2
releaseNotes: "## Python SDK Changes:\n* `open_router.tts.create_speech()`: \n * `request.provider.options` **Changed** (Breaking ⚠️)\n* `open_router.stt.create_transcription()`: \n * `request.provider.options` **Changed** (Breaking ⚠️)\n* `open_router.byok.list()`: \n * `request.provider` **Changed** (Breaking ⚠️)\n * `response.data[].provider` **Changed** (Breaking ⚠️)\n* `open_router.byok.create()`: \n * `request.provider` **Changed** (Breaking ⚠️)\n * `response.data.provider` **Changed** (Breaking ⚠️)\n* `open_router.byok.get()`: `response.data.provider` **Changed** (Breaking ⚠️)\n* `open_router.byok.update()`: `response.data.provider` **Changed** (Breaking ⚠️)\n* `open_router.images.generate()`: \n * `request.provider.options` **Changed** (Breaking ⚠️)\n* `open_router.video_generation.generate()`: \n * `request.provider.options` **Changed** (Breaking ⚠️)\n"
releaseNotes: |
## Python SDK Changes:
* `open_router.images.generate()`: `request.quality` **Changed**
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.132
version: 1.1.133
additionalDependencies:
dev: {}
main: {}
Expand Down
2 changes: 2 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10888,6 +10888,8 @@ components:
- 'low'
- 'medium'
- 'high'
- 'xhigh'
- 'max'
example: 'high'
type: 'string'
x-speakeasy-unknown-values: allow
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:aab8bdef6b21fcd5179cbc2e3c1f3cdb8444bd5062dce83f6a44b47c65232b46
sourceBlobDigest: sha256:d5f2ce228122d94f882519e07ca864dddfd50bfe79c9b155ceb1986f5adddaed
sourceRevisionDigest: sha256:8fd294b735de37904d481627226db970b70350e100ea20ff42e8b4e88e176feb
sourceBlobDigest: sha256:7bd009523ff128ad51e24005cfd4b83ebd19314f118633f54a751a79c613b5e9
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:aab8bdef6b21fcd5179cbc2e3c1f3cdb8444bd5062dce83f6a44b47c65232b46
sourceBlobDigest: sha256:d5f2ce228122d94f882519e07ca864dddfd50bfe79c9b155ceb1986f5adddaed
sourceRevisionDigest: sha256:8fd294b735de37904d481627226db970b70350e100ea20ff42e8b4e88e176feb
sourceBlobDigest: sha256:7bd009523ff128ad51e24005cfd4b83ebd19314f118633f54a751a79c613b5e9
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:f9ae1d660a1be94de1d6e908786de954140ec4b95857a7400ef2381e2de340af
codeSamplesRevisionDigest: sha256:2a19c370ef6e7e81af917a61be60a3f9789a79bc0a53bfe05eab1060d56e735b
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 @@ -2109,4 +2109,14 @@ Based on:
### Generated
- [python v1.1.132] .
### Releases
- [PyPI v1.1.132] https://pypi.org/project/openrouter/1.1.132 - .
- [PyPI v1.1.132] https://pypi.org/project/openrouter/1.1.132 - .

## 2026-09-08 22:50:14
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.133] .
### Releases
- [PyPI v1.1.133] https://pypi.org/project/openrouter/1.1.133 - .
2 changes: 2 additions & 0 deletions docs/components/imagegenerationrequestquality.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ This is an open enum. Unrecognized values will not fail type checks.
- `"low"`
- `"medium"`
- `"high"`
- `"xhigh"`
- `"max"`
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "openrouter"
version = "1.1.132"
version = "1.1.133"
description = "Official Python Client SDK for OpenRouter."
authors = [{ name = "OpenRouter" },]
readme = "README-PYPI.md"
Expand Down
4 changes: 2 additions & 2 deletions src/openrouter/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "openrouter"
__version__: str = "1.1.132"
__version__: str = "1.1.133"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.1.132 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.1.133 2.914.0 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
2 changes: 2 additions & 0 deletions src/openrouter/components/imagegenerationrequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
"low",
"medium",
"high",
"xhigh",
"max",
],
UnrecognizedStr,
]
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading