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: 15 additions & 17 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: 8418d8ac8a0816998245098e8945e4da
docChecksum: dd844eac13f976ba74b21b1e501372a5
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.3.17
configChecksum: 37d2b4d00364742d875703d9ffcdd68d
releaseVersion: 1.3.18
configChecksum: eaeed3df3e4e78face49fcef6e620417
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 51b6d41c-8e74-47a2-b89c-bd8f474c2de4
pristine_commit_hash: 291e2569c4ff1314e7c4df3131966ee300220782
pristine_tree_hash: 8251c7f52db4337ed4fd35bc7ab9da1b86f80cdb
generation_id: fcc256d0-08e9-439d-baaf-2ce814fe36c9
pristine_commit_hash: 914891a5475c37ce0ebcb5ea12e09d9c508df8c3
pristine_tree_hash: ca77f14e6c48730bdad24a1ccdfb1358445e29b2
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -3504,8 +3504,8 @@ trackedFiles:
pristine_git_object: 6e2298007e04c5cf4cb96eae577fadddb382a9ac
docs/components/imagegenerationrequestresolution.mdx:
id: 5dcb01b22e48
last_write_checksum: sha1:0e9f7b2d89188d71215c3efe43eefc4f5c992efd
pristine_git_object: fa667e57053ab75a81053150cd6ce37dc844157b
last_write_checksum: sha1:e9988b6c6bb828aa024a766e8d78f98f825b2ddc
pristine_git_object: af076aee50627f2a3229b2c57c64f22d2e6c22a1
docs/components/imagegenerationresponse.mdx:
id: 094e477544e9
last_write_checksum: sha1:3f998b412d3227450dc500b78c2e227385ddc6d7
Expand Down Expand Up @@ -9948,8 +9948,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:0175860b3f1b2c4fe0ecd29ce9c2117cd55bd351
pristine_git_object: b71a3038fdf38463d61c72a645fb977a3234420e
last_write_checksum: sha1:e66a3439925efa1634896c19c538834f67f793ca
pristine_git_object: b76990ff27d4979ff3b6ec1cf668193b6d3b93df
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -9976,8 +9976,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:360148d6fcae9949a9054166185b7d8cf5ba88c2
pristine_git_object: cb8eed80311c01eefa335ad2ce99e29a4c693f10
last_write_checksum: sha1:a867b35b239e6ccc11812f193e14e29eccacf0c6
pristine_git_object: 70d4881e1a86b1641e4821f1d2ef8729cbc0b656
src/openrouter/alpha.py:
id: 306c4d93308d
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
Expand Down Expand Up @@ -11540,8 +11540,8 @@ trackedFiles:
pristine_git_object: 07eb905283ae4a5c716755ae8a636b1c6896579f
src/openrouter/components/imagegenerationrequest.py:
id: f8291a7be9a0
last_write_checksum: sha1:43396d2e7f0b98b79ed93e34cfe8d23bbb23640f
pristine_git_object: 58787c2624c27f314f92f6f8aed73e315a9146b8
last_write_checksum: sha1:5594779ac114f113c508b0eb75ad355a50a3d76e
pristine_git_object: a3aad180f29d2fe9416574e4c649976fae6ba276
src/openrouter/components/imagegenerationresponse.py:
id: 53354cd0cbfc
last_write_checksum: sha1:53f1cde7b8bfe4f9e786a76f6e57b0a1f76aced2
Expand Down Expand Up @@ -18224,6 +18224,4 @@ examples:
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
examplesVersion: 1.0.2
releaseNotes: |
## Python SDK Changes:
* `open_router.analytics.get_user_activity()`: `response.data[].cached_tokens` **Added**
releaseNotes: "## Python SDK Changes:\n* `open_router.images.generate()`: \n * `request.resolution.enum(1.5k)` **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.3.17
version: 1.3.18
additionalDependencies:
dev: {}
main: {}
Expand Down
1 change: 1 addition & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13487,6 +13487,7 @@ components:
- '512'
- '768'
- '1K'
- '1.5K'
- '2K'
- '4K'
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.787.0
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:075c5db7b965cedf544f79f7fd4ecd5baa33cad4ea653cbc6fd871f869aeddab
sourceBlobDigest: sha256:9781f963a634a11eb740145be6e1d262af486605ee98e5fc0448d37b3e94a488
sourceRevisionDigest: sha256:a2fb53173f0847a6b6729eca0d73d0690987533ee30075a5212d7ac03f152830
sourceBlobDigest: sha256:9a886d465d8ca1bbc7393650bea8ce94d547f54e5fe77dba77be5035fd6a793d
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:075c5db7b965cedf544f79f7fd4ecd5baa33cad4ea653cbc6fd871f869aeddab
sourceBlobDigest: sha256:9781f963a634a11eb740145be6e1d262af486605ee98e5fc0448d37b3e94a488
sourceRevisionDigest: sha256:a2fb53173f0847a6b6729eca0d73d0690987533ee30075a5212d7ac03f152830
sourceBlobDigest: sha256:9a886d465d8ca1bbc7393650bea8ce94d547f54e5fe77dba77be5035fd6a793d
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:f8277ef7e169f7b54df9d968058ef59f4ec9081aa938a564b6e96a5bef900774
codeSamplesRevisionDigest: sha256:326882ce35a53ebbcff4f5191e760daf76f5d8001826f8d943e3a23b3e3c38ba
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 @@ -2939,4 +2939,14 @@ Based on:
### Generated
- [python v1.3.17] .
### Releases
- [PyPI v1.3.17] https://pypi.org/project/openrouter/1.3.17 - .
- [PyPI v1.3.17] https://pypi.org/project/openrouter/1.3.17 - .

## 2026-10-01 20:12:35
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.18] .
### Releases
- [PyPI v1.3.18] https://pypi.org/project/openrouter/1.3.18 - .
1 change: 1 addition & 0 deletions docs/components/imagegenerationrequestresolution.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ This is an open enum. Unrecognized values will not fail type checks.
- `"512"`
- `"768"`
- `"1K"`
- `"1.5K"`
- `"2K"`
- `"4K"`
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.3.17"
version = "1.3.18"
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.3.17"
__version__: str = "1.3.18"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.3.17 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.3.18 2.914.0 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
1 change: 1 addition & 0 deletions src/openrouter/components/imagegenerationrequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"512",
"768",
"1K",
"1.5K",
"2K",
"4K",
],
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