Skip to content

Commit e472562

Browse files
committed
fix(core): update version and simplify validation error message
1 parent 73ef8af commit e472562

File tree

5 files changed

+7
-17
lines changed

5 files changed

+7
-17
lines changed

reme/agent/memory/personal/personal_v1_retriever.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async def execute(self):
9797
include_memory_id=False,
9898
include_when_to_use=False,
9999
include_content=True,
100-
include_message_time=False,
100+
include_message_time=True,
101101
ref_memory_id_key="",
102102
)
103103
for n in self.retrieved_nodes

reme/core/memory_storage/__init__.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

reme/core/memory_store/sqlite_memory_store.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ async def vector_search(
548548
score=score,
549549
snippet=snippet,
550550
source=MemorySource(src),
551+
distance=dist,
551552
),
552553
)
553554

reme/core/schema/memory_search_result.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class MemorySearchResult(BaseModel):
1414
score: float = Field(..., description="Relevance score of the search result")
1515
snippet: str = Field(..., description="Text snippet from the matched content")
1616
source: MemorySource = Field(..., description="Source of the memory data")
17+
distance: float | None = Field(None, description="Original distance value from vector search")
1718
metadata: dict = Field(default_factory=dict, description="Additional metadata")
1819

1920
@property

reme/reme_fs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
ReadTool,
2727
WriteTool,
2828
)
29+
from .tool.gallery import ExecuteCode
30+
from .tool.search import DashscopeSearch
2931

3032

3133
class ReMeFs(Application):
@@ -100,6 +102,8 @@ def __init__(
100102
LsTool(cwd=self.working_dir),
101103
ReadTool(cwd=self.working_dir),
102104
WriteTool(cwd=self.working_dir),
105+
ExecuteCode(),
106+
DashscopeSearch(),
103107
]
104108

105109
# Commands

0 commit comments

Comments
 (0)