feat: sydney is functional

This commit is contained in:
Daniel Avila 2023-03-08 19:47:23 -05:00
parent 0f54251459
commit 69b3edc52c
15 changed files with 157 additions and 22 deletions

View file

@ -5,7 +5,8 @@ const clientOptions = {
// Warning: This will expose your access token to a third party. Consider the risks before using this.
reverseProxyUrl: 'https://chatgpt.duti.tech/api/conversation',
// Access token from https://chat.openai.com/api/auth/session
accessToken: process.env.CHATGPT_TOKEN
accessToken: process.env.CHATGPT_TOKEN,
// debug: true
};
const browserClient = async ({ text, progressCallback, convo }) => {