forked from AI_team/Philosophy-RAG-demo
🐛 Check CHAINLIT_STARTERS with default value
This commit is contained in:
parent
cfcaf84f2d
commit
0fe4a628d7
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user