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
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
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):