diff --git a/legacy/src/chatgpt-api.ts b/legacy/src/chatgpt-api.ts index 31181ded..9d2d4830 100644 --- a/legacy/src/chatgpt-api.ts +++ b/legacy/src/chatgpt-api.ts @@ -314,7 +314,10 @@ export class ChatGPTAPI { } } - return Promise.all([ this._upsertMessage(latestQuestion), this._upsertMessage(message) ]).then(() => message) + return Promise.all([ + this._upsertMessage(latestQuestion), + this._upsertMessage(message) + ]).then(() => message) }) if (timeoutMs) {