diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 865cccca..1e6bb715 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 745ce25a..f67817a7 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -36,7 +36,7 @@ generation: documentation: mintlify preApplyUnionDiscriminators: true python: - version: 1.3.38 + version: 1.3.39 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml index 4ce025f7..aa58935c 100644 --- a/.speakeasy/out.openapi.yaml +++ b/.speakeasy/out.openapi.yaml @@ -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' diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 28ba7489..c10869d1 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ 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 @@ -11,10 +11,10 @@ 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 diff --git a/RELEASES.md b/RELEASES.md index 3ff8d198..7db2a78a 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -3149,4 +3149,14 @@ Based on: ### Generated - [python v1.3.38] . ### Releases -- [PyPI v1.3.38] https://pypi.org/project/openrouter/1.3.38 - . \ No newline at end of file +- [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 - . \ No newline at end of file diff --git a/docs/components/alignmentplugin.mdx b/docs/components/alignmentplugin.mdx index f041abd4..52acaa0e 100644 --- a/docs/components/alignmentplugin.mdx +++ b/docs/components/alignmentplugin.mdx @@ -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 diff --git a/pyproject.toml b/pyproject.toml index aa0d6564..603917d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/openrouter/_version.py b/src/openrouter/_version.py index ad79feb4..0cf6cc22 100644 --- a/src/openrouter/_version.py +++ b/src/openrouter/_version.py @@ -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: diff --git a/src/openrouter/components/alignmentplugin.py b/src/openrouter/components/alignmentplugin.py index d7fc3efe..aa3fae1d 100644 --- a/src/openrouter/components/alignmentplugin.py +++ b/src/openrouter/components/alignmentplugin.py @@ -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] @@ -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 diff --git a/uv.lock b/uv.lock index 91c94c7d..aa7019ff 100644 --- a/uv.lock +++ b/uv.lock @@ -213,7 +213,7 @@ wheels = [ [[package]] name = "openrouter" -version = "1.3.38" +version = "1.3.39" source = { editable = "." } dependencies = [ { name = "httpcore" },