From 3e9f4b4f33ed75d2dbf6d2a53e4d9a8027a6595a Mon Sep 17 00:00:00 2001 From: David Miguel Date: Wed, 25 Oct 2023 09:11:33 +0200 Subject: [PATCH] Make finish_reason nullable in CreateCompletionResponse --- openapi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/openapi.yaml b/openapi.yaml index a1266253..4c1a5c67 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -2667,6 +2667,7 @@ components: properties: finish_reason: type: string + nullable: true description: &completion_finish_reason_description | The reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence, `length` if the maximum number of tokens specified in the request was reached,