From c05edfcdfcfb61c9151ad94e0edc4ed682d22f19 Mon Sep 17 00:00:00 2001 From: dnobs Date: Tue, 6 Jun 2023 20:08:04 -0700 Subject: [PATCH] fix: reverse-proxied URI should end with 'chat', not 'generate' (#2556) --- api-examples/api-example-chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-examples/api-example-chat.py b/api-examples/api-example-chat.py index 905fbca6..8ea6ed1e 100644 --- a/api-examples/api-example-chat.py +++ b/api-examples/api-example-chat.py @@ -7,7 +7,7 @@ HOST = 'localhost:5000' URI = f'http://{HOST}/api/v1/chat' # For reverse-proxied streaming, the remote will likely host with ssl - https:// -# URI = 'https://your-uri-here.trycloudflare.com/api/v1/generate' +# URI = 'https://your-uri-here.trycloudflare.com/api/v1/chat' def run(user_input, history):