[BugFix] BatchResponseData body should be optional (#6345)

Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
This commit is contained in:
zifeitong
2024-07-15 04:06:09 +00:00
committed by GitHub
co-authored by Cyrus Leung
parent 9bfece89fd
commit b47008b4d2
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -716,7 +716,7 @@ class BatchResponseData(OpenAIBaseModel):
request_id: str
# The body of the response.
body: Union[ChatCompletionResponse, ]
body: Optional[ChatCompletionResponse] = None
class BatchRequestOutput(OpenAIBaseModel):