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
29 changes: 14 additions & 15 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: 2fe567942733dd3f020b7f1ff0fd02d8
docChecksum: 2aeac254864846e1f6feedd74ba2049a
docVersion: 1.0.0
speakeasyVersion: 1.803.2
generationVersion: 2.950.13
releaseVersion: 1.3.124
configChecksum: 4c8fc1e57b2cdff5192d1b5b7e2fb166
releaseVersion: 1.3.125
configChecksum: 8d8de3c5db20824c88bbb443ab2a222d
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 14a992de-7a74-4727-80d9-47c17f828af9
pristine_commit_hash: d5164283e00654cebdf94937e24b9726333a4e28
pristine_tree_hash: 1685aba1ff2cab7e07a13a12174161c55a6008db
generation_id: 3e456a50-8a6f-4b1a-99b2-9494178ed543
pristine_commit_hash: dae2c1d8039d12ec6c5f92e3c498124810a34097
pristine_tree_hash: ade7cb61118d291f270794f8d0a6fdf746a2babd
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -6704,8 +6704,8 @@ trackedFiles:
pristine_git_object: 3dd7a71ab2606b2dd52b7cc13b7f29daa8f4372f
docs/components/privateendpointcheck.mdx:
id: 8221e9b4d716
last_write_checksum: sha1:08bc740bc7eb5a33e627561b33a36cdead042500
pristine_git_object: d5b252aaab552f45b0b80a4b58effed72022e17d
last_write_checksum: sha1:a64e20e212cac118bef1fdabdb53c58f534f390a
pristine_git_object: 3395d3b7f664902dc0277a5ebd3cd2d3ce35d76a
docs/components/privateendpointcheckreason.mdx:
id: "287778805047"
last_write_checksum: sha1:b74afe4459b4505186ec53978982afa6cf7f0e75
Expand Down Expand Up @@ -10828,8 +10828,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:c5e1924981838851b3d839d32f63ec62d8996265
pristine_git_object: a33e8a445cb823382ff26f6e7ab63382970abdf6
last_write_checksum: sha1:169ede6c9b1edaf2619a103b865f054bc245e858
pristine_git_object: 275d6fb948bc2a3ca2acc85a9b6e840382e4f54b
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -10856,8 +10856,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:83dce9640df4a5aa9d044290ff5f65c7a0ff1e50
pristine_git_object: b01419c49ec9beca4349bc329325b37cd378374c
last_write_checksum: sha1:17abfe71c9fe48b6381d2fc12e3b3c0fd8ad4012
pristine_git_object: a4e54a0fa597a3b7f12343506ff9c33a011d996e
src/openrouter/alpha.py:
id: 306c4d93308d
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
Expand Down Expand Up @@ -13544,8 +13544,8 @@ trackedFiles:
pristine_git_object: 55d1f8afc4053201160cb9a2042e43c4dee98ccb
src/openrouter/components/privateendpointcheck.py:
id: e36ad99df8c6
last_write_checksum: sha1:0269e31406ee46a58f2a2f55e7767229d6727428
pristine_git_object: 485ab4af399229e11a9986b5329b1451591740c5
last_write_checksum: sha1:cb66ae7f5fb9076484e17fc93ea4cc0a767e0f22
pristine_git_object: 49f3e5a1cbf0810b0d214576fd59d18e46a58731
src/openrouter/components/privateendpointcheckreason.py:
id: 52f81232e913
last_write_checksum: sha1:494026537044fbe1da8740fff300e8ea8b260a5d
Expand Down Expand Up @@ -19972,4 +19972,3 @@ examples:
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
examplesVersion: 1.0.2
releaseNotes: "## Python SDK Changes:\n* `open_router.batch.create_batches()`: `response.results[].response.body.union(OpenResponsesResult)` **Changed**\n* `open_router.batch.get_batches()`: `response.results[].response.body.union(OpenResponsesResult)` **Changed**\n* `open_router.organization.list_members()`: `response.data[].role.enum(org:viewer)` **Added**\n* `open_router.presets.create_presets_chat_completions()`: \n * `request.deferred_tools.profile.enum(universal)` **Added**\n* `open_router.presets.create_presets_messages()`: \n * `request.deferred_tools.profile.enum(universal)` **Added**\n* `open_router.presets.create_presets_responses()`: `request` **Changed**\n"
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
python:
version: 1.3.124
version: 1.3.125
additionalDependencies:
dev:
pytest: '>=8.3'
Expand Down
3 changes: 2 additions & 1 deletion .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27328,7 +27328,8 @@ components:
passed: true
properties:
actual_model:
description: 'Model the upstream reported serving, when it differs from the request.'
deprecated: true
description: 'Deprecated: validation no longer compares the model the upstream reports, so this field is never returned.'
type:
- 'string'
- 'null'
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.803.2
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:b0702bea14c14c62d23f2a99482e4f39b9934e5091fe1ad463128671abfb08e1
sourceBlobDigest: sha256:1497f72360880691a966e318272e68b27d573cc4ed89f0a4a2b1ed692dcf6e25
sourceRevisionDigest: sha256:8da57cbc8513b9fbc74fd3ba8b4c5924086733c7ae58d27a39bce828c52db020
sourceBlobDigest: sha256:b97ba984983544ac807e60ab643e2639219d4b9739a81d62b24e7517a3245d82
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:b0702bea14c14c62d23f2a99482e4f39b9934e5091fe1ad463128671abfb08e1
sourceBlobDigest: sha256:1497f72360880691a966e318272e68b27d573cc4ed89f0a4a2b1ed692dcf6e25
sourceRevisionDigest: sha256:8da57cbc8513b9fbc74fd3ba8b4c5924086733c7ae58d27a39bce828c52db020
sourceBlobDigest: sha256:b97ba984983544ac807e60ab643e2639219d4b9739a81d62b24e7517a3245d82
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:1b2625a1c2ec06a271fa89696cd45cbd537cddb04f2d5ccce4a6ab3ac6d24418
codeSamplesRevisionDigest: sha256:1b460fa666ee5b3e06630e66e4694405b5770019f95085d5c9571240f6f024fa
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.803.2
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4009,4 +4009,14 @@ Based on:
### Generated
- [python v1.3.124] .
### Releases
- [PyPI v1.3.124] https://pypi.org/project/openrouter/1.3.124 - .
- [PyPI v1.3.124] https://pypi.org/project/openrouter/1.3.124 - .

## 2026-11-05 05:06:50
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.125] .
### Releases
- [PyPI v1.3.125] https://pypi.org/project/openrouter/1.3.125 - .
16 changes: 8 additions & 8 deletions docs/components/privateendpointcheck.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ title: "PrivateEndpointCheck"

## Fields

| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `actual_model` | *OptionalNullable[str]* | ➖ | Model the upstream reported serving, when it differs from the request. | |
| `name` | *str* | ✔️ | Check name. | auth_ok |
| `passed` | *bool* | ✔️ | N/A | |
| `reason` | [Optional[components.PrivateEndpointCheckReason]](../components/privateendpointcheckreason.mdx) | ➖ | Why the check failed. | no_byok_key |
| `upstream_message` | *OptionalNullable[str]* | ➖ | Error message returned by your deployment when the call failed. | |
| `upstream_status` | *Optional[int]* | ➖ | HTTP status returned by your deployment when the call failed. | |
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ~~`actual_model`~~ | *OptionalNullable[str]* | ➖ | ⚠️ **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>Deprecated: validation no longer compares the model the upstream reports, so this field is never returned. | |
| `name` | *str* | ✔️ | Check name. | auth_ok |
| `passed` | *bool* | ✔️ | N/A | |
| `reason` | [Optional[components.PrivateEndpointCheckReason]](../components/privateendpointcheckreason.mdx) | ➖ | Why the check failed. | no_byok_key |
| `upstream_message` | *OptionalNullable[str]* | ➖ | Error message returned by your deployment when the call failed. | |
| `upstream_status` | *Optional[int]* | ➖ | HTTP status returned by your deployment when the call failed. | |
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.124"
version = "1.3.125"
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.124"
__version__: str = "1.3.125"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.950.13"
__user_agent__: str = "speakeasy-sdk/python 1.3.124 2.950.13 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.3.125 2.950.13 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
Loading
Loading