mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +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(),
|
id: uuidv4(),
|
||||||
conversationId: conversationId,
|
conversationId: conversationId,
|
||||||
parentMessageId: messageId,
|
parentMessageId: messageId,
|
||||||
text: undefined,
|
text: '',
|
||||||
functionCall: undefined,
|
functionCall: undefined,
|
||||||
conversation: []
|
conversation: []
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -181,7 +181,7 @@ export class ChatGPTAPI {
|
||||||
id: uuidv4(),
|
id: uuidv4(),
|
||||||
conversationId,
|
conversationId,
|
||||||
parentMessageId: messageId,
|
parentMessageId: messageId,
|
||||||
text: undefined,
|
text: '',
|
||||||
functionCall: undefined,
|
functionCall: undefined,
|
||||||
conversation: []
|
conversation: []
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue