Compare commits

..
1 Commits
Author SHA1 Message Date
OpenRouter Team c7d69e3763 Commits included in this export:
- 648485fdc7f9d8ae86fd857eccedcc5e41fb2e69
  - 80c49474a15a2bd549a5f26efad3858aa45b7c7b
  - 70e8ac317f9c4472db3decd024d1819650df4182
  - 9f2a6659ab6dbf111a0c29e4366328c3d2048826
  - a3a28b1fc6ec7d2941232a4ebde8c5f470497876
  - 4b5dc9193480b7c5c9ddb882ccf3ee2128ca0d51
  - bb413e979a46ef67c2f266743f7ebd798af42afb
  - b60e92d5dcec83f31986164f51c010d1728b2b17
  - 45687f423707f5838461585c568a024a19eb2f06
  - 3103d3ca68b6e42ccdb6136588ec2b6edc8dcab0
  - fd9f991606027cd86116317c71f8eb7b4e2aa3eb
  - 0f312019161edd76c1e5923d142c788d22f096d5
  - 5dbab2094bc744db4a90b3097520d897e5d0d634
  - 4c47d1af1735db18a1c1a7f463e801c7f71ad4e5

GitOrigin-RevId: 648485fdc7f9d8ae86fd857eccedcc5e41fb2e69
2026-02-20 23:17:27 +00:00
13 changed files with 15 additions and 51 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: cfd52247-6a25-4c6d-bbce-fe6fce0cd69d
management:
docChecksum: ba9a1c22e9c7d5926d71b1e78e16b482
docChecksum: 964d64d091f299f9571920aef96087db
docVersion: 1.0.0
speakeasyVersion: 1.666.0
generationVersion: 2.768.0
releaseVersion: 0.7.11
configChecksum: c2013e97e44ae07d6749ebe461b47299
releaseVersion: 0.7.9
configChecksum: 5ccea59f057d7c14ca469fae260f6c47
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
+1 -1
View File
@@ -31,7 +31,7 @@ generation:
skipResponseBodyAssertions: false
preApplyUnionDiscriminators: true
python:
version: 0.7.11
version: 0.7.9
additionalDependencies:
dev: {}
main: {}
-16
View File
@@ -3582,7 +3582,6 @@ components:
- Inception
- Inceptron
- InferenceNet
- Ionstream
- Infermatic
- Io Net
- Inflection
@@ -9868,10 +9867,6 @@ components:
p99: 15.1
parameters: {}
securitySchemes:
apiKey:
type: http
scheme: bearer
description: API key as bearer token in Authorization header
bearer:
type: http
scheme: bearer
@@ -11069,7 +11064,6 @@ paths:
- Inception
- Inceptron
- InferenceNet
- Ionstream
- Infermatic
- Io Net
- Inflection
@@ -14237,16 +14231,6 @@ paths:
- monthly
description: Optional credit limit reset interval. When set, the credit limit resets on this interval.
example: monthly
spawn_agent:
type: string
description: Agent identifier for spawn telemetry
x-speakeasy-ignore: true
x-fern-ignore: true
spawn_cloud:
type: string
description: Cloud identifier for spawn telemetry
x-speakeasy-ignore: true
x-fern-ignore: true
required:
- callback_url
example:
-16
View File
@@ -3601,7 +3601,6 @@ components:
- Inception
- Inceptron
- InferenceNet
- Ionstream
- Infermatic
- Io Net
- Inflection
@@ -9867,10 +9866,6 @@ components:
p99: 15.1
parameters: {AppIdentifier: {name: HTTP-Referer, in: header, schema: {type: string}, description: "The app identifier should be your app's URL and is used as the primary identifier for rankings.\nThis is used to track API usage per application.\n"}, AppDisplayName: {name: X-Title, in: header, schema: {type: string}, description: "The app display name allows you to customize how your app appears in OpenRouter's dashboard.\n"}}
securitySchemes:
apiKey:
type: http
scheme: bearer
description: API key as bearer token in Authorization header
bearer:
type: http
scheme: bearer
@@ -11090,7 +11085,6 @@ paths:
- Inception
- Inceptron
- InferenceNet
- Ionstream
- Infermatic
- Io Net
- Inflection
@@ -14295,16 +14289,6 @@ paths:
description: Optional credit limit reset interval. When set, the credit limit resets on this interval.
example: monthly
x-speakeasy-unknown-values: allow
spawn_agent:
type: string
description: Agent identifier for spawn telemetry
x-speakeasy-ignore: true
x-fern-ignore: true
spawn_cloud:
type: string
description: Cloud identifier for spawn telemetry
x-speakeasy-ignore: true
x-fern-ignore: true
required:
- callback_url
example:
+5 -5
View File
@@ -8,8 +8,8 @@ sources:
- latest
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:8a64fb1c1030c87db14bca3af4883e06b9d5853c153a5fd0f2e4c15166e034dd
sourceBlobDigest: sha256:7f6d7d20424f27ec13e6ae45a1599dab23f2573a69d634b1bb1c346f8a328ae9
sourceRevisionDigest: sha256:a3034772624fc11a890e6f565c3b098739adb96956c73135e3657329c2849f94
sourceBlobDigest: sha256:ab42c91f594ab94318c39aeb198f94752b11c18690aaf5e664f133c911d0f16e
tags:
- latest
- main
@@ -18,10 +18,10 @@ targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:8a64fb1c1030c87db14bca3af4883e06b9d5853c153a5fd0f2e4c15166e034dd
sourceBlobDigest: sha256:7f6d7d20424f27ec13e6ae45a1599dab23f2573a69d634b1bb1c346f8a328ae9
sourceRevisionDigest: sha256:a3034772624fc11a890e6f565c3b098739adb96956c73135e3657329c2849f94
sourceBlobDigest: sha256:ab42c91f594ab94318c39aeb198f94752b11c18690aaf5e664f133c911d0f16e
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:349390cb3f04fb4fdd6292a33ff1ee0659846fe1e3f03bede5bf13f3e70c447f
codeSamplesRevisionDigest: sha256:653bbd091c56bce37f09a8e2d61c4ee5addde427957a630217d7afc3c05946bb
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.666.0
-1
View File
@@ -39,7 +39,6 @@
| `INCEPTION` | Inception |
| `INCEPTRON` | Inceptron |
| `INFERENCE_NET` | InferenceNet |
| `IONSTREAM` | Ionstream |
| `INFERMATIC` | Infermatic |
| `IO_NET` | Io Net |
| `INFLECTION` | Inflection |
-1
View File
@@ -67,7 +67,6 @@
| `INCEPTION` | Inception |
| `INCEPTRON` | Inceptron |
| `INFERENCE_NET` | InferenceNet |
| `IONSTREAM` | Ionstream |
| `INFERMATIC` | Infermatic |
| `IO_NET` | Io Net |
| `INFLECTION` | Inflection |
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "openrouter"
version = "0.7.11"
version = "0.7.9"
description = "Official Python Client SDK for OpenRouter."
authors = [{ name = "OpenRouter" },]
readme = "README-PYPI.md"
+2 -2
View File
@@ -3,10 +3,10 @@
import importlib.metadata
__title__: str = "openrouter"
__version__: str = "0.7.11"
__version__: str = "0.7.9"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.768.0"
__user_agent__: str = "speakeasy-sdk/python 0.7.11 2.768.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 0.7.9 2.768.0 1.0.0 openrouter"
try:
if __package__ is not None:
@@ -41,7 +41,6 @@ ProviderName = Union[
"Inception",
"Inceptron",
"InferenceNet",
"Ionstream",
"Infermatic",
"Io Net",
"Inflection",
+2 -2
View File
@@ -17,8 +17,8 @@ class Security(BaseModel):
FieldMetadata(
security=SecurityMetadata(
scheme=True,
scheme_type="http",
sub_type="bearer",
scheme_type="apiKey",
sub_type="header",
field_name="Authorization",
)
),
@@ -160,7 +160,6 @@ ProviderName = Union[
"Inception",
"Inceptron",
"InferenceNet",
"Ionstream",
"Infermatic",
"Io Net",
"Inflection",
Generated
+1 -1
View File
@@ -211,7 +211,7 @@ wheels = [
[[package]]
name = "openrouter"
version = "0.7.11"
version = "0.7.9"
source = { editable = "." }
dependencies = [
{ name = "httpcore" },