kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
Fixed readme example p -> P
rodzic
e412ddcf6c
commit
da05127f3a
|
@ -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
|
||||||
|
|
Ładowanie…
Reference in New Issue