mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 流模式带多余undefined的问题
This commit is contained in:
parent
2ca27dae8d
commit
b822e49d9a
2 changed files with 2 additions and 2 deletions
|
|
@ -172,7 +172,7 @@ var ChatGPTAPI = /** @class */ (function () {
|
|||
id: uuidv4(),
|
||||
conversationId: conversationId,
|
||||
parentMessageId: messageId,
|
||||
text: undefined,
|
||||
text: '',
|
||||
functionCall: undefined,
|
||||
conversation: []
|
||||
};
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ export class ChatGPTAPI {
|
|||
id: uuidv4(),
|
||||
conversationId,
|
||||
parentMessageId: messageId,
|
||||
text: undefined,
|
||||
text: '',
|
||||
functionCall: undefined,
|
||||
conversation: []
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue