pull/364/head
Travis Fischer 2023-02-19 02:14:46 -06:00
rodzic 6110f232ea
commit 28ae98d79b
1 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -227,7 +227,16 @@ npx tsx demos/demo-reverse-proxy.ts
### Reverse Proxies
Known reverse proxies include:
You can override the reverse proxy by passing `apiReverseProxyUrl` to `ChatGPTUnofficialProxyAPI`:
```ts
const api = new ChatGPTUnofficialProxyAPI({
accessToken: process.env.OPENAI_ACCESS_TOKEN,
apiReverseProxyUrl: 'https://your-example-server.com/api/conversation'
})
```
Known reverse proxies run by community members include:
| Reverse Proxy URL | Author | Rate Limits | Last Checked |
| ------------------------------------------------ | -------------------------------------------- | ----------- | ------------ |