mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
chore: update OpenAPI spec from monorepo (#224)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
7db74e51d1
commit
e0e80c538a
@@ -4184,6 +4184,25 @@ components:
|
|||||||
$ref: '#/components/schemas/ChatStreamToolCall'
|
$ref: '#/components/schemas/ChatStreamToolCall'
|
||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
|
ChatStreamingResponse:
|
||||||
|
example:
|
||||||
|
data:
|
||||||
|
choices:
|
||||||
|
- delta:
|
||||||
|
content: Hello
|
||||||
|
role: assistant
|
||||||
|
finish_reason: null
|
||||||
|
index: 0
|
||||||
|
created: 1677652288
|
||||||
|
id: chatcmpl-123
|
||||||
|
model: openai/gpt-4
|
||||||
|
object: chat.completion.chunk
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
$ref: '#/components/schemas/ChatStreamChunk'
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
type: object
|
||||||
ChatStreamOptions:
|
ChatStreamOptions:
|
||||||
description: Streaming configuration options
|
description: Streaming configuration options
|
||||||
example:
|
example:
|
||||||
@@ -15448,12 +15467,7 @@ paths:
|
|||||||
model: openai/gpt-4
|
model: openai/gpt-4
|
||||||
object: chat.completion.chunk
|
object: chat.completion.chunk
|
||||||
schema:
|
schema:
|
||||||
properties:
|
$ref: '#/components/schemas/ChatStreamingResponse'
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/ChatStreamChunk'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
type: object
|
|
||||||
x-speakeasy-sse-sentinel: '[DONE]'
|
x-speakeasy-sse-sentinel: '[DONE]'
|
||||||
description: Successful chat completion response
|
description: Successful chat completion response
|
||||||
'400':
|
'400':
|
||||||
|
|||||||
Reference in New Issue
Block a user