mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-02 08:38:51 +01:00
fix: chatgpt now using latest
This commit is contained in:
parent
30a7a80bfc
commit
e531a17e0f
5 changed files with 19 additions and 31 deletions
|
|
@ -2,7 +2,7 @@ require('dotenv').config();
|
|||
const { KeyvFile } = require('keyv-file');
|
||||
|
||||
const askBing = async ({ text, onProgress, convo }) => {
|
||||
const { BingAIClient } = (await import('chatgpt-latest'));
|
||||
const { BingAIClient } = (await import('@waylaidwanderer/chatgpt-api'));
|
||||
|
||||
const bingAIClient = new BingAIClient({
|
||||
// "_U" cookie from bing.com
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ require('dotenv').config();
|
|||
const { KeyvFile } = require('keyv-file');
|
||||
|
||||
const askSydney = async ({ text, onProgress, convo }) => {
|
||||
const { BingAIClient } = (await import('chatgpt-latest'));
|
||||
const { BingAIClient } = (await import('@waylaidwanderer/chatgpt-api'));
|
||||
|
||||
const sydneyClient = new BingAIClient({
|
||||
// "_U" cookie from bing.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue