Skip to content

Commit 4911ae9

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.803.2
1 parent 4d02829 commit 4911ae9

10 files changed

Lines changed: 39 additions & 33 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: c48cf606-fb42-4a45-9c23-8f0555307828
33
management:
4-
docChecksum: 4babeec89624af04f991bf3ffbb2a71f
4+
docChecksum: e0dc4a6da678e16a868451b310fd2be8
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.226
9-
configChecksum: ba299176bf8c6e375318c81a4a1bb746
8+
releaseVersion: 1.3.227
9+
configChecksum: a658beec670bf670bb68bfb0cd831e0c
1010
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
1212
published: true
1313
persistentEdits:
14-
generation_id: 7408ab10-2e36-443c-9429-7ac4417ec808
15-
pristine_commit_hash: 5f14a95f56348614d20c90e04b87914d17522934
16-
pristine_tree_hash: 5d82834fdc0ef045b2663bb503fff84580d77910
14+
generation_id: b04d0836-4521-48ca-82f0-b6a5686076f7
15+
pristine_commit_hash: 6b4bdb639aab3a2bd63a496c9ccb2a03d65dbb54
16+
pristine_tree_hash: 57c1037bc2cc3764d47123226b7710a1fcd21128
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -4924,8 +4924,8 @@ trackedFiles:
49244924
pristine_git_object: cb06254f868dcd6382020a51f98e9dbed083ee0f
49254925
docs/components/keybudget.mdx:
49264926
id: 97c09b7c00bb
4927-
last_write_checksum: sha1:dd65a444558a94adfcee3862d4e477beadbfd4b9
4928-
pristine_git_object: c73467727abe8054a349cb2a639b626b90649c7a
4927+
last_write_checksum: sha1:1fa72462ba13f2c1af4238df7a973165fd062571
4928+
pristine_git_object: 3e7f8d5d8f75a3cc94b43d023fda07eeb414001b
49294929
docs/components/keybudgetresetinterval.mdx:
49304930
id: 04c5a5d5c2de
49314931
last_write_checksum: sha1:6461a5c207b783acbaf11733a89c2091bba302cb
@@ -12388,8 +12388,8 @@ trackedFiles:
1238812388
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1238912389
pyproject.toml:
1239012390
id: 5d07e7d72637
12391-
last_write_checksum: sha1:ae20ef478ac334c757316ff2c14c159f88c72c16
12392-
pristine_git_object: 6503b096bfd61f095dee77bf17e5da282c877f0f
12391+
last_write_checksum: sha1:0b902d6d815fb90af72e7b899ba19acea439a647
12392+
pristine_git_object: aa5f96e31657d63a7a25efb5a28ccf21f5c30f76
1239312393
scripts/prepare_readme.py:
1239412394
id: e0c5957a6035
1239512395
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -12416,8 +12416,8 @@ trackedFiles:
1241612416
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1241712417
src/openrouter/_version.py:
1241812418
id: d8d15ad6c586
12419-
last_write_checksum: sha1:fbdf3b4ac61171b8927fc5824100c74fc2538753
12420-
pristine_git_object: 41968b1bcf02d9746d4daa9865a11d92b09a7f3c
12419+
last_write_checksum: sha1:f04f6c58f9f0df0b825d1145713ca7e9b561295d
12420+
pristine_git_object: 6e700225eea366ea14738f07595ef5b6829867ca
1242112421
src/openrouter/alpha.py:
1242212422
id: 306c4d93308d
1242312423
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
@@ -14500,8 +14500,8 @@ trackedFiles:
1450014500
pristine_git_object: d334197ca0822a32f5f98a7548b254a37ee7d110
1450114501
src/openrouter/components/keybudget.py:
1450214502
id: 02da5af09bac
14503-
last_write_checksum: sha1:ef48846d18fc6947160152a2bdb62e447e115e52
14504-
pristine_git_object: 096c1f5b2de33c1a6f0ab5cd0c0c51ecb0ee7db4
14503+
last_write_checksum: sha1:632ab020f155709442e00a7236a1922344c272ac
14504+
pristine_git_object: fa6d2afb6c63b3a2dd468f765083f9d8a27c56b7
1450514505
src/openrouter/components/legacy_chatcontentvideo.py:
1450614506
id: b06bf8b4b644
1450714507
last_write_checksum: sha1:59cab32b6634299755ba92b46c90ee4495e6e86a
@@ -22782,7 +22782,3 @@ examples:
2278222782
"500":
2278322783
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
2278422784
examplesVersion: 1.0.2
22785-
releaseNotes: |
22786-
## Python SDK Changes:
22787-
* `open_router.guardrails.delete()`: `error.status[400]` **Added**
22788-
* `open_router.guardrails.get()`: `error.status[400]` **Added**

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generation:
3737
documentation: mintlify
3838
preApplyUnionDiscriminators: true
3939
python:
40-
version: 1.3.226
40+
version: 1.3.227
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18978,7 +18978,7 @@ components:
1897818978
- 'string'
1897918979
- 'null'
1898018980
guardrail_id:
18981-
description: 'ID of the guardrail that carries this budget; null for other scopes.'
18981+
description: 'ID of the budget that applies at this layer: a guardrail policy ID (look it up with `GET /api/v1/guardrails/policies`) or, for accounts still on v1 guardrails, a guardrail ID. Null for the `workspace` and `key_limit` scopes.'
1898218982
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
1898318983
type:
1898418984
- 'string'

‎.speakeasy/workflow.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.803.2
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:fa39c8edacf1998e475a5311bee64438788b79840819d50f2bb74869ff38e526
6-
sourceBlobDigest: sha256:a531bed493c48dd2329832b376d77845b9c1e6ad7587285ee94f995a84ce9f6f
5+
sourceRevisionDigest: sha256:fed68ab1979cb36b6dcb3d78f5c4c94d6b8bdd1c84d8a2746edfc6e8120b82fe
6+
sourceBlobDigest: sha256:111dd67d067a6edfa686f338f00397251e2eed542000cbde283da0853206d8fa
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
open-router:
1212
source: OpenRouter API
1313
sourceNamespace: open-router-chat-completions-api
14-
sourceRevisionDigest: sha256:fa39c8edacf1998e475a5311bee64438788b79840819d50f2bb74869ff38e526
15-
sourceBlobDigest: sha256:a531bed493c48dd2329832b376d77845b9c1e6ad7587285ee94f995a84ce9f6f
14+
sourceRevisionDigest: sha256:fed68ab1979cb36b6dcb3d78f5c4c94d6b8bdd1c84d8a2746edfc6e8120b82fe
15+
sourceBlobDigest: sha256:111dd67d067a6edfa686f338f00397251e2eed542000cbde283da0853206d8fa
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:c990856095d95236bdad295c34e68dde689911cdc248866185d101ff64a0f21e
17+
codeSamplesRevisionDigest: sha256:8fa393309f409de6958a395164463b476bb845e0b547cf762e78e353e97890fc
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.803.2

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5029,4 +5029,14 @@ Based on:
50295029
### Generated
50305030
- [python v1.3.226] .
50315031
### Releases
5032-
- [PyPI v1.3.226] https://pypi.org/project/openrouter/1.3.226 - .
5032+
- [PyPI v1.3.226] https://pypi.org/project/openrouter/1.3.226 - .
5033+
5034+
## 2026-12-02 01:34:48
5035+
### Changes
5036+
Based on:
5037+
- OpenAPI Doc
5038+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
5039+
### Generated
5040+
- [python v1.3.227] .
5041+
### Releases
5042+
- [PyPI v1.3.227] https://pypi.org/project/openrouter/1.3.227 - .

‎docs/components/keybudget.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ One budget layer that applies to requests made with this key, with the spend enf
1010
| Field | Type | Required | Description | Example |
1111
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1212
| `budget_id` | *Nullable[str]* | ✔️ | ID of the workspace budget for the `workspace` scope; null for other scopes. | null |
13-
| `guardrail_id` | *Nullable[str]* | ✔️ | ID of the guardrail that carries this budget; null for other scopes. | 0df9e665-d932-5740-b2c7-b52af166bc11 |
13+
| `guardrail_id` | *Nullable[str]* | ✔️ | ID of the budget that applies at this layer: a guardrail policy ID (look it up with `GET /api/v1/guardrails/policies`) or, for accounts still on v1 guardrails, a guardrail ID. Null for the `workspace` and `key_limit` scopes. | 0df9e665-d932-5740-b2c7-b52af166bc11 |
1414
| `include_byok` | *bool* | ✔️ | Whether external BYOK inference spend counts toward this budget. | false |
1515
| `limit_usd` | *float* | ✔️ | Budget limit in USD for the current window. | 50 |
1616
| `remaining_usd` | *float* | ✔️ | `limit_usd - spend_usd`. Zero or negative means this layer rejects requests with a 403 until it resets. | 17.5 |

0 commit comments

Comments
 (0)