From 4bd723b14d9201b5225e6f7734fc49c9a6807a4f Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Mon, 13 Feb 2023 00:20:11 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- legacy/demos/demo-reverse-proxy.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/legacy/demos/demo-reverse-proxy.ts b/legacy/demos/demo-reverse-proxy.ts index 8c76213a..bac09ff2 100644 --- a/legacy/demos/demo-reverse-proxy.ts +++ b/legacy/demos/demo-reverse-proxy.ts @@ -15,6 +15,7 @@ dotenv.config() */ async function main() { const api = new ChatGPTAPI({ + // rate limit of 15 requests per 15 seconds apiReverseProxyUrl: 'https://chatgpt.pawan.krd/api/completions', // change this to an `accessToken` extracted from the ChatGPT site's `https://chat.openai.com/api/auth/session` response apiKey: process.env.OPENAI_ACCESS_TOKEN,