From 349604458b2e493d5f2e18b6e14cd4429b7f4bad Mon Sep 17 00:00:00 2001 From: Morgan Cheng Date: Tue, 7 Nov 2023 22:22:17 +0800 Subject: [PATCH] Update 12 - OpenAI API.md (#4501) Fix the typo in argument. It should be `--api-port` instead of `--port`. Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com> --- docs/12 - OpenAI API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/12 - OpenAI API.md b/docs/12 - OpenAI API.md index f5c683d0..90bdec2f 100644 --- a/docs/12 - OpenAI API.md +++ b/docs/12 - OpenAI API.md @@ -14,7 +14,7 @@ Add `--extensions openai` to your command-line flags. * To create a public Cloudflare URL, also add the `--public-api` flag. * To listen on your local network, also add the `--listen` flag. -* To change the port, which is 5000 by default, use `--port 1234` (change 1234 to your desired port number). +* To change the port, which is 5000 by default, use `--api-port 1234` (change 1234 to your desired port number). * To use SSL, add `--ssl-keyfile key.pem --ssl-certfile cert.pem`. Note that it doesn't work with `--public-api`. #### Environment variables