Skip to content

Commit 4746f2a

Browse files
Wang-Daojiyuan.wang
andauthored
Feat/fix palyground bug (#629)
* fix playground bug, internet search judge * fix playground internet bug * modify delete mem * modify tool resp bug in multi cube * fix bug in playground chat handle and search inter * modify prompt * fix bug in playground * fix bug playfround * fix bug * fix code --------- Co-authored-by: yuan.wang <[email protected]>
1 parent 178cb09 commit 4746f2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/memos/multi_mem_cube/single_cube.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,9 @@ def _fast_search(
437437
search_tool_memory=search_req.search_tool_memory,
438438
tool_mem_top_k=search_req.tool_mem_top_k,
439439
# TODO: tmp field for playground search goal parser, will be removed later
440-
playground_search_goal_parser=search_req.playground_search_goal_parser,
440+
playground_search_goal_parser=search_req.playground_search_goal_parser
441+
if hasattr(search_req, "playground_search_goal_parser")
442+
else False,
441443
)
442444

443445
formatted_memories = [format_memory_item(data) for data in search_results]

0 commit comments

Comments
 (0)