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
25 changes: 12 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: 73a58a0b5e128814055e915eac23ce7a
docChecksum: b89cc65bbf379613ceec7456e87307bb
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.1.95
configChecksum: 4804315aee0e4b0d88be782248c0c42b
releaseVersion: 1.1.96
configChecksum: 199dfd34c731f99f698f726fb25a6d68
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: bfe42f10-a1f2-4342-ad91-91b85bad6c71
pristine_commit_hash: 5b02ee023fd11d8cdcfa91540f483182dd396c5d
pristine_tree_hash: 87befbc3e04969a9a553c17f9ba72400b41d5370
generation_id: 448ccd92-e060-4159-99dd-da4d32342831
pristine_commit_hash: 97e14fc010116eca977a902f6d8bf755720f9ca6
pristine_tree_hash: a1ba85314223447347e6aa8be00f4eb93e0f2e6c
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -6782,8 +6782,8 @@ trackedFiles:
pristine_git_object: 465dde596d2a5daa4d220bf9018e90ae74c05f2d
docs/operations/listguardrailsresponse.mdx:
id: b96388a22ab2
last_write_checksum: sha1:14aa4af07f62db3fb10c1a837dfd8deec9d315ad
pristine_git_object: f676cd9a049192debbcc24e61f1c47ec10ad3cbd
last_write_checksum: sha1:3e9b75de5e881d0d97ca730afce18dce668b1dda
pristine_git_object: e3b73150511b3de1eafa978cede7def36241bb9c
docs/operations/listimagemodelendpointsglobals.mdx:
id: ac044b2c8762
last_write_checksum: sha1:b8b8e4ba63cd49b7eb1b58f0d01c0c43d6cd6a43
Expand Down Expand Up @@ -7394,8 +7394,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:745214d32e4fa86781d4792975ccc8ea45055e3f
pristine_git_object: ed00b56a5301e6bc7a762c3bd42df272ce1cd419
last_write_checksum: sha1:303a51de11b89db82eeddd1476bb343ac215192a
pristine_git_object: e139b56bd704316f07846c650713b03c000af371
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -7422,8 +7422,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:1e60f837dad0bb31a2d738cde3421272a65de07a
pristine_git_object: 1619e6c75cf881a32ea6dad59de7e3738e7e55d0
last_write_checksum: sha1:261268ca2794951a0e54120fba5b228d8e05c579
pristine_git_object: 8373cfb0d63155b620ff84a61bcd7390afce17d7
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
Expand Down Expand Up @@ -12465,4 +12465,3 @@ examples:
"503":
application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}}
examplesVersion: 1.0.2
releaseNotes: "## Python SDK Changes:\n* `open_router.guardrails.list()`: `response.data[].content_filter_builtins[].slug.enum(secrets)` **Added**\n* `open_router.guardrails.create()`: \n * `request.content_filter_builtins[].slug.enum(secrets)` **Added**\n * `response.data.content_filter_builtins[].slug.enum(secrets)` **Added**\n* `open_router.guardrails.get()`: `response.data.content_filter_builtins[].slug.enum(secrets)` **Added**\n* `open_router.guardrails.update()`: \n * `request.content_filter_builtins[].slug.enum(secrets)` **Added**\n * `response.data.content_filter_builtins[].slug.enum(secrets)` **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.1.95
version: 1.1.96
additionalDependencies:
dev: {}
main: {}
Expand Down
12 changes: 12 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7431,6 +7431,9 @@ components:
content_filters: null
created_at: '2025-08-24T10:30:00Z'
description: 'A guardrail for limiting API usage'
enable_free_model_publication: false
enable_free_model_training: true
enable_paid_model_training: true
enforce_zdr: null
enforce_zdr_anthropic: true
enforce_zdr_google: false
Expand Down Expand Up @@ -9908,6 +9911,9 @@ components:
content_filters: null
created_at: '2025-08-24T10:30:00Z'
description: 'Guardrail for production environment'
enable_free_model_publication: false
enable_free_model_training: true
enable_paid_model_training: true
enforce_zdr: null
enforce_zdr_anthropic: true
enforce_zdr_google: false
Expand Down Expand Up @@ -11994,6 +12000,9 @@ components:
content_filters: null
created_at: '2025-08-24T10:30:00Z'
description: 'Guardrail for production environment'
enable_free_model_publication: false
enable_free_model_training: true
enable_paid_model_training: true
enforce_zdr: null
enforce_zdr_anthropic: true
enforce_zdr_google: false
Expand Down Expand Up @@ -25647,6 +25656,9 @@ components:
content_filters: null
created_at: '2025-08-24T10:30:00Z'
description: 'Updated description'
enable_free_model_publication: false
enable_free_model_training: true
enable_paid_model_training: true
enforce_zdr: null
enforce_zdr_anthropic: true
enforce_zdr_google: true
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:f566c4b3ff6baa3330d953e37142230dec3a81eb35d3613b1c20bb0c8456662e
sourceBlobDigest: sha256:b2fed0b5a95b0b1b09d88f3c45c3b1f054ccbadf214882c1d68d6bc94bc97139
sourceRevisionDigest: sha256:57fa65a6ffb4a0be0dbf02e6d0c455960dd2591c66515e4a18f1a16471db8a70
sourceBlobDigest: sha256:3b2708d5b55152f9aa45a7115e67d5ac67cdd4d8a4352c3bb46c99b82146cc59
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:f566c4b3ff6baa3330d953e37142230dec3a81eb35d3613b1c20bb0c8456662e
sourceBlobDigest: sha256:b2fed0b5a95b0b1b09d88f3c45c3b1f054ccbadf214882c1d68d6bc94bc97139
sourceRevisionDigest: sha256:57fa65a6ffb4a0be0dbf02e6d0c455960dd2591c66515e4a18f1a16471db8a70
sourceBlobDigest: sha256:3b2708d5b55152f9aa45a7115e67d5ac67cdd4d8a4352c3bb46c99b82146cc59
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:7b1c8e7a48084a26dbee0183eae92e7dddb30b361dffa8fbbedc075ece9e5bfc
codeSamplesRevisionDigest: sha256:bcb0f39fc700e9cfdcf34f405b85996750ab8defa9906f81dd251469ff3032fa
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 @@ -1739,4 +1739,14 @@ Based on:
### Generated
- [python v1.1.95] .
### Releases
- [PyPI v1.1.95] https://pypi.org/project/openrouter/1.1.95 - .
- [PyPI v1.1.95] https://pypi.org/project/openrouter/1.1.95 - .

## 2026-08-27 14:48:47
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.96] .
### Releases
- [PyPI v1.1.96] https://pypi.org/project/openrouter/1.1.96 - .
6 changes: 3 additions & 3 deletions docs/operations/listguardrailsresponse.mdx

Large diffs are not rendered by default.

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.95"
version = "1.1.96"
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.95"
__version__: str = "1.1.96"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.1.95 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.1.96 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