This commit is contained in:
Roy Belio 2025-12-03 01:04:10 +00:00 committed by GitHub
commit f7bce1a832
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 212 additions and 25 deletions

View file

@ -289,11 +289,14 @@ paths:
post:
responses:
'200':
description: An OpenAICompletion.
description: An OpenAICompletion or an async iterator of OpenAICompletion chunks when streaming.
content:
application/json:
schema:
$ref: '#/components/schemas/OpenAICompletion'
text/event-stream:
schema:
$ref: '#/components/schemas/OpenAICompletion'
'400':
description: Bad Request
$ref: '#/components/responses/BadRequest400'