Commit 0740333f authored by Travis Fischer's avatar Travis Fischer Committed by GitHub

Merge pull request #101 from Ocrap7/main

parents e412ddcf da05127f
...@@ -13,7 +13,7 @@ Today, OpenAI added additional Cloudflare protections that make it more difficul ...@@ -13,7 +13,7 @@ Today, OpenAI added additional Cloudflare protections that make it more difficul
4. Use both tokens when creating the API wrapper: 4. Use both tokens when creating the API wrapper:
```ts ```ts
const api = new ChatGPTApI({ const api = new ChatGPTAPI({
sessionToken: process.env.SESSION_TOKEN, sessionToken: process.env.SESSION_TOKEN,
clearanceToken: process.env.CLEARANCE_TOKEN, clearanceToken: process.env.CLEARANCE_TOKEN,
userAgent: '' // replace to match your real browser's user agent userAgent: '' // replace to match your real browser's user agent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment