mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
add open enums, server selection, update description
This commit is contained in:
+6
-4
@@ -1,12 +1,12 @@
|
||||
lockVersion: 2.0.0
|
||||
id: 03e733ff-14c6-48f8-87a5-37a1a4588594
|
||||
management:
|
||||
docChecksum: f629b0ca18ec064975608b5eea7aebfd
|
||||
docChecksum: 7849dd264d8d3676743d325682310ed7
|
||||
docVersion: 1.0.0
|
||||
speakeasyVersion: 1.617.1
|
||||
generationVersion: 2.701.8
|
||||
speakeasyVersion: 1.618.1
|
||||
generationVersion: 2.702.0
|
||||
releaseVersion: 0.1.0
|
||||
configChecksum: ee7ed66772b5663ad6d381d1b4142fe2
|
||||
configChecksum: 9b2fc6a03dd7103d87270af55bb29a50
|
||||
features:
|
||||
python:
|
||||
acceptHeaders: 3.0.0
|
||||
@@ -27,11 +27,13 @@ features:
|
||||
methodArguments: 1.0.2
|
||||
nameOverrides: 3.0.1
|
||||
nullables: 1.0.1
|
||||
openEnums: 1.0.1
|
||||
responseFormat: 1.0.1
|
||||
retries: 3.0.2
|
||||
sdkHooks: 1.1.0
|
||||
serverEvents: 1.0.9
|
||||
serverEventsSentinels: 0.1.0
|
||||
serverIDs: 3.0.0
|
||||
unions: 3.0.4
|
||||
generatedFiles:
|
||||
- .devcontainer/README.md
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ python:
|
||||
baseErrorName: OpenRouterError
|
||||
clientServerStatusCodesAsErrors: true
|
||||
defaultErrorName: OpenRouterDefaultError
|
||||
description: Python Client SDK Generated by Speakeasy.
|
||||
description: The OpenRouter Python SDK.
|
||||
enableCustomCodeRegions: true
|
||||
enumFormat: union
|
||||
envVarPrefix: OPENROUTER
|
||||
|
||||
@@ -12,6 +12,7 @@ info:
|
||||
url: https://opensource.org/licenses/MIT
|
||||
servers:
|
||||
- url: https://{provider_url}/api/v1
|
||||
x-speakeasy-server-id: production
|
||||
variables:
|
||||
provider_url:
|
||||
default: openrouter.ai
|
||||
@@ -77,6 +78,7 @@ components:
|
||||
type: string
|
||||
nullable: true
|
||||
format:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
nullable: true
|
||||
enum:
|
||||
@@ -103,6 +105,7 @@ components:
|
||||
type: string
|
||||
nullable: true
|
||||
format:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
nullable: true
|
||||
enum:
|
||||
@@ -133,6 +136,7 @@ components:
|
||||
type: string
|
||||
nullable: true
|
||||
format:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
nullable: true
|
||||
enum:
|
||||
@@ -351,6 +355,7 @@ components:
|
||||
type: object
|
||||
properties:
|
||||
finish_reason:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
nullable: true
|
||||
enum:
|
||||
@@ -541,6 +546,7 @@ components:
|
||||
delta:
|
||||
$ref: '#/components/schemas/ChatCompletionChunkChoiceDelta'
|
||||
finish_reason:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
nullable: true
|
||||
enum:
|
||||
@@ -649,6 +655,7 @@ components:
|
||||
type: string
|
||||
description: Base64 encoded audio data
|
||||
format:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
enum:
|
||||
- wav
|
||||
|
||||
@@ -12,6 +12,7 @@ info:
|
||||
url: https://opensource.org/licenses/MIT
|
||||
servers:
|
||||
- url: https://{provider_url}/api/v1
|
||||
x-speakeasy-server-id: production
|
||||
variables:
|
||||
provider_url:
|
||||
default: openrouter.ai
|
||||
@@ -77,6 +78,7 @@ components:
|
||||
type: string
|
||||
nullable: true
|
||||
format:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
nullable: true
|
||||
enum:
|
||||
@@ -103,6 +105,7 @@ components:
|
||||
type: string
|
||||
nullable: true
|
||||
format:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
nullable: true
|
||||
enum:
|
||||
@@ -133,6 +136,7 @@ components:
|
||||
type: string
|
||||
nullable: true
|
||||
format:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
nullable: true
|
||||
enum:
|
||||
@@ -351,6 +355,7 @@ components:
|
||||
type: object
|
||||
properties:
|
||||
finish_reason:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
nullable: true
|
||||
enum:
|
||||
@@ -541,6 +546,7 @@ components:
|
||||
delta:
|
||||
$ref: '#/components/schemas/ChatCompletionChunkChoiceDelta'
|
||||
finish_reason:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
nullable: true
|
||||
enum:
|
||||
@@ -649,6 +655,7 @@ components:
|
||||
type: string
|
||||
description: Base64 encoded audio data
|
||||
format:
|
||||
x-speakeasy-unknown-values: allow
|
||||
type: string
|
||||
enum:
|
||||
- wav
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
speakeasyVersion: 1.617.1
|
||||
speakeasyVersion: 1.618.1
|
||||
sources:
|
||||
OpenRouter Chat Completions API:
|
||||
sourceNamespace: open-router-chat-completions-api
|
||||
sourceRevisionDigest: sha256:a7746404e672bbb6dcd8354532d0c627d24522844c39d58011d4cd9c7e8ebd20
|
||||
sourceBlobDigest: sha256:67c793fef9c039a2c351fc6ba7ed9a6119059023fe3fbd1022645d7494c2c63c
|
||||
sourceRevisionDigest: sha256:74ae52780983745871d33efc788abba37d1d8b271f358771b180ddb8546d6f7f
|
||||
sourceBlobDigest: sha256:2fd2132e64b77adae1fc045512364d6517f47916c553e757226e5b9012d2170d
|
||||
tags:
|
||||
- latest
|
||||
- 1.0.0
|
||||
@@ -11,10 +11,10 @@ targets:
|
||||
open-router:
|
||||
source: OpenRouter Chat Completions API
|
||||
sourceNamespace: open-router-chat-completions-api
|
||||
sourceRevisionDigest: sha256:a7746404e672bbb6dcd8354532d0c627d24522844c39d58011d4cd9c7e8ebd20
|
||||
sourceBlobDigest: sha256:67c793fef9c039a2c351fc6ba7ed9a6119059023fe3fbd1022645d7494c2c63c
|
||||
sourceRevisionDigest: sha256:74ae52780983745871d33efc788abba37d1d8b271f358771b180ddb8546d6f7f
|
||||
sourceBlobDigest: sha256:2fd2132e64b77adae1fc045512364d6517f47916c553e757226e5b9012d2170d
|
||||
codeSamplesNamespace: open-router-chat-completions-api-python-code-samples
|
||||
codeSamplesRevisionDigest: sha256:fb054934c4d0de58a48ca8cdfde7b4210f71c425fb9dfad02e8824b8a1848774
|
||||
codeSamplesRevisionDigest: sha256:fd8ed35536e452d20ff16d6c33d311ebd405bf7e0f9188cfafcba4cd81539d96
|
||||
workflow:
|
||||
workflowVersion: 1.0.0
|
||||
speakeasyVersion: latest
|
||||
|
||||
Reference in New Issue
Block a user