Skip to content

Commit 0b4534c

Browse files
authored
Update README.md
1 parent 20176fd commit 0b4534c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ const { Configuration, OpenAIApi } = require("openai");
3232

3333
const configuration = new Configuration({
3434
apiKey: process.env.OPENAI_API_KEY,
35-
+ basePath: 'http://localhost:8787/proxy', // point to local instance or Cloudflare deployment
35+
+ // Point this to your local instance or Cloudflare deployment:
36+
+ basePath: 'http://localhost:8787/proxy',
3637
});
3738
const openai = new OpenAIApi(configuration);
3839
```

0 commit comments

Comments
 (0)