Skip to content

Commit 92edf97

Browse files
authored
chore: update README
1 parent 168c112 commit 92edf97

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

README.md

+12-11
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
> **Note**
4646
>
4747
> In Step 2, you only need to complete the authentication process for the model you want to use (it's not necessary to complete all Step 2)
48+
>
4849
> Remember to modify `CHAT_MODEL` to the default model you want to use in `.env` file
4950
5051
## Step 2: Official API authentication
@@ -58,13 +59,11 @@
5859

5960
3. Store the SECRET KEY to `.env` under the `OPENAI_API_KEY`
6061

61-
4. You're all set for [Step 3](#step-3-run-the-bot-on-the-desktop)
6262
---
6363
## Step 2: Website ChatGPT authentication
6464

6565
> **Only Support ChatGPT Plus Account**
6666
67-
### ACCESS token
6867
1. Open https://chat.openai.com/api/auth/session
6968

7069
2. Open console with `F12`
@@ -77,8 +76,6 @@
7776

7877
5. Copy the value for `accessToken` from cookies and paste it into `.env` under `ACCESS_TOKEN`
7978

80-
6. You're all set for [Step 3](#step-3-run-the-bot-on-the-desktop)
81-
8279
---
8380
## Step 2: Google Bard authentication
8481
1. Go to https://bard.google.com/
@@ -89,7 +86,6 @@
8986

9087
4. Copy the value for `__Secure-1PSID` from cookies and paste it into `.env` under `BARD_SESSION_ID`
9188

92-
5. You're all set for [Step 3](#step-3-run-the-bot-on-the-desktop)
9389
---
9490
## Step 2: Microsoft Bing authentication
9591
1. **Rename the file `cookies.dev.json` to `cookies.json`**
@@ -98,9 +94,8 @@
9894

9995
3. Use Cookie Editor or similar extensions to export the cookies
10096

101-
3. Paste it into `cookies.json`
97+
4. Paste it into `cookies.json`
10298

103-
5. You're all set for [Step 3](#step-3-run-the-bot-on-the-desktop)
10499
---
105100
## Step 3: Run the bot on the desktop
106101

@@ -125,12 +120,18 @@
125120
---
126121

127122
## Optional: Auto-Login
128-
* The auto-login feature allows your bot to automatically login to either Google Bard or Microsoft Bing using provided credentials
129-
* It will auto fetch the cookies you need
123+
> * The auto-login feature allows your bot to automatically login to either Google Bard or Microsoft Bing using provided credentials
124+
> * It will auto fetch the cookies you need
125+
130126
* To enable this feature, first specify your Chrome browser's version by filling in the `chrome_version` field in the `.env` file
131-
* For Google Bard, set `bard_enable_auto_login` to `True`. Then fill `google_account` and `google_password` in `.env`
127+
* Google Bard
128+
1. set `bard_enable_auto_login` to `True` in `.env`
129+
2. Fill `google_account` and `google_password` in `.env`
130+
132131
(NOTICE: AUTO-LOGIN ONLY WORKS FOR GOOGLE ACCOUNT THAT DOES NOT HAVE 2FA)
133-
* For Microsoft Bing, set `bing_enable_auto_login` to `True`. Then fill `google_account` and `google_password` in `.env`
132+
* Microsoft Bing
133+
1. set `bing_enable_auto_login` to `True` in `.env`
134+
2. Then fill `google_account` and `google_password` in `.env`
134135

135136
## Optional: Setup system prompt
136137

0 commit comments

Comments
 (0)