fix: reverse-proxied URI should end with 'chat', not 'generate' (#2556)

This commit is contained in:
dnobs 2023-06-06 20:08:04 -07:00 committed by GitHub
parent f55e85e28a
commit c05edfcdfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):