Skip to content

Commit 3d20d25

Browse files
abrookinsclaude
andcommitted
Add memory editing API endpoint, MCP tool, and memory IDs in prompts
- Add get_long_term_memory_by_id and update_long_term_memory functions - Add EditMemoryRecordRequest model for partial updates - Add REST API endpoints: GET and PATCH /v1/long-term-memory/{memory_id} - Add MCP tools: get_long_term_memory and edit_long_term_memory - Include memory IDs in memory prompts for LLM editing capability - Support updating text, topics, entities, memory_type, namespace, user_id, session_id, event_date - Add validation and error handling for invalid fields - Maintain audit trail with updated_at timestamps 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent a42a2a9 commit 3d20d25

File tree

5 files changed

+390
-345
lines changed

5 files changed

+390
-345
lines changed

0 commit comments

Comments
 (0)