Refactor memory metadata index to use Rust backend

Replaces the Python implementation of MemoryMetadataIndex with a Rust-accelerated version, removing legacy code and fallback logic. Updates search, add, and stats methods to delegate to the Rust backend. Also adds missing imports in llm_data_model.py and base_event.py for improved type support and event handling.
This commit is contained in:
雅诺狐
2025-10-05 16:35:31 +08:00
committed by Windpicker-owo
parent a513aeb68e
commit a9c592b203
3 changed files with 89 additions and 441 deletions

View File

@@ -2,6 +2,7 @@ import asyncio
from typing import Any
from src.common.logger import get_logger
from src.plugin_system.base.base_events_handler import BaseEventHandler
logger = get_logger("base_event")