diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index d5879a69..f8411734 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: 31349966d46612ca1227969d47b0f79d + docChecksum: 0621db594a338b1995bb5df84fe1e380 docVersion: 1.0.0 speakeasyVersion: 1.787.0 generationVersion: 2.914.0 - releaseVersion: 1.2.17 - configChecksum: bb76a8c34d1d398450baf42db21a0bea + releaseVersion: 1.2.18 + configChecksum: 19931688261417651340e45f6ba359f8 repoURL: https://github.com/OpenRouterTeam/python-sdk.git installationURL: https://github.com/OpenRouterTeam/python-sdk.git published: true persistentEdits: - generation_id: 902418ca-b0ac-4d26-a027-8b8646cd50ab - pristine_commit_hash: 8fd52a1f96830c7b21c500eef71de62225323163 - pristine_tree_hash: 84a1f403408d6a221541c7cd82c2b642aad62a25 + generation_id: c634c8cb-cadc-4a67-baae-8b424d900b2a + pristine_commit_hash: 5bfb171ca7ba1b307cfacc13eec719f5a7f3731e + pristine_tree_hash: 2bedcc17f5560525acaea94e3fbcc23e06133193 features: python: acceptHeaders: 3.0.0 @@ -8207,8 +8207,8 @@ trackedFiles: pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:6c189e106ad5654791db954205dc629c2cb2684b - pristine_git_object: f4db2089c5ab234eef116f55de260cbce0f0c78f + last_write_checksum: sha1:df30e6e11da4abf2179d48d4ae869bbe459d0bdf + pristine_git_object: 09083682bd6fa47806b29a0412138435f86f137d scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54 @@ -8235,8 +8235,8 @@ trackedFiles: pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137 src/openrouter/_version.py: id: d8d15ad6c586 - last_write_checksum: sha1:771dab4611c6122dc3c77f114d232c4a3eae4d4d - pristine_git_object: 9940829d7ec9f4466c80a29dcbf939b9c0418d8a + last_write_checksum: sha1:24d8d3a24cf55419e1c7e189efec0e0647fbb493 + pristine_git_object: 62fe1edec430f4609a3dded87fd8d5837585063c src/openrouter/alpha.py: id: 306c4d93308d last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 5d30b9ee..0e472e1a 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -36,7 +36,7 @@ generation: documentation: mintlify preApplyUnionDiscriminators: true python: - version: 1.2.17 + version: 1.2.18 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml index 2c2f4876..726fb9ae 100644 --- a/.speakeasy/out.openapi.yaml +++ b/.speakeasy/out.openapi.yaml @@ -37451,7 +37451,7 @@ paths: application/json: schema: $ref: '#/components/schemas/InternChatSteeredResponse' - description: 'A turn is already running on this intern for the same `session_id`, and the message was delivered into it instead of starting a new turn. Nothing streams here: the intern takes the message up on the running turn, whose stream continues on the request that started it. Sent only for a `user` message with a `session_id`; a `tool` reply, a request without a `session_id`, or one for another session gets `409 busy`, as does a message the intern could not take.' + description: 'A turn is already running in this `session_id`, and the message was delivered into it instead of starting a new turn. Nothing streams here: the intern takes the message up on the running turn, whose stream continues on the request that started it. Sent only for a `user` message with a `session_id`; a `tool` reply into a running session gets `409 busy`, as does a message the intern could not take. Other sessions on the same intern are not affected and run in parallel.' '400': content: application/json: @@ -37523,7 +37523,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternChatErrorResponse' - description: 'The intern is not running (`intern_not_ready`), another turn is already running on this intern for a different session, for no session, or for a `tool` reply (`busy`), the question is no longer waiting (`interaction_not_pending`), or another request is already attached to the run (`attachment_failed`). The turn lock is per intern, not per session. `intern_not_ready` and `busy` report `retryable: true`, and a `busy` refusal carries `Retry-After`.' + description: 'The intern is not running (`intern_not_ready`), a turn is already running in this session and did not take the message within 15 seconds (`busy`, also sent when the turn is waiting on a question of its own), the question is no longer waiting (`interaction_not_pending`), or another request is already attached to the run (`attachment_failed`). Turns in different sessions on the same intern run in parallel. `intern_not_ready` and `busy` report `retryable: true`, and a `busy` refusal carries `Retry-After`.' headers: Retry-After: description: 'Seconds to wait before retrying this request. Present only on a `busy` refusal.' diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 1b790d58..082529f0 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:b88ce143504fa636ab1ce340b074e908ef47198f4736434782a277c0d5709fab - sourceBlobDigest: sha256:fd1aa7ea365cb77a6c93d5515543aa91241936ece9c2994c0da521116fd13085 + sourceRevisionDigest: sha256:f0b43a7a6ad93d87516e695f1205d9706aad9ac1e053557d3544400b4651ad85 + sourceBlobDigest: sha256:647468ede2e7880b411ef5e060bafd04694e35302e08e682e5c15ee996610f32 tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: open-router: source: OpenRouter API sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:b88ce143504fa636ab1ce340b074e908ef47198f4736434782a277c0d5709fab - sourceBlobDigest: sha256:fd1aa7ea365cb77a6c93d5515543aa91241936ece9c2994c0da521116fd13085 + sourceRevisionDigest: sha256:f0b43a7a6ad93d87516e695f1205d9706aad9ac1e053557d3544400b4651ad85 + sourceBlobDigest: sha256:647468ede2e7880b411ef5e060bafd04694e35302e08e682e5c15ee996610f32 codeSamplesNamespace: open-router-python-code-samples - codeSamplesRevisionDigest: sha256:8d3ceabf9e251715fd0267cd7465620e3c50490e9dd7dc41af2eb649f4552830 + codeSamplesRevisionDigest: sha256:23e033194546340f0ff38cfadffad3eb1e174daa987b9b6866286cd36f54602f workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.787.0 diff --git a/RELEASES.md b/RELEASES.md index 71cf4946..76a31727 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -2579,4 +2579,14 @@ Based on: ### Generated - [python v1.2.17] . ### Releases -- [PyPI v1.2.17] https://pypi.org/project/openrouter/1.2.17 - . \ No newline at end of file +- [PyPI v1.2.17] https://pypi.org/project/openrouter/1.2.17 - . + +## 2026-09-22 20:41:50 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.2.18] . +### Releases +- [PyPI v1.2.18] https://pypi.org/project/openrouter/1.2.18 - . \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index f4db2089..09083682 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openrouter" -version = "1.2.17" +version = "1.2.18" 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 9940829d..62fe1ede 100644 --- a/src/openrouter/_version.py +++ b/src/openrouter/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "openrouter" -__version__: str = "1.2.17" +__version__: str = "1.2.18" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.914.0" -__user_agent__: str = "speakeasy-sdk/python 1.2.17 2.914.0 1.0.0 openrouter" +__user_agent__: str = "speakeasy-sdk/python 1.2.18 2.914.0 1.0.0 openrouter" try: if __package__ is not None: diff --git a/uv.lock b/uv.lock index c1b399f6..3c5bf440 100644 --- a/uv.lock +++ b/uv.lock @@ -213,7 +213,7 @@ wheels = [ [[package]] name = "openrouter" -version = "1.2.17" +version = "1.2.18" source = { editable = "." } dependencies = [ { name = "httpcore" },