mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +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]
|
||||
fullResponse = _.trimStart(fullResponse, 'data: ')
|
||||
if (Config.debug) {
|
||||
logger.debug(fullResponse)
|
||||
logger.mark(fullResponse)
|
||||
}
|
||||
fullResponse = JSON.parse(fullResponse)
|
||||
if (!fullResponse.message) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue