Compare commits

..
1 Commits
Author SHA1 Message Date
OpenRouter Team ca36f2362c Commits included in this export:
- bb413e979a46ef67c2f266743f7ebd798af42afb
  - b60e92d5dcec83f31986164f51c010d1728b2b17
  - 45687f423707f5838461585c568a024a19eb2f06
  - 3103d3ca68b6e42ccdb6136588ec2b6edc8dcab0
  - fd9f991606027cd86116317c71f8eb7b4e2aa3eb
  - 0f312019161edd76c1e5923d142c788d22f096d5
  - 5dbab2094bc744db4a90b3097520d897e5d0d634
  - 4c47d1af1735db18a1c1a7f463e801c7f71ad4e5

GitOrigin-RevId: bb413e979a46ef67c2f266743f7ebd798af42afb
2026-02-20 19:18:17 +00:00
14 changed files with 19 additions and 67 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: cfd52247-6a25-4c6d-bbce-fe6fce0cd69d
management:
docChecksum: 085a9e7098715bd2da18b429217d5df2
docChecksum: 689a77f858a227cc6e0b4d2c37da51db
docVersion: 1.0.0
speakeasyVersion: 1.666.0
generationVersion: 2.768.0
releaseVersion: 0.7.10
configChecksum: b84e4c84bb08573a2ee3abd877613405
releaseVersion: 0.7.4
configChecksum: 07fbaa86b50389002ac4cff07efa9029
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.10
version: 0.7.4
additionalDependencies:
dev: {}
main: {}
-22
View File
@@ -313,11 +313,6 @@ components:
- $ref: '#/components/schemas/OutputItemReasoning'
- type: object
properties:
content:
type: array
nullable: true
items:
$ref: '#/components/schemas/ReasoningTextContent'
signature:
type: string
nullable: true
@@ -3287,11 +3282,6 @@ components:
- $ref: '#/components/schemas/OutputItemReasoning'
- type: object
properties:
content:
type: array
nullable: true
items:
$ref: '#/components/schemas/ReasoningTextContent'
signature:
type: string
nullable: true
@@ -3582,7 +3572,6 @@ components:
- Inception
- Inceptron
- InferenceNet
- Ionstream
- Infermatic
- Io Net
- Inflection
@@ -11065,7 +11054,6 @@ paths:
- Inception
- Inceptron
- InferenceNet
- Ionstream
- Infermatic
- Io Net
- Inflection
@@ -14233,16 +14221,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:
-22
View File
@@ -314,11 +314,6 @@ components:
- $ref: '#/components/schemas/OutputItemReasoning'
- type: object
properties:
content:
type: array
nullable: true
items:
$ref: '#/components/schemas/ReasoningTextContent'
signature:
type: string
nullable: true
@@ -3303,11 +3298,6 @@ components:
- $ref: '#/components/schemas/OutputItemReasoning'
- type: object
properties:
content:
type: array
nullable: true
items:
$ref: '#/components/schemas/ReasoningTextContent'
signature:
type: string
nullable: true
@@ -3601,7 +3591,6 @@ components:
- Inception
- Inceptron
- InferenceNet
- Ionstream
- Infermatic
- Io Net
- Inflection
@@ -11086,7 +11075,6 @@ paths:
- Inception
- Inceptron
- InferenceNet
- Ionstream
- Infermatic
- Io Net
- Inflection
@@ -14291,16 +14279,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:f8adba9c91c744b42ee9c5426ffabaf5b77491149a5e11d599e651a853ee7479
sourceBlobDigest: sha256:a3eaa13662f2b4a4aa664ac58eb10b691bfd2d014344aafd517a59870a2f9ffb
sourceRevisionDigest: sha256:736a0bb7db1ac8af43a17b38a66deef11b3354eb44f1dc1ffc9e997fc3c26542
sourceBlobDigest: sha256:e0136c6854d55043ebd9e6af584c90b17d9f9c878bb01cb84723db77cf29aa30
tags:
- latest
- main
@@ -18,10 +18,10 @@ targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:f8adba9c91c744b42ee9c5426ffabaf5b77491149a5e11d599e651a853ee7479
sourceBlobDigest: sha256:a3eaa13662f2b4a4aa664ac58eb10b691bfd2d014344aafd517a59870a2f9ffb
sourceRevisionDigest: sha256:736a0bb7db1ac8af43a17b38a66deef11b3354eb44f1dc1ffc9e997fc3c26542
sourceBlobDigest: sha256:e0136c6854d55043ebd9e6af584c90b17d9f9c878bb01cb84723db77cf29aa30
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:056567bdb077159d0c8691de9cd890fb73126c30dd88418e63643cb35a89095d
codeSamplesRevisionDigest: sha256:121cac27782bdcad21b444fd829fab81d150fab2e1440be816b1eab920e375fa
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.10"
version = "0.7.4"
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.10"
__version__: str = "0.7.4"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.768.0"
__user_agent__: str = "speakeasy-sdk/python 0.7.10 2.768.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 0.7.4 2.768.0 1.0.0 openrouter"
try:
if __package__ is not None:
@@ -70,7 +70,7 @@ class OpenResponsesReasoningTypedDict(TypedDict):
type: OpenResponsesReasoningType
id: str
summary: List[ReasoningSummaryTextTypedDict]
content: NotRequired[Nullable[List[ReasoningTextContentTypedDict]]]
content: NotRequired[List[ReasoningTextContentTypedDict]]
encrypted_content: NotRequired[Nullable[str]]
status: NotRequired[OpenResponsesReasoningStatusUnionTypedDict]
signature: NotRequired[Nullable[str]]
@@ -86,7 +86,7 @@ class OpenResponsesReasoning(BaseModel):
summary: List[ReasoningSummaryText]
content: OptionalNullable[List[ReasoningTextContent]] = UNSET
content: Optional[List[ReasoningTextContent]] = None
encrypted_content: OptionalNullable[str] = UNSET
@@ -111,7 +111,7 @@ class OpenResponsesReasoning(BaseModel):
"signature",
"format",
]
nullable_fields = ["content", "encrypted_content", "signature", "format"]
nullable_fields = ["encrypted_content", "signature", "format"]
null_default_fields = []
serialized = handler(self)
@@ -41,7 +41,6 @@ ProviderName = Union[
"Inception",
"Inceptron",
"InferenceNet",
"Ionstream",
"Infermatic",
"Io Net",
"Inflection",
@@ -71,7 +71,7 @@ class ResponsesOutputItemReasoningTypedDict(TypedDict):
type: ResponsesOutputItemReasoningType
id: str
summary: List[ReasoningSummaryTextTypedDict]
content: NotRequired[Nullable[List[ReasoningTextContentTypedDict]]]
content: NotRequired[List[ReasoningTextContentTypedDict]]
encrypted_content: NotRequired[Nullable[str]]
status: NotRequired[ResponsesOutputItemReasoningStatusUnionTypedDict]
signature: NotRequired[Nullable[str]]
@@ -89,7 +89,7 @@ class ResponsesOutputItemReasoning(BaseModel):
summary: List[ReasoningSummaryText]
content: OptionalNullable[List[ReasoningTextContent]] = UNSET
content: Optional[List[ReasoningTextContent]] = None
encrypted_content: OptionalNullable[str] = UNSET
@@ -116,7 +116,7 @@ class ResponsesOutputItemReasoning(BaseModel):
"signature",
"format",
]
nullable_fields = ["content", "encrypted_content", "signature", "format"]
nullable_fields = ["encrypted_content", "signature", "format"]
null_default_fields = []
serialized = handler(self)
@@ -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.10"
version = "0.7.4"
source = { editable = "." }
dependencies = [
{ name = "httpcore" },