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
21 changes: 10 additions & 11 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: 590ee4e51c48434290d87d7d96273fd3
docChecksum: 83e429de53a4fee5a314ce6f4fee6e11
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.3.47
configChecksum: 43543058d993e1988e0a4687cc2e3914
releaseVersion: 1.3.48
configChecksum: 574e6b8f09ccafb395bf9a0882ed57ca
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 83f43f07-025f-44fa-9700-13fee2d23524
pristine_commit_hash: 75d10fe87edad8d0062bddb49cc93772b6d10b4a
pristine_tree_hash: 34256ecd014b2bf3540a66988fb30e8fda2c7da4
generation_id: 98b3fd9b-4bda-4d21-a442-d1c2cd3d096a
pristine_commit_hash: 88f54d4e230c2b39082b5f30633b5ae0c524994f
pristine_tree_hash: a48b9da40dbea051ee6ec8ca1f87efca364c1502
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -10172,8 +10172,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:f302387820de8ea5d8f9976723fedac23ff3786f
pristine_git_object: c13e96323f81df701de49f39ffdae63fdcc8893b
last_write_checksum: sha1:0a19c66c31bbd6426529a7c28fc6803770c1357d
pristine_git_object: 0857e44ba23fc18992543cebeb5ed04b4ceb3e20
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -10200,8 +10200,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:25bedf5803d4341014f4cee51fc80909b92ac722
pristine_git_object: 6c070152cd0c3bef0f757441bef2303b262fa377
last_write_checksum: sha1:13f3db67f6f51752172b1f9aa2e0bb136c357ab3
pristine_git_object: 0941bcdbba328d441ba36ce52c4cdc9fb3794440
src/openrouter/alpha.py:
id: 306c4d93308d
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
Expand Down Expand Up @@ -18576,4 +18576,3 @@ examples:
"500":
application/json: {"error": {"code": 404, "message": "Intern not found"}}
examplesVersion: 1.0.2
releaseNotes: "## Python SDK Changes:\n* `open_router.guardrails.list()`: `response.data[].allow_safety_retention_other` **Added**\n* `open_router.guardrails.create()`: \n * `request.allow_safety_retention_other` **Added**\n * `response.data.allow_safety_retention_other` **Added**\n* `open_router.guardrails.get()`: `response.data.allow_safety_retention_other` **Added**\n* `open_router.guardrails.update()`: \n * `request.allow_safety_retention_other` **Added**\n * `response.data.allow_safety_retention_other` **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.47
version: 1.3.48
additionalDependencies:
dev: {}
main: {}
Expand Down
20 changes: 10 additions & 10 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27144,7 +27144,7 @@ components:
throughput:
allOf:
- $ref: '#/components/schemas/PercentileStats'
- description: 'Throughput percentiles in tokens per second. Only meaningful for text generation; null for workloads without token throughput.'
- description: 'Throughput percentiles in tokens per second; pN is the speed that N% of requests reached or exceeded, so p90 is lower than p50. Only meaningful for text generation; null for workloads without token throughput.'
required:
- 'latency'
- 'throughput'
Expand All @@ -27164,7 +27164,7 @@ components:
throughput:
allOf:
- $ref: '#/components/schemas/PercentileStats'
- description: 'Throughput percentiles in tokens per second. Only meaningful for text generation; null for workloads without token throughput.'
- description: 'Throughput percentiles in tokens per second; pN is the speed that N% of requests reached or exceeded, so p90 is lower than p50. Only meaningful for text generation; null for workloads without token throughput.'
required:
- 'latency'
- 'throughput'
Expand All @@ -27184,7 +27184,7 @@ components:
throughput:
allOf:
- $ref: '#/components/schemas/PercentileStats'
- description: 'Throughput percentiles in tokens per second. Only meaningful for text generation; null for workloads without token throughput.'
- description: 'Throughput percentiles in tokens per second; pN is the speed that N% of requests reached or exceeded, so p90 is lower than p50. Only meaningful for text generation; null for workloads without token throughput.'
required:
- 'latency'
- 'throughput'
Expand All @@ -27204,7 +27204,7 @@ components:
throughput:
allOf:
- $ref: '#/components/schemas/PercentileStats'
- description: 'Throughput percentiles in tokens per second. Only meaningful for text generation; null for workloads without token throughput.'
- description: 'Throughput percentiles in tokens per second; pN is the speed that N% of requests reached or exceeded, so p90 is lower than p50. Only meaningful for text generation; null for workloads without token throughput.'
required:
- 'latency'
- 'throughput'
Expand All @@ -27224,7 +27224,7 @@ components:
throughput:
allOf:
- $ref: '#/components/schemas/PercentileStats'
- description: 'Throughput percentiles in tokens per second. Only meaningful for text generation; null for workloads without token throughput.'
- description: 'Throughput percentiles in tokens per second; pN is the speed that N% of requests reached or exceeded, so p90 is lower than p50. Only meaningful for text generation; null for workloads without token throughput.'
required:
- 'latency'
- 'throughput'
Expand All @@ -27244,7 +27244,7 @@ components:
throughput:
allOf:
- $ref: '#/components/schemas/PercentileStats'
- description: 'Throughput percentiles in tokens per second. Only meaningful for text generation; null for workloads without token throughput.'
- description: 'Throughput percentiles in tokens per second; pN is the speed that N% of requests reached or exceeded, so p90 is lower than p50. Only meaningful for text generation; null for workloads without token throughput.'
required:
- 'latency'
- 'throughput'
Expand All @@ -27264,7 +27264,7 @@ components:
throughput:
allOf:
- $ref: '#/components/schemas/PercentileStats'
- description: 'Throughput percentiles in tokens per second. Only meaningful for text generation; null for workloads without token throughput.'
- description: 'Throughput percentiles in tokens per second; pN is the speed that N% of requests reached or exceeded, so p90 is lower than p50. Only meaningful for text generation; null for workloads without token throughput.'
required:
- 'latency'
- 'throughput'
Expand All @@ -27284,7 +27284,7 @@ components:
throughput:
allOf:
- $ref: '#/components/schemas/PercentileStats'
- description: 'Throughput percentiles in tokens per second. Only meaningful for text generation; null for workloads without token throughput.'
- description: 'Throughput percentiles in tokens per second; pN is the speed that N% of requests reached or exceeded, so p90 is lower than p50. Only meaningful for text generation; null for workloads without token throughput.'
required:
- 'latency'
- 'throughput'
Expand All @@ -27304,7 +27304,7 @@ components:
throughput:
allOf:
- $ref: '#/components/schemas/PercentileStats'
- description: 'Throughput percentiles in tokens per second. Only meaningful for text generation; null for workloads without token throughput.'
- description: 'Throughput percentiles in tokens per second; pN is the speed that N% of requests reached or exceeded, so p90 is lower than p50. Only meaningful for text generation; null for workloads without token throughput.'
required:
- 'latency'
- 'throughput'
Expand Down Expand Up @@ -27401,7 +27401,7 @@ components:
throughput_last_30m:
allOf:
- $ref: '#/components/schemas/PercentileStats'
- description: 'Throughput percentiles in tokens per second over the last 30 minutes. Throughput measures output token generation speed. Only visible when authenticated with an API key or cookie; returns null for unauthenticated requests.'
- description: 'Throughput percentiles in tokens per second over the last 30 minutes. Throughput measures output token generation speed; pN is the speed that N% of requests reached or exceeded, so p90 is lower than p50. Only visible when authenticated with an API key or cookie; returns null for unauthenticated requests.'
uptime_last_1d:
description: 'Uptime percentage over the last day: the share of minutes in which at least 80% of provider attempts succeeded, counting only minutes with 10 or more attempts. Rate-limited and caller-caused failures are excluded. Null when no minute had enough traffic.'
format: 'double'
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:161f42347988ac28380d846491ee22302d2bb7500e2563f9e60d2ea1afa3685e
sourceBlobDigest: sha256:5f61af4b012495c01f9b365572e3b3b64003c76a7458f3c6941a8312885741da
sourceRevisionDigest: sha256:3d0eafbb6e8ff992618a1d4598519268545fd5daaddd5200307f87cee9c40340
sourceBlobDigest: sha256:a692983daa7e1013de13d6ffa765b6ef78e0f8cb5243d7717de3a3a8339a5a3f
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:161f42347988ac28380d846491ee22302d2bb7500e2563f9e60d2ea1afa3685e
sourceBlobDigest: sha256:5f61af4b012495c01f9b365572e3b3b64003c76a7458f3c6941a8312885741da
sourceRevisionDigest: sha256:3d0eafbb6e8ff992618a1d4598519268545fd5daaddd5200307f87cee9c40340
sourceBlobDigest: sha256:a692983daa7e1013de13d6ffa765b6ef78e0f8cb5243d7717de3a3a8339a5a3f
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:4ee6d292ec8a87493261eaa23428212f507c14960539f8a1d21be53716eda2ab
codeSamplesRevisionDigest: sha256:76968385a0d550282f81328bb38d90ec000c311e43fdcc484ba60ddfd9771e1f
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 @@ -3239,4 +3239,14 @@ Based on:
### Generated
- [python v1.3.47] .
### Releases
- [PyPI v1.3.47] https://pypi.org/project/openrouter/1.3.47 - .
- [PyPI v1.3.47] https://pypi.org/project/openrouter/1.3.47 - .

## 2026-10-14 00:07:28
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.48] .
### Releases
- [PyPI v1.3.48] https://pypi.org/project/openrouter/1.3.48 - .
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.47"
version = "1.3.48"
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.47"
__version__: str = "1.3.48"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.3.47 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.3.48 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.