fix: ptimout not defined

This commit is contained in:
ikechan8370 2023-02-15 12:38:10 +08:00
parent 236ec07f38
commit faf3612c96
3 changed files with 90 additions and 87 deletions

View file

@ -7,8 +7,8 @@ import { uuid } from 'oicq/lib/common.js'
import delay from 'delay'
import { ChatGPTAPI } from 'chatgpt'
import { ChatGPTClient, BingAIClient } from '@waylaidwanderer/chatgpt-api'
import { getMessageById, makeForwardMsg, tryTimes, upsertMessage } from '../utils/common.js'
import { ChatGPTPuppeteer, pTimeout } from '../utils/browser.js'
import { getMessageById, makeForwardMsg, tryTimes, upsertMessage, pTimeout } from '../utils/common.js'
import { ChatGPTPuppeteer } from '../utils/browser.js'
import { KeyvFile } from 'keyv-file'
import { OfficialChatGPTClient } from '../utils/message.js'
// import puppeteer from '../utils/browser.js'