kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/364/head
rodzic
6110f232ea
commit
28ae98d79b
11
readme.md
11
readme.md
|
@ -227,7 +227,16 @@ npx tsx demos/demo-reverse-proxy.ts
|
||||||
|
|
||||||
### Reverse Proxies
|
### 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 |
|
| Reverse Proxy URL | Author | Rate Limits | Last Checked |
|
||||||
| ------------------------------------------------ | -------------------------------------------- | ----------- | ------------ |
|
| ------------------------------------------------ | -------------------------------------------- | ----------- | ------------ |
|
||||||
|
|
Ładowanie…
Reference in New Issue