mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: debug
This commit is contained in:
parent
62c8d56e76
commit
e5853fdb4b
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ export class OfficialChatGPTClient {
|
||||||
let fullResponse = events[events.length - 2]
|
let fullResponse = events[events.length - 2]
|
||||||
fullResponse = _.trimStart(fullResponse, 'data: ')
|
fullResponse = _.trimStart(fullResponse, 'data: ')
|
||||||
if (Config.debug) {
|
if (Config.debug) {
|
||||||
logger.debug(fullResponse)
|
logger.mark(fullResponse)
|
||||||
}
|
}
|
||||||
fullResponse = JSON.parse(fullResponse)
|
fullResponse = JSON.parse(fullResponse)
|
||||||
if (!fullResponse.message) {
|
if (!fullResponse.message) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue