Chainlit / chainlit

Build Conversational AI in minutes ⚡️
https://docs.chainlit.io
Apache License 2.0
6.79k stars 883 forks source link

Issue #430 comes back in version 0.7.2 #467

Closed wxp16 closed 11 months ago

wxp16 commented 11 months ago

Hello @willydouhard, I manually added base_url in the [UI] part of file config.toml. Maybe I did something wrong, pls advise..

[UI]
# Name of the app and chatbot.
name = "Chatbot"
# If the app is served behind a reverse proxy (like cloud run) we need to know the base url for oauth
base_url = "https://preprod-xxxxx"

But got the image

willydouhard commented 11 months ago

Did you update to 0.7.2? In that case the config.ui.base_url has been moved to an environment variable named CHAINLIT_URL.

wxp16 commented 11 months ago

@willydouhard I checked the updated documentaion and set CHAINLIT_URL. All works as expected. So closed this isue.