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: 14 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: 3534d2fc1b56a60cfb5155d193ebbbae
docChecksum: 9336ad6491bbe7153e9b0296bb029533
docVersion: 1.0.0
speakeasyVersion: 1.803.2
generationVersion: 2.950.13
releaseVersion: 1.3.249
configChecksum: 9c96a31f744f8d97ae49afb34c00f652
releaseVersion: 1.3.250
configChecksum: d65ff46c2fa1652f0b0e7bd7a6df6b9b
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 53118a64-20f8-4d36-b99a-bc3184324885
pristine_commit_hash: 6a8793a6eb7a14a4d0f2837127b8b3557d4672a4
pristine_tree_hash: 3800d01506b9490b5afb3b3a16a2bd3be9290ec2
generation_id: af7b3db1-d80c-40df-a390-c59a78529c72
pristine_commit_hash: 2112637041bda9baeefb4e0b6d5a9c1af66fffea
pristine_tree_hash: a06ecda61df45545891d9b51cc1804ab0efc2e92
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -12536,8 +12536,8 @@ trackedFiles:
pristine_git_object: d4304854d226e88da980c5c4743bc592289d8143
docs/sdks/batch/README.mdx:
id: e367aa4f4295
last_write_checksum: sha1:1a1160bdde124e4f3f4d8c4c14448ab3df7f2c77
pristine_git_object: e7b9850d5994a638ef7ba44c8356fdd4e434b365
last_write_checksum: sha1:ba3e7c341d29112c7c364b384c4b2e667f5fb3cf
pristine_git_object: 6712cbe5db5ae01afeb4206cd9f0b3cfbbb41014
docs/sdks/benchmarks/README.mdx:
id: 5b483a6770ba
last_write_checksum: sha1:10a8edbf3bc300bab53ce72c3a37c974971b74bd
Expand Down Expand Up @@ -12688,8 +12688,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:99912460d4173130845589c3161201af31dd33ab
pristine_git_object: ec4076d23f45b1a0290e2fdfdf483fa4974533d7
last_write_checksum: sha1:cbce0619784254562f7fda9f37bb004d7e0a51ca
pristine_git_object: 54c562ba8b880e61fc7e7e5de14c6266794ab8b0
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -12716,8 +12716,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:652aea765469397ebfde8093c3195ab4bc5edef3
pristine_git_object: 4c3aa128edd8f808bcd0193bc76509b425db3cea
last_write_checksum: sha1:8a34e57a9a7dcdb15b5c9821e84e3372b6177ffb
pristine_git_object: 36a5891bb87271b53c1efce413ce9482471328f8
src/openrouter/alpha.py:
id: 306c4d93308d
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
Expand All @@ -12736,8 +12736,8 @@ trackedFiles:
pristine_git_object: 7a562e21c7e66c9db666ead83748b73adefe4278
src/openrouter/batch.py:
id: 148f61e34d5b
last_write_checksum: sha1:387696eb4007cb5fc7f5899d3affc5a0e0f3e667
pristine_git_object: 48894aa220b0f6019f003d8e42eb94890a25dc73
last_write_checksum: sha1:655489800d4a892f0bf369094d62a0ae2478b456
pristine_git_object: 5079e6d254336521fb48e3a15b55c493de712b68
src/openrouter/benchmarks.py:
id: 178d2ad8d706
last_write_checksum: sha1:be86f24d07ba86e9585f7d2bc2c384dba5185727
Expand Down
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.249
version: 1.3.250
additionalDependencies:
dev:
pytest: '>=8.3'
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45470,7 +45470,7 @@ paths:
- $ref: "#/components/parameters/AppCategories"
/batches:
get:
description: 'Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page''s `last_id` as `after`. List items omit `results`. Use `GET /batches/{id}` to get them. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).'
description: 'Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page''s `last_id` as `after`. In list items, `results` is always `null`. Use `GET /batches/{id}` to retrieve results. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).'
operationId: 'listBatches'
parameters:
- description: 'Maximum number of batches to return, from 1 through 100.'
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:898831486e74b7b1fdc330f2b661b2dc3bf23385aafa524379986c07424c3c66
sourceBlobDigest: sha256:d0244ee95fd73eb73950dece5f5442c8609b49389be838d08f99bc9c983576dd
sourceRevisionDigest: sha256:9996cd1cc6ad28b3d31f6b876b8b26261168e8b1f3ead998ddcdc3278cc6e6bc
sourceBlobDigest: sha256:9817de9cd943f57f40006963683b9bf941b10a74108eb0cee365556b55f881a2
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:898831486e74b7b1fdc330f2b661b2dc3bf23385aafa524379986c07424c3c66
sourceBlobDigest: sha256:d0244ee95fd73eb73950dece5f5442c8609b49389be838d08f99bc9c983576dd
sourceRevisionDigest: sha256:9996cd1cc6ad28b3d31f6b876b8b26261168e8b1f3ead998ddcdc3278cc6e6bc
sourceBlobDigest: sha256:9817de9cd943f57f40006963683b9bf941b10a74108eb0cee365556b55f881a2
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:22ef2e2ab712db95bd12305ba9a593a1fe08d53f72b51f25da19950f14cfdda6
codeSamplesRevisionDigest: sha256:804130330e169a7ad0f768e448c60e2aa9abb5530fef9db149b4b13473b4d4de
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 @@ -5259,4 +5259,14 @@ Based on:
### Generated
- [python v1.3.249] .
### Releases
- [PyPI v1.3.249] https://pypi.org/project/openrouter/1.3.249 - .
- [PyPI v1.3.249] https://pypi.org/project/openrouter/1.3.249 - .

## 2026-12-05 06:26:10
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.250] .
### Releases
- [PyPI v1.3.250] https://pypi.org/project/openrouter/1.3.250 - .
2 changes: 1 addition & 1 deletion docs/sdks/batch/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Submit, list, poll, cancel, and delete asynchronous batches of inference request

## list

Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. List items omit `results`. Use `GET /batches/{id}` to get them. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).
Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. In list items, `results` is always `null`. Use `GET /batches/{id}` to retrieve results. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).

### Example Usage

Expand Down
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.249"
version = "1.3.250"
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.249"
__version__: str = "1.3.250"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.950.13"
__user_agent__: str = "speakeasy-sdk/python 1.3.249 2.950.13 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.3.250 2.950.13 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
4 changes: 2 additions & 2 deletions src/openrouter/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def list(
) -> Optional[operations.ListBatchesResponse]:
r"""List batches

Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. List items omit `results`. Use `GET /batches/{id}` to get them. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).
Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. In list items, `results` is always `null`. Use `GET /batches/{id}` to retrieve results. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).

:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
This is used to track API usage per application.
Expand Down Expand Up @@ -199,7 +199,7 @@ async def list_async(
) -> Optional[operations.ListBatchesResponse]:
r"""List batches

Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. List items omit `results`. Use `GET /batches/{id}` to get them. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).
Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. In list items, `results` is always `null`. Use `GET /batches/{id}` to retrieve results. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).

:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
This is used to track API usage per application.
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.