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
23 changes: 10 additions & 13 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: 343efae9999aeb995bfc47cdf1956a93
docChecksum: d5a3ec2a2f3231fed2f45677f259857e
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.1.50
configChecksum: 11fe028f4c27fde842ab1cba02a48b81
releaseVersion: 1.1.51
configChecksum: 45e455745a5b0cefe3f5991508bf8882
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 37461a55-30c5-4d3f-bf59-25987190f80a
pristine_commit_hash: 5ef983e7b820f60c431c85c30b3598010dd52c9b
pristine_tree_hash: eb86cc69bb30fc4486afb4790131bce74cb99d1a
generation_id: 1427a618-ca26-4349-acd2-5c0ff34460b8
pristine_commit_hash: c2193a959333ae529be400229bb91b7fb05ad557
pristine_tree_hash: 0bfba425e328ca24b06be740ac16737e957a7079
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -7234,8 +7234,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:c0a35fb23a30a0a95fa826dd11c7027df8a6a80b
pristine_git_object: 0c7c8dc146d6b1242ca3d6253f27412952191f23
last_write_checksum: sha1:cd8e3bf5db94ee7916d3c65088617f8d5875c70a
pristine_git_object: 8201024e66de4070299ad8e0125305aaa9a9abf2
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -7262,8 +7262,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:fe3c197afb053d094e073dccb812579b596db21f
pristine_git_object: a1f69c761e373b9237783a8ff1d2a83a06d1a9a4
last_write_checksum: sha1:3cc95a2481cc6202a4261c4037643069c341fc30
pristine_git_object: 4cd0a90d851502fb69253958653f48b8375ab4d5
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a
Expand Down Expand Up @@ -12151,6 +12151,3 @@ examples:
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
examplesVersion: 1.0.2
releaseNotes: |
## Python SDK Changes:
* `open_router.datasets.get_session_cost()`: **Added**
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.50
version: 1.1.51
additionalDependencies:
dev: {}
main: {}
Expand Down
13 changes: 2 additions & 11 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30737,22 +30737,13 @@ paths:
application/json:
example:
data:
error:
message: 'Timed out waiting for the provider'
previous_errors:
- code: 429
message: 'Provider returned error'
provider_name: 'Google'
raw: '{"error":{"code":429,"message":"Resource exhausted"}}'
provider_name: 'Vertex'
raw: '{"error":{"code":504,"message":"Deadline exceeded"}}'
status: 504
error: null
input:
messages:
- content: 'What is the meaning of life?'
role: 'user'
output:
completion: null
completion: 'The meaning of life is a philosophical question...'
reasoning: null
schema:
$ref: '#/components/schemas/GenerationContentResponse'
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:5f205df13a98e8f546ad24ec24ee75abb6cff5481810439aa50a8b5470a849d4
sourceBlobDigest: sha256:1c42ce0ffa3b4d1c0b8b5b784747a9bd79541005ce5eec51daa394c4dd91db5b
sourceRevisionDigest: sha256:a4ff9cdac037856134e26ec39004a5716b17f41b046ff520c477a361ed44ac12
sourceBlobDigest: sha256:a117cf6bf6a8d9e31fc877ee6041dab1d6e493cf3d87d55f210267ea02faf406
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:5f205df13a98e8f546ad24ec24ee75abb6cff5481810439aa50a8b5470a849d4
sourceBlobDigest: sha256:1c42ce0ffa3b4d1c0b8b5b784747a9bd79541005ce5eec51daa394c4dd91db5b
sourceRevisionDigest: sha256:a4ff9cdac037856134e26ec39004a5716b17f41b046ff520c477a361ed44ac12
sourceBlobDigest: sha256:a117cf6bf6a8d9e31fc877ee6041dab1d6e493cf3d87d55f210267ea02faf406
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:f10ee7e964de640bcad68d1c9886c8a4d4dddd5f9beb2ee9f8718ffdba52f913
codeSamplesRevisionDigest: sha256:d174b4f2fbf062af4e0c3cd180799bd33a007a5d772951dc5bc6a63ab341eb42
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 @@ -1289,4 +1289,14 @@ Based on:
### Generated
- [python v1.1.50] .
### Releases
- [PyPI v1.1.50] https://pypi.org/project/openrouter/1.1.50 - .
- [PyPI v1.1.50] https://pypi.org/project/openrouter/1.1.50 - .

## 2026-08-13 01:33:32
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.51] .
### Releases
- [PyPI v1.1.51] https://pypi.org/project/openrouter/1.1.51 - .
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.50"
version = "1.1.51"
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.50"
__version__: str = "1.1.51"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.1.50 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.1.51 2.914.0 1.0.0 openrouter"

try:
if __package__ is not None:
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