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
28 changes: 10 additions & 18 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: 7263f7a45045933c0fa87b21e7e6fd9b
docChecksum: 4c1de84906249adffa68289b1272a337
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 0.11.26
configChecksum: 2a949e81cf5d40ef993b72355e7e75eb
releaseVersion: 0.11.27
configChecksum: 8c481cc9a577b723dec23a1acb6acd44
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 7695231f-3e30-4c88-921a-f9175c463593
pristine_commit_hash: 5ccb0c48efa3160204f8671518dd705cc930a0a7
pristine_tree_hash: 111ea5b13d73fd98a6d6c24a7a46a513a3104a9c
generation_id: 29d14705-a7a0-4678-9a14-db322b73e2e9
pristine_commit_hash: 604984950189ec77e6d3e0907500b9a36193139a
pristine_tree_hash: ac64da59d036426e6a5253061a7139a4a12fd118
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -6662,8 +6662,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:a62f150fb014bd2f019526c2847cab9afcd90648
pristine_git_object: bcd7637f7dd41ea5aa8e3374fbafe096f1d44c11
last_write_checksum: sha1:422b5cabaf16017ad5a03653f1cebc804d1b084d
pristine_git_object: feee6a6c23e707d2c4e75602176b723657b31a41
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -6690,8 +6690,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:806eecfbfbd9862cf0fb64efad4b401f93c78e3e
pristine_git_object: b634472cdb3fe62a8422bdd27d30a770bdf652a2
last_write_checksum: sha1:492ccf71ca935892090ce4ccb5391ff14fa90596
pristine_git_object: d00a5fa67b4b8b39352d9b6491b1854749529f2f
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:9e709b71dd0611056dc0cec6150b578defe32841
Expand Down Expand Up @@ -11137,11 +11137,3 @@ examples:
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
examplesVersion: 1.0.2
releaseNotes: |
## Python SDK Changes:
* `open_router.embeddings.list_models()`: `response.data[].pricing.overrides` **Added**
* `open_router.endpoints.list_zdr_endpoints()`: `response.data[].pricing.overrides` **Added**
* `open_router.endpoints.list()`: `response.data.endpoints[].pricing.overrides` **Added**
* `open_router.models.get()`: `response.data.pricing.overrides` **Added**
* `open_router.models.list()`: `response.data[].pricing.overrides` **Added**
* `open_router.models.list_for_user()`: `response.data[].pricing.overrides` **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: 0.11.26
version: 0.11.27
additionalDependencies:
dev: {}
main: {}
Expand Down
3 changes: 1 addition & 2 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31265,8 +31265,7 @@ paths:
schema:
description: Minimum context length (tokens). Models with smaller context are excluded.
example: 128000
exclusiveMinimum: true
minimum: 0
minimum: 1
type: integer
- description: Minimum prompt price in $/M tokens.
in: query
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:9f8353c6af76d729784ad0e73d4c232043cf6f308a01acd3975ec748a1751559
sourceBlobDigest: sha256:d2e958ad60806d999cd37686274fff162f0dd4e52954a1edb49f19e037eeda6e
sourceRevisionDigest: sha256:6bb42dab7b8c3a170da9cf40c9b52e39be0e93776f2ea0aaa6d806562290594c
sourceBlobDigest: sha256:e2a84cbdb9e0e9e83a48aa80f44d1ae9ad3ef37d469ee705e9409017c065aaa5
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:9f8353c6af76d729784ad0e73d4c232043cf6f308a01acd3975ec748a1751559
sourceBlobDigest: sha256:d2e958ad60806d999cd37686274fff162f0dd4e52954a1edb49f19e037eeda6e
sourceRevisionDigest: sha256:6bb42dab7b8c3a170da9cf40c9b52e39be0e93776f2ea0aaa6d806562290594c
sourceBlobDigest: sha256:e2a84cbdb9e0e9e83a48aa80f44d1ae9ad3ef37d469ee705e9409017c065aaa5
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:f68472bc77963d676f750b164b9991d49fc9b394fb05f7aba9907616cdaa54b1
codeSamplesRevisionDigest: sha256:620d78e3bc22a91a122ed5516d1800440ee7551693a8bc91d3dcaeefec334c50
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 @@ -368,4 +368,14 @@ Based on:
### Generated
- [python v0.11.26] .
### Releases
- [PyPI v0.11.26] https://pypi.org/project/openrouter/0.11.26 - .
- [PyPI v0.11.26] https://pypi.org/project/openrouter/0.11.26 - .

## 2026-07-13 20:42:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.11.27] .
### Releases
- [PyPI v0.11.27] https://pypi.org/project/openrouter/0.11.27 - .
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 = "0.11.26"
version = "0.11.27"
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 = "0.11.26"
__version__: str = "0.11.27"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 0.11.26 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 0.11.27 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