You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use fastapi mount chainlit,and I use a2wsgi conver to wsgi,beacase I use gunicorn。the chanlit version is 1.3.0rc1 .when I open the chainlit url,the page can open,but the page shows that " it can not connect the server ". the errror log as the follows, who can help me?
2024-10-31 17:38:59 - <ContextVar name='local_steps' at 0x7fde381385e0>
Traceback (most recent call last):
File "/opt/app/.venv/lib/python3.10/site-packages/chainlit/utils.py", line 44, in wrapper
return await user_function(**params_values)
File "/opt/app/.venv/lib/python3.10/site-packages/chainlit/step.py", line 99, in async_wrapper
async with Step(
File "/opt/app/.venv/lib/python3.10/site-packages/chainlit/step.py", line 431, in aenter
previous_steps = local_steps.get() or []
LookupError: <ContextVar name='local_steps' at 0x7fde381385e0>
2024-10-31 17:39:44 - Translated markdown file for zh-CN not found. Defaulting to chainlit.md.
2024-10-31 17:39:45 - <ContextVar name='local_steps' at 0x7fde381385e0>
The text was updated successfully, but these errors were encountered:
I use fastapi mount chainlit,and I use a2wsgi conver to wsgi,beacase I use gunicorn。the chanlit version is 1.3.0rc1 .when I open the chainlit url,the page can open,but the page shows that " it can not connect the server ". the errror log as the follows, who can help me?
2024-10-31 17:38:59 - <ContextVar name='local_steps' at 0x7fde381385e0>
Traceback (most recent call last):
File "/opt/app/.venv/lib/python3.10/site-packages/chainlit/utils.py", line 44, in wrapper
return await user_function(**params_values)
File "/opt/app/.venv/lib/python3.10/site-packages/chainlit/step.py", line 99, in async_wrapper
async with Step(
File "/opt/app/.venv/lib/python3.10/site-packages/chainlit/step.py", line 431, in aenter
previous_steps = local_steps.get() or []
LookupError: <ContextVar name='local_steps' at 0x7fde381385e0>
2024-10-31 17:39:44 - Translated markdown file for zh-CN not found. Defaulting to chainlit.md.
2024-10-31 17:39:45 - <ContextVar name='local_steps' at 0x7fde381385e0>
The text was updated successfully, but these errors were encountered: