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
33 changes: 16 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: 5417e0c9fa504ddf03567a094059518c
docChecksum: 06cda0195f12e737138188f3b42e0ff7
docVersion: 1.0.0
speakeasyVersion: 1.803.2
generationVersion: 2.950.13
releaseVersion: 1.3.204
configChecksum: 4ea69dd04c35cd72e1e1389f01b96fe9
releaseVersion: 1.3.205
configChecksum: 2d6c5ab323a773be11a7559c23ffdaa2
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 92468160-f3b4-4368-aaff-7fe7c00c41d6
pristine_commit_hash: aa50f5f55736ffe684f2a07a2d2d262c7315767b
pristine_tree_hash: ff0a767f398f8f74357d7c7ed26ef034715b5514
generation_id: 629b1878-7aeb-41db-95d7-257c5e1425c0
pristine_commit_hash: 2578644676fca8403ddfb784690e0daa9b31630e
pristine_tree_hash: c19471271158e60ffd5a867c13a581ea47c51f45
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -4396,8 +4396,8 @@ trackedFiles:
pristine_git_object: bccd158982dba4b4ed810b98b5f7d4a6c04afaa7
docs/components/imagegenerationrequest.mdx:
id: b093cb0f5e81
last_write_checksum: sha1:30fbee66a3e0fd9946beee7177dfcf80132586f0
pristine_git_object: db92a380f3efccb3a1749fa8c76b6e5dabc2af40
last_write_checksum: sha1:6f1b494ecaaff1c30a2be246ca4959b93c9f3b3a
pristine_git_object: d03ddede6b3362ef24106176c5556851a537fab0
docs/components/imagegenerationrequestaspectratio.mdx:
id: bda89377f32d
last_write_checksum: sha1:291771c6756771aabfadcee9b78e2aca504e7697
Expand Down Expand Up @@ -9976,8 +9976,8 @@ trackedFiles:
pristine_git_object: a6c4419863fafcae74571865bdcabade605767c9
docs/operations/createimagesrequest.mdx:
id: "245236481860"
last_write_checksum: sha1:1e263c82c8f1772cab95e90756ede8efbd94025d
pristine_git_object: c9b49336afdb1ec74358aa0e3c21e981a952bce0
last_write_checksum: sha1:e7fdcb922a2cf8794cedacf4f2327ee0edf78174
pristine_git_object: c0f7189f23f7be89280141a032b7d9a796910852
docs/operations/createimagesresponse.mdx:
id: 852027a00620
last_write_checksum: sha1:f65739779d5b4cd6cbacf59817765623554abef6
Expand Down Expand Up @@ -11788,8 +11788,8 @@ trackedFiles:
pristine_git_object: 3f96698736d6078dfb33689dd2fdca320bac0a03
docs/sdks/images/README.mdx:
id: 534a6c102c4f
last_write_checksum: sha1:2e5532a4a851671d06693d38d67884e64ca112df
pristine_git_object: 931e40f773c106a8ae654c501164ce4c5674385d
last_write_checksum: sha1:7d425634484b9e3150e3cdc11b2c9e8b8bd52d76
pristine_git_object: a330c3f121d866703e37cd7274051b1caa6023eb
docs/sdks/models/README.mdx:
id: 58f1ca464e0b
last_write_checksum: sha1:2e89247b7ad63c2bdcf9da989ac4f2e758eee729
Expand Down Expand Up @@ -11868,8 +11868,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:eb8a6dcd6a25c7fba19e2a378c0e0e1ec1f5f9c5
pristine_git_object: 50c8f5046c4629d52f5ea09bc967fee4759b2681
last_write_checksum: sha1:d8cc281cb93fcaab2fe16540214aa7eee3f4fd1a
pristine_git_object: b77d6a8e21319f6653e1c3940c5c66946f5a2394
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -11896,8 +11896,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:8da6be4d2bc71b8ad5feffd06f2d585a47f863b6
pristine_git_object: b3fca5005dc0db552abab5b2e0f20881310a260d
last_write_checksum: sha1:8ee72a1123cd74afcc2fb9435e29233bc80a58eb
pristine_git_object: 8fe5bc785851f067a45abd68577f00341c893d80
src/openrouter/alpha.py:
id: 306c4d93308d
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
Expand Down Expand Up @@ -22023,4 +22023,3 @@ examples:
"503":
application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}}
examplesVersion: 1.0.2
releaseNotes: "## Python SDK Changes:\n* `open_router.presets.create_presets_messages()`: \n * `request.messages[].content.union(Array<>)[].union(tool_search_tool_result)` **Added**\n"
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.204
version: 1.3.205
additionalDependencies:
dev:
pytest: '>=8.3'
Expand Down
12 changes: 9 additions & 3 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17152,6 +17152,7 @@ components:
example:
model: 'bytedance-seed/seedream-4.5'
prompt: 'a red panda astronaut floating in space, studio lighting'
response_format: 'url'
properties:
aspect_ratio:
description: 'Normalized aspect ratio of the generated image. Providers clamp to their supported subset.'
Expand Down Expand Up @@ -17280,7 +17281,7 @@ components:
enum:
- 'b64_json'
- 'url'
example: 'b64_json'
example: 'url'
type: 'string'
x-speakeasy-unknown-values: allow
seed:
Expand Down Expand Up @@ -17314,7 +17315,9 @@ components:
example:
created: 1748372400
data:
- b64_json: '<base64-encoded-image>'
- media_type: 'image/png'
url: 'https://storage.googleapis.com/openrouter-generated-media-us/v1/...'
expires_at: 1748458800
usage:
completion_tokens: 4175
cost: 0.04
Expand Down Expand Up @@ -51221,6 +51224,7 @@ paths:
example:
model: 'bytedance-seed/seedream-4.5'
prompt: 'a red panda astronaut floating in space, studio lighting'
response_format: 'url'
schema:
$ref: '#/components/schemas/ImageGenerationRequest'
required: true
Expand All @@ -51231,7 +51235,9 @@ paths:
example:
created: 1748372400
data:
- b64_json: '<base64-encoded-image>'
- media_type: 'image/png'
url: 'https://storage.googleapis.com/openrouter-generated-media-us/v1/...'
expires_at: 1748458800
usage:
completion_tokens: 4175
cost: 0.04
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:806071943b3da91dd1e57b6753f17cb55a765a703ec5ce0a97c96b325c4ea4cc
sourceBlobDigest: sha256:e8420100a032b7ceb5b8bf47e914ab3752b63fe7dafc84497e2a4867a5b5e3be
sourceRevisionDigest: sha256:45548ddd239196861464291ab128e28e4b83550cac1896f9c7f0b083858ae8cb
sourceBlobDigest: sha256:260d0a7205c70fbef1ea6540f18122a2eaabbeae927048d98ba9f2d2ed6db8c4
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:806071943b3da91dd1e57b6753f17cb55a765a703ec5ce0a97c96b325c4ea4cc
sourceBlobDigest: sha256:e8420100a032b7ceb5b8bf47e914ab3752b63fe7dafc84497e2a4867a5b5e3be
sourceRevisionDigest: sha256:45548ddd239196861464291ab128e28e4b83550cac1896f9c7f0b083858ae8cb
sourceBlobDigest: sha256:260d0a7205c70fbef1ea6540f18122a2eaabbeae927048d98ba9f2d2ed6db8c4
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:503f5e9361ef7e32813b208fe455b695cef08f7db098b34eba8b64757be5e7b7
codeSamplesRevisionDigest: sha256:b53436d05eb098a3719dd4ac0cb14b540b8c44eb7fbda7fefbeaefb010f60783
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 @@ -4809,4 +4809,14 @@ Based on:
### Generated
- [python v1.3.204] .
### Releases
- [PyPI v1.3.204] https://pypi.org/project/openrouter/1.3.204 - .
- [PyPI v1.3.204] https://pypi.org/project/openrouter/1.3.204 - .

## 2026-11-23 14:20:21
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.205] .
### Releases
- [PyPI v1.3.205] https://pypi.org/project/openrouter/1.3.205 - .
Loading
Loading