Merge pull request #101 from Ocrap7/main

pull/106/head
Travis Fischer 2022-12-11 22:09:00 -06:00 zatwierdzone przez GitHub
commit 0740333f52
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -13,7 +13,7 @@ Today, OpenAI added additional Cloudflare protections that make it more difficul
4. Use both tokens when creating the API wrapper:
```ts
const api = new ChatGPTApI({
const api = new ChatGPTAPI({
sessionToken: process.env.SESSION_TOKEN,
clearanceToken: process.env.CLEARANCE_TOKEN,
userAgent: '' // replace to match your real browser's user agent