From 32abab7c44cd7e03c8d6aefd1413ba14bdf7c3d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20Heidekr=C3=BCger?= Date: Tue, 13 Aug 2024 22:17:41 +0200 Subject: [PATCH] Add CreateChatCompletionStreamResponse as an event-stream response type to the /chat/completions endpoint --- openapi.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index be9772af..9fc48d95 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -61,6 +61,9 @@ paths: application/json: schema: $ref: "#/components/schemas/CreateChatCompletionResponse" + text/event-stream: + schema: + $ref: "#/components/schemas/CreateChatCompletionStreamResponse" x-oaiMeta: name: Create chat completion