fix(abortMiddleware): fix aborted messages not saving (#894)

This commit is contained in:
Danny Avila 2023-09-07 20:33:13 -04:00 committed by GitHub
parent b284698825
commit a22b59f109
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,7 @@ const createAbortController = (res, req, endpointOption, getAbortData) => {
const responseMessage = {
...responseData,
conversationId,
finish_reason: 'incomplete',
model: endpointOption.modelOptions.model,
unfinished: false,