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
While running the chat-chainlit-app getting the below error message. I am using the python version 3.12.6 and chainlit 1.3.2
python app.py
Traceback (most recent call last):
File "C:xxxxxxxxxxxxxxxxxxxx\multi-agent-orchestrator\examples\chat-chainlit-app\app.py", line 2, in
import chainlit as cl
File "C:xxxxxxxxxxxxxxxxxxxx\multi-agent-orchestrator\examples\chat-chainlit-app\venv\Lib\site-packages\chainlit_init_.py", line 18, in
from chainlit.action import Action
File "C:xxxxxxxxxxxxxxxxxxxx\multi-agent-orchestrator\examples\chat-chainlit-app\venv\Lib\site-packages\chainlit\action.py", line 5, in
from chainlit.telemetry import trace_event
File "C:xxxxxxxxxxxxxxxxxxxx\multi-agent-orchestrator\examples\chat-chainlit-app\venv\Lib\site-packages\chainlit\telemetry.py", line 12, in
from chainlit.config import config
File "C:xxxxxxxxxxxxxxxxxxxx\multi-agent-orchestrator\examples\chat-chainlit-app\venv\Lib\site-packages\chainlit\config.py", line 538, in
config = load_config()
^^^^^^^^^^^^^
File "C:xxxxxxxxxxxxxxxxxxxx\multi-agent-orchestrator\examples\chat-chainlit-app\venv\Lib\site-packages\chainlit\config.py", line 507, in load_config
settings = load_settings()
^^^^^^^^^^^^^^^
File "C:xxxxxxxxxxxxxxxxxxxx\multi-agent-orchestrator\examples\chat-chainlit-app\venv\Lib\site-packages\chainlit\config.py", line 479, in load_settings
code_settings = CodeSettings(action_callbacks={})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:xxxxxxxxxxxxxxxxxxxx\multi-agent-orchestrator\examples\chat-chainlit-app\venv\Lib\site-packages\pydantic_internal_dataclasses.py", line 121, in init
s.pydantic_validator.validate_python(ArgsKwargs(args, kwargs), self_instance=s)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:xxxxxxxxxxxxxxxxxxxx\multi-agent-orchestrator\examples\chat-chainlit-app\venv\Lib\site-packages\pydantic_internal_mock_val_ser.py", line 100, in getattr
raise PydanticUserError(self._error_message, code=self._code)
pydantic.errors.PydanticUserError: CodeSettings is not fully defined; you should define Action, then call pydantic.dataclasses.rebuild_dataclass(CodeSettings).
Hi @sreedharguda ,
Thanks for using the multi-agent orchestrator. It seems like this issue is related to pydantic version not aligned with chainlit.
We have updated our requirements.txt which should fix the issue and let you use the chainlit app.
Let us know how it goes and if we can close the issue.
Anthony
Expected Behaviour
While running the chat-chainlit-app getting the below error message. I am using the python version 3.12.6 and chainlit 1.3.2
Current Behaviour
Getting the error.
Code snippet
Possible Solution
No response
Steps to Reproduce
https://github.com/awslabs/multi-agent-orchestrator/tree/main/examples/chat-chainlit-app
The text was updated successfully, but these errors were encountered: