File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4184,6 +4184,25 @@ components:
41844184 $ref: '#/components/schemas/ChatStreamToolCall'
41854185 type: array
41864186 type: object
4187+ ChatStreamingResponse:
4188+ example:
4189+ data:
4190+ choices:
4191+ - delta:
4192+ content: Hello
4193+ role: assistant
4194+ finish_reason: null
4195+ index: 0
4196+ created: 1677652288
4197+ id: chatcmpl-123
4198+ model: openai/gpt-4
4199+ object: chat.completion.chunk
4200+ properties:
4201+ data:
4202+ $ref: '#/components/schemas/ChatStreamChunk'
4203+ required:
4204+ - data
4205+ type: object
41874206 ChatStreamOptions:
41884207 description: Streaming configuration options
41894208 example:
@@ -15448,12 +15467,7 @@ paths:
1544815467 model: openai/gpt-4
1544915468 object: chat.completion.chunk
1545015469 schema:
15451- properties:
15452- data:
15453- $ref: '#/components/schemas/ChatStreamChunk'
15454- required:
15455- - data
15456- type: object
15470+ $ref: '#/components/schemas/ChatStreamingResponse'
1545715471 x-speakeasy-sse-sentinel: '[DONE]'
1545815472 description: Successful chat completion response
1545915473 '400':
You can’t perform that action at this time.
0 commit comments