Skip to content

Commit a22b59f

Browse files
authored
fix(abortMiddleware): fix aborted messages not saving (#894)
1 parent b284698 commit a22b59f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/server/middleware/abortMiddleware.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const createAbortController = (res, req, endpointOption, getAbortData) => {
4545

4646
const responseMessage = {
4747
...responseData,
48+
conversationId,
4849
finish_reason: 'incomplete',
4950
model: endpointOption.modelOptions.model,
5051
unfinished: false,

0 commit comments

Comments
 (0)