I configured Mem0 in my crew, but I keep getting the following error:
HTTP error occurred: Client error '400 Bad Request' for url 'https://api.mem0.ai/v1/memories/'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400
Failed to add to long term memory: API request failed: {"error":"At least one of the filters: agent_id, user_id, app_id, run_id is required!"}
This is my current configuration:
@crew
def crew(self) -> Crew:
return Crew(
agents=self.agents,
tasks=self.tasks,
process=Process.sequential,
verbose=self.verbose,
memory=True,
memory_config={
"provider": "mem0",
"config": {"user_id": "9988"},
},
)
OBS: “config” object is put as recommeded in docs