chatgpt-official
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -182,2 +182,8 @@ import axios from "axios"; | ||
oAIKey.queries++; | ||
conversation.messages.push({ | ||
id: randomUUID(), | ||
content: responseStr, | ||
type: MessageType.Assistant, | ||
date: Date.now(), | ||
}); | ||
return responseStr; | ||
@@ -184,0 +190,0 @@ } |
{ | ||
"name": "chatgpt-official", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "ChatGPT Client using official OpenAI API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -219,2 +219,9 @@ import axios from "axios"; | ||
conversation.messages.push({ | ||
id: randomUUID(), | ||
content: responseStr, | ||
type: MessageType.Assistant, | ||
date: Date.now(), | ||
}); | ||
return responseStr; | ||
@@ -221,0 +228,0 @@ } catch (error: any) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
112081
1469