Skip to content

Add demonstrations for the delete and update tools#193

Merged
moonpyt merged 1 commit intoXSpoonAi:mainfrom
helloissariel:main
Dec 1, 2025
Merged

Add demonstrations for the delete and update tools#193
moonpyt merged 1 commit intoXSpoonAi:mainfrom
helloissariel:main

Conversation

@helloissariel
Copy link
Copy Markdown
Contributor

Add demonstrations for the delete and update tools, and move the shared/utility helpers into spoon-core/spoon_ai/memory/utils.py to make the example more lightweight.

…ed/utility helpers into /Users/weilinli/Documents/spoon/spoon-core/spoon_ai/memory/utils.py to make the example more lightweight.
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 6 to 8
import asyncio
from typing import Any, Dict, List
from typing import Dict, List, Optional

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore missing Any import to avoid runtime crash

The new import list drops Any, but the class below still annotates mem0_config: Dict[str, Any] and the model_post_init signature with Any. Because this file does not use from __future__ import annotations, those annotations are evaluated at import time and Any is undefined, causing the demo to raise NameError before it runs.

Useful? React with 👍 / 👎.

@moonpyt moonpyt merged commit 9ee2758 into XSpoonAi:main Dec 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants