[kimi] Add /api/matrix/memory/search endpoint (#678) #740
Reference in New Issue
Block a user
Delete Branch "kimi/issue-678"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #678
Summary
Adds GET
/api/matrix/memory/search?q=<query>endpoint that allows Matrix visitors to search Timmy's memory. Results appear as floating crystal-ball text in the Workshop room.Changes
src/dashboard/routes/world.py: Added
/api/matrix/memory/searchendpoint with:timmy.memory_system.search_memories()tests/dashboard/test_world_api.py: Added comprehensive tests covering:
API Response Format
Testing
tox -e unitpasses (2535 passed)tox -e lintpassestox -e pre-pushpasses (2552 passed, 73%+ coverage)