mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
fix(vector_store): add type assertion for VectorNode in dump workspace
This commit is contained in:
parent
dec5e4cdaf
commit
9673fad207
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ class VectorStoreActionOp(BaseAsyncOp):
|
|||
path: str = self.context.path
|
||||
|
||||
def node_to_memory(node: VectorNode) -> dict:
|
||||
assert isinstance(node, VectorNode)
|
||||
return vector_node_to_memory(node).model_dump()
|
||||
|
||||
result = await self.vector_store.async_dump_workspace(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue