Open christos-chatzifountas-biotz-io opened 3 months ago
I did what you said and told it to test and save a couple memories. It got some errors along the way but was able to save them. I asked it to tell me what errors it received before being able to save its first memory and it gave me this:
When trying to save the first memory, the following validation error occurred:
Traceback (most recent call last):
File "/opt/miniconda3/envs/agent_zero/lib/python3.10/site-packages/langchain_core/load/serializable.py", line 113, in __init__
super().__init__(*args, **kwargs)
File "/opt/miniconda3/envs/agent_zero/lib/python3.10/site-packages/pydantic/v1/main.py", line 341, in __init__
raise validation_error
pydantic.v1.error_wrappers.ValidationError: 1 validation error for Document
page_content
str type expected (type=type_error.str)
This error indicated that the 'page_content' field needed to be a string. After adjusting the format to ensure it was a single string, the memory was successfully saved.`
I dont understand the code adjustment i have to make to make it work. I am not good with python
Memory tool unable to save and restore memories. After experiencing this problem, i asked agent to "test save and restore memory
Generally, after many attempts, i was able to save and retrieve 2 memory ids and only too. Old memories are there if i checkout to previous commit.
This is the final agent messaging: