chatgpt-optimized-official
Advanced tools
Comparing version 1.2.5 to 1.2.6
@@ -266,3 +266,3 @@ import axios from "axios"; | ||
oAIKey.queries++; | ||
if (response.data.choices[0]['message']['content'].trim() !== "") { | ||
if (response.data.choices[0]['message']['content']) { | ||
conversation.messages.push({ | ||
@@ -269,0 +269,0 @@ id: randomUUID(), |
{ | ||
"name": "chatgpt-optimized-official", | ||
"version": "1.2.5", | ||
"version": "1.2.6", | ||
"description": "ChatGPT Client using official OpenAI API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -325,3 +325,3 @@ import axios from "axios"; | ||
if(response.data.choices[0]['message']['content'].trim() !== "") { | ||
if(response.data.choices[0]['message']['content']) { | ||
conversation.messages.push({ | ||
@@ -328,0 +328,0 @@ id: randomUUID(), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
434316