bing hotfix, latest api, uses sydney

This commit is contained in:
Daniel Avila 2023-03-20 17:02:37 -04:00
parent d13315c45b
commit 7d796f2c3e
8 changed files with 59 additions and 32 deletions

View file

@ -2,7 +2,7 @@ require('dotenv').config();
const { KeyvFile } = require('keyv-file');
const askBing = async ({ text, onProgress, convo }) => {
const { BingAIClient } = (await import('@waylaidwanderer/chatgpt-api'));
const { BingAIClient } = (await import('chatgpt-latest'));
const bingAIClient = new BingAIClient({
// "_U" cookie from bing.com