diff --git a/apps/chat.js b/apps/chat.js index a057e57..4372223 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -6,7 +6,7 @@ import { v4 as uuid } from 'uuid' import delay from 'delay' import { ChatGPTAPI } from 'chatgpt' import { ChatGPTClient, BingAIClient } from '@waylaidwanderer/chatgpt-api' -import {escapeHtml, getMessageById, makeForwardMsg, tryTimes, upsertMessage} from '../utils/common.js' +import { escapeHtml, getMessageById, makeForwardMsg, tryTimes, upsertMessage } from '../utils/common.js' import { ChatGPTPuppeteer } from '../utils/browser.js' import { KeyvFile } from 'keyv-file' import { OfficialChatGPTClient } from '../utils/message.js' @@ -275,12 +275,12 @@ export class chatgpt extends plugin { } } -// if (prompt.indexOf('