Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4184,6 +4184,25 @@ components:
$ref: '#/components/schemas/ChatStreamToolCall'
type: array
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:
description: Streaming configuration options
example:
Expand Down Expand Up @@ -15448,12 +15467,7 @@ paths:
model: openai/gpt-4
object: chat.completion.chunk
schema:
properties:
data:
$ref: '#/components/schemas/ChatStreamChunk'
required:
- data
type: object
$ref: '#/components/schemas/ChatStreamingResponse'
x-speakeasy-sse-sentinel: '[DONE]'
description: Successful chat completion response
'400':
Expand Down
Loading