diff --git a/src/memos/multi_mem_cube/single_cube.py b/src/memos/multi_mem_cube/single_cube.py index d92e0bb79..5a9a87acb 100644 --- a/src/memos/multi_mem_cube/single_cube.py +++ b/src/memos/multi_mem_cube/single_cube.py @@ -437,7 +437,9 @@ def _fast_search( search_tool_memory=search_req.search_tool_memory, tool_mem_top_k=search_req.tool_mem_top_k, # TODO: tmp field for playground search goal parser, will be removed later - playground_search_goal_parser=search_req.playground_search_goal_parser, + playground_search_goal_parser=search_req.playground_search_goal_parser + if hasattr(search_req, "playground_search_goal_parser") + else False, ) formatted_memories = [format_memory_item(data) for data in search_results]