Add demonstrations for the delete and update tools#193
Conversation
…ed/utility helpers into /Users/weilinli/Documents/spoon/spoon-core/spoon_ai/memory/utils.py to make the example more lightweight.
There was a problem hiding this comment.
💡 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".
| import asyncio | ||
| from typing import Any, Dict, List | ||
| from typing import Dict, List, Optional | ||
|
|
There was a problem hiding this comment.
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 👍 / 👎.
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.