mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
This commit is contained in:
+77
-77
@@ -36,7 +36,7 @@ components:
|
|||||||
required: [data]
|
required: [data]
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
$ref: "#/components/schemas/ChatCompletionChunk"
|
$ref: '#/components/schemas/ChatCompletionChunk'
|
||||||
ChatCompletionMessageToolCall:
|
ChatCompletionMessageToolCall:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -147,15 +147,15 @@ components:
|
|||||||
description: Text reasoning detail
|
description: Text reasoning detail
|
||||||
ReasoningDetail:
|
ReasoningDetail:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/ReasoningDetailSummary"
|
- $ref: '#/components/schemas/ReasoningDetailSummary'
|
||||||
- $ref: "#/components/schemas/ReasoningDetailEncrypted"
|
- $ref: '#/components/schemas/ReasoningDetailEncrypted'
|
||||||
- $ref: "#/components/schemas/ReasoningDetailText"
|
- $ref: '#/components/schemas/ReasoningDetailText'
|
||||||
discriminator:
|
discriminator:
|
||||||
propertyName: type
|
propertyName: type
|
||||||
mapping:
|
mapping:
|
||||||
reasoning.summary: "#/components/schemas/ReasoningDetailSummary"
|
reasoning.summary: '#/components/schemas/ReasoningDetailSummary'
|
||||||
reasoning.encrypted: "#/components/schemas/ReasoningDetailEncrypted"
|
reasoning.encrypted: '#/components/schemas/ReasoningDetailEncrypted'
|
||||||
reasoning.text: "#/components/schemas/ReasoningDetailText"
|
reasoning.text: '#/components/schemas/ReasoningDetailText'
|
||||||
description: Reasoning detail information
|
description: Reasoning detail information
|
||||||
FileAnnotationDetail:
|
FileAnnotationDetail:
|
||||||
type: object
|
type: object
|
||||||
@@ -240,13 +240,13 @@ components:
|
|||||||
description: URL citation annotation
|
description: URL citation annotation
|
||||||
AnnotationDetail:
|
AnnotationDetail:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/FileAnnotationDetail"
|
- $ref: '#/components/schemas/FileAnnotationDetail'
|
||||||
- $ref: "#/components/schemas/URLCitationAnnotationDetail"
|
- $ref: '#/components/schemas/URLCitationAnnotationDetail'
|
||||||
discriminator:
|
discriminator:
|
||||||
propertyName: type
|
propertyName: type
|
||||||
mapping:
|
mapping:
|
||||||
file: "#/components/schemas/FileAnnotationDetail"
|
file: '#/components/schemas/FileAnnotationDetail'
|
||||||
url_citation: "#/components/schemas/URLCitationAnnotationDetail"
|
url_citation: '#/components/schemas/URLCitationAnnotationDetail'
|
||||||
description: Annotation information
|
description: Annotation information
|
||||||
ChatCompletionMessage:
|
ChatCompletionMessage:
|
||||||
type: object
|
type: object
|
||||||
@@ -270,17 +270,17 @@ components:
|
|||||||
tool_calls:
|
tool_calls:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionMessageToolCall"
|
$ref: '#/components/schemas/ChatCompletionMessageToolCall'
|
||||||
description: Tool calls made by the assistant
|
description: Tool calls made by the assistant
|
||||||
reasoning_details:
|
reasoning_details:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ReasoningDetail"
|
$ref: '#/components/schemas/ReasoningDetail'
|
||||||
description: Reasoning details delta to send reasoning details back to upstream
|
description: Reasoning details delta to send reasoning details back to upstream
|
||||||
annotations:
|
annotations:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/AnnotationDetail"
|
$ref: '#/components/schemas/AnnotationDetail'
|
||||||
description: Annotations delta to send annotations back to upstream
|
description: Annotations delta to send annotations back to upstream
|
||||||
required:
|
required:
|
||||||
- role
|
- role
|
||||||
@@ -335,13 +335,13 @@ components:
|
|||||||
type: array
|
type: array
|
||||||
nullable: true
|
nullable: true
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionTokenLogprob"
|
$ref: '#/components/schemas/ChatCompletionTokenLogprob'
|
||||||
description: Log probabilities for content tokens
|
description: Log probabilities for content tokens
|
||||||
refusal:
|
refusal:
|
||||||
type: array
|
type: array
|
||||||
nullable: true
|
nullable: true
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionTokenLogprob"
|
$ref: '#/components/schemas/ChatCompletionTokenLogprob'
|
||||||
description: Log probabilities for refusal tokens
|
description: Log probabilities for refusal tokens
|
||||||
required:
|
required:
|
||||||
- content
|
- content
|
||||||
@@ -364,9 +364,9 @@ components:
|
|||||||
type: number
|
type: number
|
||||||
description: Choice index
|
description: Choice index
|
||||||
message:
|
message:
|
||||||
$ref: "#/components/schemas/ChatCompletionMessage"
|
$ref: '#/components/schemas/ChatCompletionMessage'
|
||||||
logprobs:
|
logprobs:
|
||||||
$ref: "#/components/schemas/ChatCompletionTokenLogprobs"
|
$ref: '#/components/schemas/ChatCompletionTokenLogprobs'
|
||||||
required:
|
required:
|
||||||
- finish_reason
|
- finish_reason
|
||||||
- index
|
- index
|
||||||
@@ -424,7 +424,7 @@ components:
|
|||||||
choices:
|
choices:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionChoice"
|
$ref: '#/components/schemas/ChatCompletionChoice'
|
||||||
description: List of completion choices
|
description: List of completion choices
|
||||||
created:
|
created:
|
||||||
type: number
|
type: number
|
||||||
@@ -441,7 +441,7 @@ components:
|
|||||||
description: System fingerprint
|
description: System fingerprint
|
||||||
nullable: true
|
nullable: true
|
||||||
usage:
|
usage:
|
||||||
$ref: "#/components/schemas/CompletionUsage"
|
$ref: '#/components/schemas/CompletionUsage'
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
- choices
|
- choices
|
||||||
@@ -522,24 +522,24 @@ components:
|
|||||||
tool_calls:
|
tool_calls:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionChunkChoiceDeltaToolCall"
|
$ref: '#/components/schemas/ChatCompletionChunkChoiceDeltaToolCall'
|
||||||
description: Tool calls delta
|
description: Tool calls delta
|
||||||
reasoning_details:
|
reasoning_details:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ReasoningDetail"
|
$ref: '#/components/schemas/ReasoningDetail'
|
||||||
description: Reasoning details delta to send reasoning details back to upstream
|
description: Reasoning details delta to send reasoning details back to upstream
|
||||||
annotations:
|
annotations:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/AnnotationDetail"
|
$ref: '#/components/schemas/AnnotationDetail'
|
||||||
description: Annotations delta to send annotations back to upstream
|
description: Annotations delta to send annotations back to upstream
|
||||||
description: Delta changes in streaming response
|
description: Delta changes in streaming response
|
||||||
ChatCompletionChunkChoice:
|
ChatCompletionChunkChoice:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
delta:
|
delta:
|
||||||
$ref: "#/components/schemas/ChatCompletionChunkChoiceDelta"
|
$ref: '#/components/schemas/ChatCompletionChunkChoiceDelta'
|
||||||
finish_reason:
|
finish_reason:
|
||||||
type: string
|
type: string
|
||||||
nullable: true
|
nullable: true
|
||||||
@@ -552,7 +552,7 @@ components:
|
|||||||
index:
|
index:
|
||||||
type: number
|
type: number
|
||||||
logprobs:
|
logprobs:
|
||||||
$ref: "#/components/schemas/ChatCompletionTokenLogprobs"
|
$ref: '#/components/schemas/ChatCompletionTokenLogprobs'
|
||||||
required:
|
required:
|
||||||
- delta
|
- delta
|
||||||
- finish_reason
|
- finish_reason
|
||||||
@@ -566,7 +566,7 @@ components:
|
|||||||
choices:
|
choices:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionChunkChoice"
|
$ref: '#/components/schemas/ChatCompletionChunkChoice'
|
||||||
created:
|
created:
|
||||||
type: number
|
type: number
|
||||||
model:
|
model:
|
||||||
@@ -579,7 +579,7 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
nullable: true
|
nullable: true
|
||||||
usage:
|
usage:
|
||||||
$ref: "#/components/schemas/CompletionUsage"
|
$ref: '#/components/schemas/CompletionUsage'
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
- choices
|
- choices
|
||||||
@@ -621,7 +621,7 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
url:
|
url:
|
||||||
type: string
|
type: string
|
||||||
description: "URL of the image (data: URLs supported)"
|
description: 'URL of the image (data: URLs supported)'
|
||||||
detail:
|
detail:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
@@ -668,15 +668,15 @@ components:
|
|||||||
description: Audio input content part
|
description: Audio input content part
|
||||||
ChatCompletionContentPart:
|
ChatCompletionContentPart:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/ChatCompletionContentPartText"
|
- $ref: '#/components/schemas/ChatCompletionContentPartText'
|
||||||
- $ref: "#/components/schemas/ChatCompletionContentPartImage"
|
- $ref: '#/components/schemas/ChatCompletionContentPartImage'
|
||||||
- $ref: "#/components/schemas/ChatCompletionContentPartAudio"
|
- $ref: '#/components/schemas/ChatCompletionContentPartAudio'
|
||||||
discriminator:
|
discriminator:
|
||||||
propertyName: type
|
propertyName: type
|
||||||
mapping:
|
mapping:
|
||||||
text: "#/components/schemas/ChatCompletionContentPartText"
|
text: '#/components/schemas/ChatCompletionContentPartText'
|
||||||
image_url: "#/components/schemas/ChatCompletionContentPartImage"
|
image_url: '#/components/schemas/ChatCompletionContentPartImage'
|
||||||
input_audio: "#/components/schemas/ChatCompletionContentPartAudio"
|
input_audio: '#/components/schemas/ChatCompletionContentPartAudio'
|
||||||
description: Content part for chat completion messages
|
description: Content part for chat completion messages
|
||||||
ChatCompletionSystemMessageParam:
|
ChatCompletionSystemMessageParam:
|
||||||
type: object
|
type: object
|
||||||
@@ -690,7 +690,7 @@ components:
|
|||||||
- type: string
|
- type: string
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionContentPartText"
|
$ref: '#/components/schemas/ChatCompletionContentPartText'
|
||||||
description: System message content
|
description: System message content
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
@@ -711,7 +711,7 @@ components:
|
|||||||
- type: string
|
- type: string
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionContentPart"
|
$ref: '#/components/schemas/ChatCompletionContentPart'
|
||||||
description: User message content
|
description: User message content
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
@@ -732,7 +732,7 @@ components:
|
|||||||
- type: string
|
- type: string
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionContentPart"
|
$ref: '#/components/schemas/ChatCompletionContentPart'
|
||||||
- nullable: true
|
- nullable: true
|
||||||
description: Assistant message content
|
description: Assistant message content
|
||||||
name:
|
name:
|
||||||
@@ -741,7 +741,7 @@ components:
|
|||||||
tool_calls:
|
tool_calls:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionMessageToolCall"
|
$ref: '#/components/schemas/ChatCompletionMessageToolCall'
|
||||||
description: Tool calls made by the assistant
|
description: Tool calls made by the assistant
|
||||||
refusal:
|
refusal:
|
||||||
type: string
|
type: string
|
||||||
@@ -762,7 +762,7 @@ components:
|
|||||||
- type: string
|
- type: string
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionContentPart"
|
$ref: '#/components/schemas/ChatCompletionContentPart'
|
||||||
description: Tool response content
|
description: Tool response content
|
||||||
tool_call_id:
|
tool_call_id:
|
||||||
type: string
|
type: string
|
||||||
@@ -774,17 +774,17 @@ components:
|
|||||||
description: Tool response message
|
description: Tool response message
|
||||||
ChatCompletionMessageParam:
|
ChatCompletionMessageParam:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/ChatCompletionSystemMessageParam"
|
- $ref: '#/components/schemas/ChatCompletionSystemMessageParam'
|
||||||
- $ref: "#/components/schemas/ChatCompletionUserMessageParam"
|
- $ref: '#/components/schemas/ChatCompletionUserMessageParam'
|
||||||
- $ref: "#/components/schemas/ChatCompletionAssistantMessageParam"
|
- $ref: '#/components/schemas/ChatCompletionAssistantMessageParam'
|
||||||
- $ref: "#/components/schemas/ChatCompletionToolMessageParam"
|
- $ref: '#/components/schemas/ChatCompletionToolMessageParam'
|
||||||
discriminator:
|
discriminator:
|
||||||
propertyName: role
|
propertyName: role
|
||||||
mapping:
|
mapping:
|
||||||
system: "#/components/schemas/ChatCompletionSystemMessageParam"
|
system: '#/components/schemas/ChatCompletionSystemMessageParam'
|
||||||
user: "#/components/schemas/ChatCompletionUserMessageParam"
|
user: '#/components/schemas/ChatCompletionUserMessageParam'
|
||||||
assistant: "#/components/schemas/ChatCompletionAssistantMessageParam"
|
assistant: '#/components/schemas/ChatCompletionAssistantMessageParam'
|
||||||
tool: "#/components/schemas/ChatCompletionToolMessageParam"
|
tool: '#/components/schemas/ChatCompletionToolMessageParam'
|
||||||
description: Chat completion message with role-based discrimination
|
description: Chat completion message with role-based discrimination
|
||||||
ChatCompletionTool:
|
ChatCompletionTool:
|
||||||
type: object
|
type: object
|
||||||
@@ -848,7 +848,7 @@ components:
|
|||||||
- type: string
|
- type: string
|
||||||
enum:
|
enum:
|
||||||
- required
|
- required
|
||||||
- $ref: "#/components/schemas/ChatCompletionNamedToolChoice"
|
- $ref: '#/components/schemas/ChatCompletionNamedToolChoice'
|
||||||
description: Tool choice configuration
|
description: Tool choice configuration
|
||||||
ChatCompletionStreamOptions:
|
ChatCompletionStreamOptions:
|
||||||
type: object
|
type: object
|
||||||
@@ -867,7 +867,7 @@ components:
|
|||||||
messages:
|
messages:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionMessageParam"
|
$ref: '#/components/schemas/ChatCompletionMessageParam'
|
||||||
minItems: 1
|
minItems: 1
|
||||||
description: List of messages for the conversation
|
description: List of messages for the conversation
|
||||||
example:
|
example:
|
||||||
@@ -980,7 +980,7 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: Schema description for the model
|
description: Schema description for the model
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ResponseFormatJsonSchemaSchema"
|
$ref: '#/components/schemas/ResponseFormatJsonSchemaSchema'
|
||||||
strict:
|
strict:
|
||||||
type: boolean
|
type: boolean
|
||||||
nullable: true
|
nullable: true
|
||||||
@@ -1034,7 +1034,7 @@ components:
|
|||||||
description: Enable streaming response
|
description: Enable streaming response
|
||||||
stream_options:
|
stream_options:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "#/components/schemas/ChatCompletionStreamOptions"
|
- $ref: '#/components/schemas/ChatCompletionStreamOptions'
|
||||||
- nullable: true
|
- nullable: true
|
||||||
temperature:
|
temperature:
|
||||||
type: number
|
type: number
|
||||||
@@ -1044,11 +1044,11 @@ components:
|
|||||||
default: 1
|
default: 1
|
||||||
description: Sampling temperature (0-2)
|
description: Sampling temperature (0-2)
|
||||||
tool_choice:
|
tool_choice:
|
||||||
$ref: "#/components/schemas/ChatCompletionToolChoiceOption"
|
$ref: '#/components/schemas/ChatCompletionToolChoiceOption'
|
||||||
tools:
|
tools:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionTool"
|
$ref: '#/components/schemas/ChatCompletionTool'
|
||||||
description: Available tools for function calling
|
description: Available tools for function calling
|
||||||
top_p:
|
top_p:
|
||||||
type: number
|
type: number
|
||||||
@@ -1509,7 +1509,7 @@ components:
|
|||||||
- true
|
- true
|
||||||
default: true
|
default: true
|
||||||
description: Enable streaming response
|
description: Enable streaming response
|
||||||
- $ref: "#/components/schemas/ChatCompletionCreateParams"
|
- $ref: '#/components/schemas/ChatCompletionCreateParams'
|
||||||
parameters: {}
|
parameters: {}
|
||||||
paths:
|
paths:
|
||||||
/chat/completions:
|
/chat/completions:
|
||||||
@@ -1525,39 +1525,39 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionCreateParams"
|
$ref: '#/components/schemas/ChatCompletionCreateParams'
|
||||||
responses:
|
responses:
|
||||||
"200":
|
'200':
|
||||||
description: Successful chat completion response
|
description: Successful chat completion response
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletion"
|
$ref: '#/components/schemas/ChatCompletion'
|
||||||
description: Non-streaming response when stream=false
|
description: Non-streaming response when stream=false
|
||||||
"400":
|
'400':
|
||||||
description: Bad request - invalid parameters
|
description: Bad request - invalid parameters
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"401":
|
'401':
|
||||||
description: Unauthorized - invalid API key
|
description: Unauthorized - invalid API key
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"429":
|
'429':
|
||||||
description: Too many requests - rate limit exceeded
|
description: Too many requests - rate limit exceeded
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"500":
|
'500':
|
||||||
description: Internal server error
|
description: Internal server error
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
x-speakeasy-name-override: complete
|
x-speakeasy-name-override: complete
|
||||||
/chat/completions#stream:
|
/chat/completions#stream:
|
||||||
post:
|
post:
|
||||||
@@ -1572,41 +1572,41 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatStreamCompletionCreateParams"
|
$ref: '#/components/schemas/ChatStreamCompletionCreateParams'
|
||||||
responses:
|
responses:
|
||||||
"200":
|
'200':
|
||||||
description: Successful chat completion response
|
description: Successful chat completion response
|
||||||
content:
|
content:
|
||||||
text/event-stream:
|
text/event-stream:
|
||||||
x-speakeasy-sse-sentinel: "[DONE]"
|
x-speakeasy-sse-sentinel: '[DONE]'
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
required: [data]
|
required: [data]
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
$ref: "#/components/schemas/ChatCompletionChunk"
|
$ref: '#/components/schemas/ChatCompletionChunk'
|
||||||
"400":
|
'400':
|
||||||
description: Bad request - invalid parameters
|
description: Bad request - invalid parameters
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"401":
|
'401':
|
||||||
description: Unauthorized - invalid API key
|
description: Unauthorized - invalid API key
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"429":
|
'429':
|
||||||
description: Too many requests - rate limit exceeded
|
description: Too many requests - rate limit exceeded
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"500":
|
'500':
|
||||||
description: Internal server error
|
description: Internal server error
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
x-speakeasy-name-override: completeStream
|
x-speakeasy-name-override: completeStream
|
||||||
|
|||||||
+77
-77
@@ -36,7 +36,7 @@ components:
|
|||||||
required: [data]
|
required: [data]
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
$ref: "#/components/schemas/ChatCompletionChunk"
|
$ref: '#/components/schemas/ChatCompletionChunk'
|
||||||
ChatCompletionMessageToolCall:
|
ChatCompletionMessageToolCall:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -147,15 +147,15 @@ components:
|
|||||||
description: Text reasoning detail
|
description: Text reasoning detail
|
||||||
ReasoningDetail:
|
ReasoningDetail:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/ReasoningDetailSummary"
|
- $ref: '#/components/schemas/ReasoningDetailSummary'
|
||||||
- $ref: "#/components/schemas/ReasoningDetailEncrypted"
|
- $ref: '#/components/schemas/ReasoningDetailEncrypted'
|
||||||
- $ref: "#/components/schemas/ReasoningDetailText"
|
- $ref: '#/components/schemas/ReasoningDetailText'
|
||||||
discriminator:
|
discriminator:
|
||||||
propertyName: type
|
propertyName: type
|
||||||
mapping:
|
mapping:
|
||||||
reasoning.summary: "#/components/schemas/ReasoningDetailSummary"
|
reasoning.summary: '#/components/schemas/ReasoningDetailSummary'
|
||||||
reasoning.encrypted: "#/components/schemas/ReasoningDetailEncrypted"
|
reasoning.encrypted: '#/components/schemas/ReasoningDetailEncrypted'
|
||||||
reasoning.text: "#/components/schemas/ReasoningDetailText"
|
reasoning.text: '#/components/schemas/ReasoningDetailText'
|
||||||
description: Reasoning detail information
|
description: Reasoning detail information
|
||||||
FileAnnotationDetail:
|
FileAnnotationDetail:
|
||||||
type: object
|
type: object
|
||||||
@@ -240,13 +240,13 @@ components:
|
|||||||
description: URL citation annotation
|
description: URL citation annotation
|
||||||
AnnotationDetail:
|
AnnotationDetail:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/FileAnnotationDetail"
|
- $ref: '#/components/schemas/FileAnnotationDetail'
|
||||||
- $ref: "#/components/schemas/URLCitationAnnotationDetail"
|
- $ref: '#/components/schemas/URLCitationAnnotationDetail'
|
||||||
discriminator:
|
discriminator:
|
||||||
propertyName: type
|
propertyName: type
|
||||||
mapping:
|
mapping:
|
||||||
file: "#/components/schemas/FileAnnotationDetail"
|
file: '#/components/schemas/FileAnnotationDetail'
|
||||||
url_citation: "#/components/schemas/URLCitationAnnotationDetail"
|
url_citation: '#/components/schemas/URLCitationAnnotationDetail'
|
||||||
description: Annotation information
|
description: Annotation information
|
||||||
ChatCompletionMessage:
|
ChatCompletionMessage:
|
||||||
type: object
|
type: object
|
||||||
@@ -270,17 +270,17 @@ components:
|
|||||||
tool_calls:
|
tool_calls:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionMessageToolCall"
|
$ref: '#/components/schemas/ChatCompletionMessageToolCall'
|
||||||
description: Tool calls made by the assistant
|
description: Tool calls made by the assistant
|
||||||
reasoning_details:
|
reasoning_details:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ReasoningDetail"
|
$ref: '#/components/schemas/ReasoningDetail'
|
||||||
description: Reasoning details delta to send reasoning details back to upstream
|
description: Reasoning details delta to send reasoning details back to upstream
|
||||||
annotations:
|
annotations:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/AnnotationDetail"
|
$ref: '#/components/schemas/AnnotationDetail'
|
||||||
description: Annotations delta to send annotations back to upstream
|
description: Annotations delta to send annotations back to upstream
|
||||||
required:
|
required:
|
||||||
- role
|
- role
|
||||||
@@ -335,13 +335,13 @@ components:
|
|||||||
type: array
|
type: array
|
||||||
nullable: true
|
nullable: true
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionTokenLogprob"
|
$ref: '#/components/schemas/ChatCompletionTokenLogprob'
|
||||||
description: Log probabilities for content tokens
|
description: Log probabilities for content tokens
|
||||||
refusal:
|
refusal:
|
||||||
type: array
|
type: array
|
||||||
nullable: true
|
nullable: true
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionTokenLogprob"
|
$ref: '#/components/schemas/ChatCompletionTokenLogprob'
|
||||||
description: Log probabilities for refusal tokens
|
description: Log probabilities for refusal tokens
|
||||||
required:
|
required:
|
||||||
- content
|
- content
|
||||||
@@ -364,9 +364,9 @@ components:
|
|||||||
type: number
|
type: number
|
||||||
description: Choice index
|
description: Choice index
|
||||||
message:
|
message:
|
||||||
$ref: "#/components/schemas/ChatCompletionMessage"
|
$ref: '#/components/schemas/ChatCompletionMessage'
|
||||||
logprobs:
|
logprobs:
|
||||||
$ref: "#/components/schemas/ChatCompletionTokenLogprobs"
|
$ref: '#/components/schemas/ChatCompletionTokenLogprobs'
|
||||||
required:
|
required:
|
||||||
- finish_reason
|
- finish_reason
|
||||||
- index
|
- index
|
||||||
@@ -424,7 +424,7 @@ components:
|
|||||||
choices:
|
choices:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionChoice"
|
$ref: '#/components/schemas/ChatCompletionChoice'
|
||||||
description: List of completion choices
|
description: List of completion choices
|
||||||
created:
|
created:
|
||||||
type: number
|
type: number
|
||||||
@@ -441,7 +441,7 @@ components:
|
|||||||
description: System fingerprint
|
description: System fingerprint
|
||||||
nullable: true
|
nullable: true
|
||||||
usage:
|
usage:
|
||||||
$ref: "#/components/schemas/CompletionUsage"
|
$ref: '#/components/schemas/CompletionUsage'
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
- choices
|
- choices
|
||||||
@@ -522,24 +522,24 @@ components:
|
|||||||
tool_calls:
|
tool_calls:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionChunkChoiceDeltaToolCall"
|
$ref: '#/components/schemas/ChatCompletionChunkChoiceDeltaToolCall'
|
||||||
description: Tool calls delta
|
description: Tool calls delta
|
||||||
reasoning_details:
|
reasoning_details:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ReasoningDetail"
|
$ref: '#/components/schemas/ReasoningDetail'
|
||||||
description: Reasoning details delta to send reasoning details back to upstream
|
description: Reasoning details delta to send reasoning details back to upstream
|
||||||
annotations:
|
annotations:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/AnnotationDetail"
|
$ref: '#/components/schemas/AnnotationDetail'
|
||||||
description: Annotations delta to send annotations back to upstream
|
description: Annotations delta to send annotations back to upstream
|
||||||
description: Delta changes in streaming response
|
description: Delta changes in streaming response
|
||||||
ChatCompletionChunkChoice:
|
ChatCompletionChunkChoice:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
delta:
|
delta:
|
||||||
$ref: "#/components/schemas/ChatCompletionChunkChoiceDelta"
|
$ref: '#/components/schemas/ChatCompletionChunkChoiceDelta'
|
||||||
finish_reason:
|
finish_reason:
|
||||||
type: string
|
type: string
|
||||||
nullable: true
|
nullable: true
|
||||||
@@ -552,7 +552,7 @@ components:
|
|||||||
index:
|
index:
|
||||||
type: number
|
type: number
|
||||||
logprobs:
|
logprobs:
|
||||||
$ref: "#/components/schemas/ChatCompletionTokenLogprobs"
|
$ref: '#/components/schemas/ChatCompletionTokenLogprobs'
|
||||||
required:
|
required:
|
||||||
- delta
|
- delta
|
||||||
- finish_reason
|
- finish_reason
|
||||||
@@ -566,7 +566,7 @@ components:
|
|||||||
choices:
|
choices:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionChunkChoice"
|
$ref: '#/components/schemas/ChatCompletionChunkChoice'
|
||||||
created:
|
created:
|
||||||
type: number
|
type: number
|
||||||
model:
|
model:
|
||||||
@@ -579,7 +579,7 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
nullable: true
|
nullable: true
|
||||||
usage:
|
usage:
|
||||||
$ref: "#/components/schemas/CompletionUsage"
|
$ref: '#/components/schemas/CompletionUsage'
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
- choices
|
- choices
|
||||||
@@ -621,7 +621,7 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
url:
|
url:
|
||||||
type: string
|
type: string
|
||||||
description: "URL of the image (data: URLs supported)"
|
description: 'URL of the image (data: URLs supported)'
|
||||||
detail:
|
detail:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
@@ -668,15 +668,15 @@ components:
|
|||||||
description: Audio input content part
|
description: Audio input content part
|
||||||
ChatCompletionContentPart:
|
ChatCompletionContentPart:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/ChatCompletionContentPartText"
|
- $ref: '#/components/schemas/ChatCompletionContentPartText'
|
||||||
- $ref: "#/components/schemas/ChatCompletionContentPartImage"
|
- $ref: '#/components/schemas/ChatCompletionContentPartImage'
|
||||||
- $ref: "#/components/schemas/ChatCompletionContentPartAudio"
|
- $ref: '#/components/schemas/ChatCompletionContentPartAudio'
|
||||||
discriminator:
|
discriminator:
|
||||||
propertyName: type
|
propertyName: type
|
||||||
mapping:
|
mapping:
|
||||||
text: "#/components/schemas/ChatCompletionContentPartText"
|
text: '#/components/schemas/ChatCompletionContentPartText'
|
||||||
image_url: "#/components/schemas/ChatCompletionContentPartImage"
|
image_url: '#/components/schemas/ChatCompletionContentPartImage'
|
||||||
input_audio: "#/components/schemas/ChatCompletionContentPartAudio"
|
input_audio: '#/components/schemas/ChatCompletionContentPartAudio'
|
||||||
description: Content part for chat completion messages
|
description: Content part for chat completion messages
|
||||||
ChatCompletionSystemMessageParam:
|
ChatCompletionSystemMessageParam:
|
||||||
type: object
|
type: object
|
||||||
@@ -690,7 +690,7 @@ components:
|
|||||||
- type: string
|
- type: string
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionContentPartText"
|
$ref: '#/components/schemas/ChatCompletionContentPartText'
|
||||||
description: System message content
|
description: System message content
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
@@ -711,7 +711,7 @@ components:
|
|||||||
- type: string
|
- type: string
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionContentPart"
|
$ref: '#/components/schemas/ChatCompletionContentPart'
|
||||||
description: User message content
|
description: User message content
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
@@ -732,7 +732,7 @@ components:
|
|||||||
- type: string
|
- type: string
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionContentPart"
|
$ref: '#/components/schemas/ChatCompletionContentPart'
|
||||||
- nullable: true
|
- nullable: true
|
||||||
description: Assistant message content
|
description: Assistant message content
|
||||||
name:
|
name:
|
||||||
@@ -741,7 +741,7 @@ components:
|
|||||||
tool_calls:
|
tool_calls:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionMessageToolCall"
|
$ref: '#/components/schemas/ChatCompletionMessageToolCall'
|
||||||
description: Tool calls made by the assistant
|
description: Tool calls made by the assistant
|
||||||
refusal:
|
refusal:
|
||||||
type: string
|
type: string
|
||||||
@@ -762,7 +762,7 @@ components:
|
|||||||
- type: string
|
- type: string
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionContentPart"
|
$ref: '#/components/schemas/ChatCompletionContentPart'
|
||||||
description: Tool response content
|
description: Tool response content
|
||||||
tool_call_id:
|
tool_call_id:
|
||||||
type: string
|
type: string
|
||||||
@@ -774,17 +774,17 @@ components:
|
|||||||
description: Tool response message
|
description: Tool response message
|
||||||
ChatCompletionMessageParam:
|
ChatCompletionMessageParam:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/ChatCompletionSystemMessageParam"
|
- $ref: '#/components/schemas/ChatCompletionSystemMessageParam'
|
||||||
- $ref: "#/components/schemas/ChatCompletionUserMessageParam"
|
- $ref: '#/components/schemas/ChatCompletionUserMessageParam'
|
||||||
- $ref: "#/components/schemas/ChatCompletionAssistantMessageParam"
|
- $ref: '#/components/schemas/ChatCompletionAssistantMessageParam'
|
||||||
- $ref: "#/components/schemas/ChatCompletionToolMessageParam"
|
- $ref: '#/components/schemas/ChatCompletionToolMessageParam'
|
||||||
discriminator:
|
discriminator:
|
||||||
propertyName: role
|
propertyName: role
|
||||||
mapping:
|
mapping:
|
||||||
system: "#/components/schemas/ChatCompletionSystemMessageParam"
|
system: '#/components/schemas/ChatCompletionSystemMessageParam'
|
||||||
user: "#/components/schemas/ChatCompletionUserMessageParam"
|
user: '#/components/schemas/ChatCompletionUserMessageParam'
|
||||||
assistant: "#/components/schemas/ChatCompletionAssistantMessageParam"
|
assistant: '#/components/schemas/ChatCompletionAssistantMessageParam'
|
||||||
tool: "#/components/schemas/ChatCompletionToolMessageParam"
|
tool: '#/components/schemas/ChatCompletionToolMessageParam'
|
||||||
description: Chat completion message with role-based discrimination
|
description: Chat completion message with role-based discrimination
|
||||||
ChatCompletionTool:
|
ChatCompletionTool:
|
||||||
type: object
|
type: object
|
||||||
@@ -848,7 +848,7 @@ components:
|
|||||||
- type: string
|
- type: string
|
||||||
enum:
|
enum:
|
||||||
- required
|
- required
|
||||||
- $ref: "#/components/schemas/ChatCompletionNamedToolChoice"
|
- $ref: '#/components/schemas/ChatCompletionNamedToolChoice'
|
||||||
description: Tool choice configuration
|
description: Tool choice configuration
|
||||||
ChatCompletionStreamOptions:
|
ChatCompletionStreamOptions:
|
||||||
type: object
|
type: object
|
||||||
@@ -867,7 +867,7 @@ components:
|
|||||||
messages:
|
messages:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionMessageParam"
|
$ref: '#/components/schemas/ChatCompletionMessageParam'
|
||||||
minItems: 1
|
minItems: 1
|
||||||
description: List of messages for the conversation
|
description: List of messages for the conversation
|
||||||
example:
|
example:
|
||||||
@@ -980,7 +980,7 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: Schema description for the model
|
description: Schema description for the model
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ResponseFormatJsonSchemaSchema"
|
$ref: '#/components/schemas/ResponseFormatJsonSchemaSchema'
|
||||||
strict:
|
strict:
|
||||||
type: boolean
|
type: boolean
|
||||||
nullable: true
|
nullable: true
|
||||||
@@ -1034,7 +1034,7 @@ components:
|
|||||||
description: Enable streaming response
|
description: Enable streaming response
|
||||||
stream_options:
|
stream_options:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "#/components/schemas/ChatCompletionStreamOptions"
|
- $ref: '#/components/schemas/ChatCompletionStreamOptions'
|
||||||
- nullable: true
|
- nullable: true
|
||||||
temperature:
|
temperature:
|
||||||
type: number
|
type: number
|
||||||
@@ -1044,11 +1044,11 @@ components:
|
|||||||
default: 1
|
default: 1
|
||||||
description: Sampling temperature (0-2)
|
description: Sampling temperature (0-2)
|
||||||
tool_choice:
|
tool_choice:
|
||||||
$ref: "#/components/schemas/ChatCompletionToolChoiceOption"
|
$ref: '#/components/schemas/ChatCompletionToolChoiceOption'
|
||||||
tools:
|
tools:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ChatCompletionTool"
|
$ref: '#/components/schemas/ChatCompletionTool'
|
||||||
description: Available tools for function calling
|
description: Available tools for function calling
|
||||||
top_p:
|
top_p:
|
||||||
type: number
|
type: number
|
||||||
@@ -1509,7 +1509,7 @@ components:
|
|||||||
- true
|
- true
|
||||||
default: true
|
default: true
|
||||||
description: Enable streaming response
|
description: Enable streaming response
|
||||||
- $ref: "#/components/schemas/ChatCompletionCreateParams"
|
- $ref: '#/components/schemas/ChatCompletionCreateParams'
|
||||||
parameters: {}
|
parameters: {}
|
||||||
paths:
|
paths:
|
||||||
/chat/completions:
|
/chat/completions:
|
||||||
@@ -1525,39 +1525,39 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionCreateParams"
|
$ref: '#/components/schemas/ChatCompletionCreateParams'
|
||||||
responses:
|
responses:
|
||||||
"200":
|
'200':
|
||||||
description: Successful chat completion response
|
description: Successful chat completion response
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletion"
|
$ref: '#/components/schemas/ChatCompletion'
|
||||||
description: Non-streaming response when stream=false
|
description: Non-streaming response when stream=false
|
||||||
"400":
|
'400':
|
||||||
description: Bad request - invalid parameters
|
description: Bad request - invalid parameters
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"401":
|
'401':
|
||||||
description: Unauthorized - invalid API key
|
description: Unauthorized - invalid API key
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"429":
|
'429':
|
||||||
description: Too many requests - rate limit exceeded
|
description: Too many requests - rate limit exceeded
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"500":
|
'500':
|
||||||
description: Internal server error
|
description: Internal server error
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
x-speakeasy-name-override: complete
|
x-speakeasy-name-override: complete
|
||||||
/chat/completions#stream:
|
/chat/completions#stream:
|
||||||
post:
|
post:
|
||||||
@@ -1572,41 +1572,41 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatStreamCompletionCreateParams"
|
$ref: '#/components/schemas/ChatStreamCompletionCreateParams'
|
||||||
responses:
|
responses:
|
||||||
"200":
|
'200':
|
||||||
description: Successful chat completion response
|
description: Successful chat completion response
|
||||||
content:
|
content:
|
||||||
text/event-stream:
|
text/event-stream:
|
||||||
x-speakeasy-sse-sentinel: "[DONE]"
|
x-speakeasy-sse-sentinel: '[DONE]'
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
required: [data]
|
required: [data]
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
$ref: "#/components/schemas/ChatCompletionChunk"
|
$ref: '#/components/schemas/ChatCompletionChunk'
|
||||||
"400":
|
'400':
|
||||||
description: Bad request - invalid parameters
|
description: Bad request - invalid parameters
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"401":
|
'401':
|
||||||
description: Unauthorized - invalid API key
|
description: Unauthorized - invalid API key
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"429":
|
'429':
|
||||||
description: Too many requests - rate limit exceeded
|
description: Too many requests - rate limit exceeded
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
"500":
|
'500':
|
||||||
description: Internal server error
|
description: Internal server error
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ChatCompletionError"
|
$ref: '#/components/schemas/ChatCompletionError'
|
||||||
x-speakeasy-name-override: completeStream
|
x-speakeasy-name-override: completeStream
|
||||||
|
|||||||
Reference in New Issue
Block a user