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
Traceback (most recent call last):
File "/Volumes/work/workspace/llm/writing/test_error.py", line 18, in <module>
x = agent(Msg("user", "I'm testing you"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jirenwu/anaconda3/envs/chatgpt/lib/python3.11/site-packages/agentscope/agents/agent.py", line 296, in __call__
res = self.reply(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jirenwu/anaconda3/envs/chatgpt/lib/python3.11/site-packages/agentscope/agents/dict_dialog_agent.py", line 111, in reply
self.memory.add(
^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'add'
Environment (please complete the following information):
AgentScope is an open-source project. To involve a broader community, we recommend asking your questions in English.
Describe the bug
In DictDialogAgent , if you set use_memory = False, the source code in reply() method will raise error
Reason: self.memory is None
To Reproduce
Steps to reproduce the behavior:
Expected behavior
nothing
Error messages
Environment (please complete the following information):
Additional context
maybe you should:
The text was updated successfully, but these errors were encountered: