chore: switch from @waylaidwanderer/chatgpt-api to nodejs-gpt for latest fixes (#1050)

This commit is contained in:
Danny Avila 2023-10-14 13:06:50 -04:00 committed by GitHub
parent e7e473d335
commit 241bc68d0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 113 additions and 121 deletions

View file

@ -8,7 +8,7 @@ const titleConvo = async ({ text, response }) => {
return title;
}
const { BingAIClient } = await import('@waylaidwanderer/chatgpt-api');
const { BingAIClient } = await import('nodejs-gpt');
const titleGenerator = new BingAIClient({
userToken: process.env.BINGAI_TOKEN,
debug: false,