fix(core): update version and simplify validation error message

This commit is contained in:
jinli.yl 2026-02-09 16:05:10 +08:00
parent 73ef8afb51
commit e47256269e
5 changed files with 7 additions and 17 deletions

View file

@ -97,7 +97,7 @@ class PersonalV1Retriever(BaseMemoryAgent):
include_memory_id=False,
include_when_to_use=False,
include_content=True,
include_message_time=False,
include_message_time=True,
ref_memory_id_key="",
)
for n in self.retrieved_nodes

View file

@ -1,16 +0,0 @@
"""Memory storage module for persistent memory management.
This module provides storage backends for memory chunks and file metadata,
including SQLite-based implementations with vector and full-text search.
"""
from .base_memory_store import BaseMemoryStore
from .sqlite_memory_store import SqliteMemoryStore
from ..context import R
__all__ = [
"BaseMemoryStore",
"SqliteMemoryStore",
]
R.memory_store.register("sqlite")(SqliteMemoryStore)

View file

@ -548,6 +548,7 @@ class SqliteMemoryStore(BaseMemoryStore):
score=score,
snippet=snippet,
source=MemorySource(src),
distance=dist,
),
)

View file

@ -14,6 +14,7 @@ class MemorySearchResult(BaseModel):
score: float = Field(..., description="Relevance score of the search result")
snippet: str = Field(..., description="Text snippet from the matched content")
source: MemorySource = Field(..., description="Source of the memory data")
distance: float | None = Field(None, description="Original distance value from vector search")
metadata: dict = Field(default_factory=dict, description="Additional metadata")
@property

View file

@ -26,6 +26,8 @@ from .tool.fs import (
ReadTool,
WriteTool,
)
from .tool.gallery import ExecuteCode
from .tool.search import DashscopeSearch
class ReMeFs(Application):
@ -100,6 +102,8 @@ class ReMeFs(Application):
LsTool(cwd=self.working_dir),
ReadTool(cwd=self.working_dir),
WriteTool(cwd=self.working_dir),
ExecuteCode(),
DashscopeSearch(),
]
# Commands