You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, open api spec have wrong response type specified for chat completion as a stream. In docs it's set as CompletionEvent but in reality it should be CompletionChunk.
/v1/chat/completions:
post:
summary: Chat Completion
operationId: chat_completion_v1_chat_completions_post
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ChatCompletionRequest"
responses:
"200":
description: Successful Response
content:
application/json:
schema: { $ref: "#/components/schemas/ChatCompletionResponse" }
text/event-stream:
schema:
$ref: "#/components/schemas/CompletionEvent" /// Here we should have CompletionChunk
Hi, open api spec have wrong response type specified for chat completion as a stream. In docs it's set as
CompletionEvent
but in reality it should beCompletionChunk
.reference spec files:
The text was updated successfully, but these errors were encountered: