🐛 Check CHAINLIT_STARTERS with default value

This commit is contained in:
Ruben Lucas 2025-03-28 13:47:45 +01:00
parent cfcaf84f2d
commit 0fe4a628d7

View File

@ -133,7 +133,7 @@ async def process_cond_response(message):
@cl.set_starters @cl.set_starters
async def set_starters(): async def set_starters():
chainlit_starters = os.environ["CHAINLIT_STARTERS"] chainlit_starters = os.environ.get("CHAINLIT_STARTERS", None)
if chainlit_starters is None: if chainlit_starters is None:
return return