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
28 changes: 14 additions & 14 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: e36f5b0a3c7fd4027d0b9ea6f4b9a110
docChecksum: 63ba3216b2499bb104f5ba497212cf31
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.3.38
configChecksum: e4bd8fd2b0f58e2df0005ee4f4d4cadb
releaseVersion: 1.3.39
configChecksum: 087e7677c4446238e5e3330e10a2f485
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 270f4490-638a-4fa9-8adb-ed9df61fc625
pristine_commit_hash: 907860ed89bd59e72bd8f83289758fa0348a3106
pristine_tree_hash: 014a4d0a79b6310b5fdba8b111811f55e1aa196e
generation_id: 7bb99ffd-de0f-43a3-bedf-0b7ba639e3ee
pristine_commit_hash: a065177d322362e8b66a40bae6ae5286f280d0d7
pristine_tree_hash: 59713b5944267b079a2cd2c4f9461d4d1e958909
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -232,8 +232,8 @@ trackedFiles:
pristine_git_object: 7ca91b0850e12603594b23611ac590ab2c967c08
docs/components/alignmentplugin.mdx:
id: 499a96e6b9fc
last_write_checksum: sha1:50579167aaf930e86efae8bbb1565d40cff18950
pristine_git_object: 4f438f577b8a273263b406191795537fb8d9da4d
last_write_checksum: sha1:cd8120266437050cc646a43e4d7b5bad72c82366
pristine_git_object: 0c01e3d040e1944606cf92d7d143528b3d739657
docs/components/alignmentpluginid.mdx:
id: 5cc593b3b830
last_write_checksum: sha1:6dd65f273fae11d3a487b8d2569983085e2c9d5a
Expand Down Expand Up @@ -10068,8 +10068,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:87608fa73ad6c92030a5be3c51c5fab1b91a8214
pristine_git_object: aa0d65646f50aa083cf4ac2c30f2312d6cbfda0e
last_write_checksum: sha1:ae86206d341aa777b7b704f3b55146ddaa47ed1e
pristine_git_object: 603917d374eaecf1b6cf8f220f107be47c2d3793
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -10096,8 +10096,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:fcd39011e14117ccbfcb21862b1666be429366d1
pristine_git_object: ad79feb4786ef68c1945619a95c7438fd3514cea
last_write_checksum: sha1:384892b86cee88cd2af1039fc03d15de610578af
pristine_git_object: 0cf6cc22eabc83b4cefb2d11d0a175413bbbed9d
src/openrouter/alpha.py:
id: 306c4d93308d
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
Expand Down Expand Up @@ -10212,8 +10212,8 @@ trackedFiles:
pristine_git_object: e4693300f3ac8680100de6713faba0050ab9accf
src/openrouter/components/alignmentplugin.py:
id: 7a2ec25d7172
last_write_checksum: sha1:32f79227ee822f8b9de21ba6f70e3cc1a2a76f49
pristine_git_object: d7fc3efefea07af3f912e97539fdf576241276d9
last_write_checksum: sha1:59c365c4e5673158ec1ec7efc359c5c00423e7d3
pristine_git_object: aa3fae1d43b1382f20646ecfe8637424d5b0fcf9
src/openrouter/components/alignmentrejected.py:
id: d1a39ac5828a
last_write_checksum: sha1:cd3bedb4a92862d9ec9cd9c4da8a081f3990c30b
Expand Down
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.38
version: 1.3.39
additionalDependencies:
dev: {}
main: {}
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ components:
type: 'object'
AlignmentPlugin:
additionalProperties: false
description: 'Beta. States the listed rules to the model and evaluates every turn against them. Requests are evaluated only for entities admitted to the beta; the configuration, metadata, and error shapes may change.'
description: 'Beta. States the listed rules to the model and evaluates every turn against them; the configuration, metadata, and error shapes may change.'
example:
id: 'alignment'
mode: 'audit'
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:267b3affa83b31dff82c300f977f10fb10d5078fe0ee9b1ce824d6b271be994f
sourceBlobDigest: sha256:2b33d6bd1314eb8d581b2cd039d58009dd1a5c6a2c164b9660a47ddd02d9dbab
sourceRevisionDigest: sha256:cf24edf70629b35aad73aef00830d7d2f92f5f199bd6540c50f4887f848a33da
sourceBlobDigest: sha256:8c7c009a8ce7e8466887920f6d8c5246378189395521adf6e1a0464a23cf2caa
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:267b3affa83b31dff82c300f977f10fb10d5078fe0ee9b1ce824d6b271be994f
sourceBlobDigest: sha256:2b33d6bd1314eb8d581b2cd039d58009dd1a5c6a2c164b9660a47ddd02d9dbab
sourceRevisionDigest: sha256:cf24edf70629b35aad73aef00830d7d2f92f5f199bd6540c50f4887f848a33da
sourceBlobDigest: sha256:8c7c009a8ce7e8466887920f6d8c5246378189395521adf6e1a0464a23cf2caa
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:7eb4912c633537b86e4b33f219f94926e5c158d23bbadd30acdf77279233de5b
codeSamplesRevisionDigest: sha256:e4432a5e58f6864b1422ab41cc380048fc21238fbad0baa17b07dd9d855bb8b7
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 @@ -3149,4 +3149,14 @@ Based on:
### Generated
- [python v1.3.38] .
### Releases
- [PyPI v1.3.38] https://pypi.org/project/openrouter/1.3.38 - .
- [PyPI v1.3.38] https://pypi.org/project/openrouter/1.3.38 - .

## 2026-10-09 01:31:12
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.39] .
### Releases
- [PyPI v1.3.39] https://pypi.org/project/openrouter/1.3.39 - .
2 changes: 1 addition & 1 deletion docs/components/alignmentplugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "AlignmentPlugin"
---

Beta. States the listed rules to the model and evaluates every turn against them. Requests are evaluated only for entities admitted to the beta; the configuration, metadata, and error shapes may change.
Beta. States the listed rules to the model and evaluates every turn against them; the configuration, metadata, and error shapes may change.


## Fields
Expand Down
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.38"
version = "1.3.39"
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.38"
__version__: str = "1.3.39"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.3.38 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.3.39 2.914.0 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
4 changes: 2 additions & 2 deletions src/openrouter/components/alignmentplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


class AlignmentPluginTypedDict(TypedDict):
r"""Beta. States the listed rules to the model and evaluates every turn against them. Requests are evaluated only for entities admitted to the beta; the configuration, metadata, and error shapes may change."""
r"""Beta. States the listed rules to the model and evaluates every turn against them; the configuration, metadata, and error shapes may change."""

id: AlignmentPluginID
rules: List[str]
Expand All @@ -37,7 +37,7 @@ class AlignmentPluginTypedDict(TypedDict):


class AlignmentPlugin(BaseModel):
r"""Beta. States the listed rules to the model and evaluates every turn against them. Requests are evaluated only for entities admitted to the beta; the configuration, metadata, and error shapes may change."""
r"""Beta. States the listed rules to the model and evaluates every turn against them; the configuration, metadata, and error shapes may change."""

id: AlignmentPluginID

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.