Skip to content

Add Memory tool fails consistently, preventing memory consolidation #619

@Amama-Fatima

Description

@Amama-Fatima

The AI assistant is unable to add a new memory using the addMemory tool when asked to combine two existing pieces of user information. The tool call fails repeatedly with a generic error, preventing the AI from learning from the conversation and improving its knowledge about the user.

Steps to Reproduce

  1. The AI has two separate, distinct memories about a user (e.g., Memory A: "User is a software engineer," and Memory B: "User's favorite anime is Attack on Titan").
  2. The user asks the AI to connect or combine these two memories into a single, consolidated memory.
  3. The AI correctly formulates a new memory string, such as: Amama Fatima is a software engineer whose favorite anime is Attack on Titan.
  4. The AI calls the addMemory tool with this new string.
  5. The tool returns an error response: {"success": false, "error": "Failed to add memory"}.
  6. The AI, attempting to recover, tries the addMemory call again, perhaps with slightly different wording.
  7. The second tool call also fails with the same error.

Expected Behavior

The addMemory tool should successfully process the request and create the new, consolidated memory. The AI should then be able to confirm to the user that the information has been saved correctly.

Actual Behavior

The addMemory tool call fails consistently. The API returns {"success": false, "error": "Failed to add memory"}. The AI cannot fulfill the user's request and has to report a technical issue, leading to a frustrating user experience.

Additional Information

I dont see any errors in the networks tab when i request the AI to add a memory. So this is probably some internal issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions