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

@ -29,7 +29,7 @@ const askBing = async ({
key = await getUserKey({ userId, name: 'bingAI' });
}
const { BingAIClient } = await import('@waylaidwanderer/chatgpt-api');
const { BingAIClient } = await import('nodejs-gpt');
const store = {
store: new KeyvFile({ filename: './data/cache.json' }),
};