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
24 changes: 10 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: be7c11dcf47add5989f403c393b004f7
docChecksum: eb2e16acfab5f2032a8d548745f59efb
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.1.27
configChecksum: cd57c8a0de51b8a03c8b09310929f01e
releaseVersion: 1.1.28
configChecksum: 008659dfab46a34671b25c5b61b0599c
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 2bd77237-503a-4a76-a70e-c30ff7216a4d
pristine_commit_hash: 29dd98cf236ec587c0af26a6ee59169e4e4e24be
pristine_tree_hash: 6d691315fc84cf5072331ad8a3b838389435d1b0
generation_id: 96cb77ac-d2c5-495e-82f3-0b327ef45318
pristine_commit_hash: f4a4961eea998d48535f499a9a4072361d6d5896
pristine_tree_hash: 9515cf8c6e8d374d9de764f767b44af866d5b3bc
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -7086,8 +7086,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:a264d9007e08b3eae1c2386bafd532997cef58f4
pristine_git_object: 7e513fdef9903e80c52e5722af29177e5be59a12
last_write_checksum: sha1:3193870dc88ecc13b6062045a9c28446f2316b67
pristine_git_object: c9429d0947678d321f59d0a94e4bd0e42b3b7d68
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -7114,8 +7114,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:d58a79dc88238c0e3e3fe18d9e4dc5a4f537f159
pristine_git_object: ace1bde4d196b0fb748a67f2dd51ee2b17331927
last_write_checksum: sha1:476e03198fb60750f944e1c04354ccd2ab1e4d7c
pristine_git_object: aaaca5c82c36ebd4f3eb063dab83f9b3120267e0
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a
Expand Down Expand Up @@ -11905,7 +11905,3 @@ examples:
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
examplesVersion: 1.0.2
releaseNotes: |
## Python SDK Changes:
* `open_router.workspaces.get_budget()`: **Added**
* `open_router.workspaces.delete_budget()`: `error.status[400]` **Added**
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.27
version: 1.1.28
additionalDependencies:
dev: {}
main: {}
Expand Down
2 changes: 2 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16053,7 +16053,9 @@ components:
config:
properties:
account:
maxLength: 255

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 minor · Experience (DX · UX · A11y)

The new account constraints are not propagated to the Python SDK surface. The spec now requires account to match a pattern and be at most 255 characters, but ObservabilitySnowflakeDestinationConfig.account remains an unconstrained str in src/openrouter/components/observabilitysnowflakedestination.py, and docs/components/observabilitysnowflakedestinationconfig.mdx still documents it as N/A. Regenerate or add the corresponding Pydantic constraints and documentation so callers receive actionable local validation instead of an opaque API validation failure.

minLength: 1
pattern: '^[a-zA-Z0-9_]+(?:[.-][a-zA-Z0-9_]+)*$'
type: 'string'
database:
default: 'SNOWFLAKE_LEARNING_DB'
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:f89a07d7220907360b9ac5ecea709b3307e39d9ab5bf499fe78541628d17f37c
sourceBlobDigest: sha256:439eb2fb58b83d4959ec1bddce024c1a426f31d3b6d21f130383a9c6d611b17f
sourceRevisionDigest: sha256:4cac77c6135f24b52b5e30693a512a9723a7fe0d0dc6b12fd50aae2e4fdf127a
sourceBlobDigest: sha256:894a231d94956b7d96c0db56ba75097b4054aa04d322785cbb1a9d3a1639ffe8
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:f89a07d7220907360b9ac5ecea709b3307e39d9ab5bf499fe78541628d17f37c
sourceBlobDigest: sha256:439eb2fb58b83d4959ec1bddce024c1a426f31d3b6d21f130383a9c6d611b17f
sourceRevisionDigest: sha256:4cac77c6135f24b52b5e30693a512a9723a7fe0d0dc6b12fd50aae2e4fdf127a
sourceBlobDigest: sha256:894a231d94956b7d96c0db56ba75097b4054aa04d322785cbb1a9d3a1639ffe8
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:5e817705b5cab5aa1a246b2d529ca39c280a66a80484e15a8e9708faf9190f89
codeSamplesRevisionDigest: sha256:62c9899981a9e2e8a5c6508343713b32a08ce639114f06238a2be712f04f1773
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 @@ -1059,4 +1059,14 @@ Based on:
### Generated
- [python v1.1.27] .
### Releases
- [PyPI v1.1.27] https://pypi.org/project/openrouter/1.1.27 - .
- [PyPI v1.1.27] https://pypi.org/project/openrouter/1.1.27 - .

## 2026-08-04 17:56:34
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.28] .
### Releases
- [PyPI v1.1.28] https://pypi.org/project/openrouter/1.1.28 - .
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.27"
version = "1.1.28"
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.27"
__version__: str = "1.1.28"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.1.27 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.1.28 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