kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
fix: conversationId undefined
rodzic
1019db09b8
commit
b20fa74793
|
@ -111,7 +111,7 @@ export class ChatGPTAPI {
|
||||||
opts: types.SendMessageOptions = {}
|
opts: types.SendMessageOptions = {}
|
||||||
): Promise<types.ChatMessage> {
|
): Promise<types.ChatMessage> {
|
||||||
const {
|
const {
|
||||||
conversationId,
|
conversationId = uuidv4(),
|
||||||
parentMessageId,
|
parentMessageId,
|
||||||
messageId = uuidv4(),
|
messageId = uuidv4(),
|
||||||
timeoutMs,
|
timeoutMs,
|
||||||
|
|
Ładowanie…
Reference in New Issue