We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93b2b4d commit f63470dCopy full SHA for f63470d
src/memos/mem_scheduler/general_scheduler.py
@@ -1379,6 +1379,7 @@ def process_session_turn(
1379
cur_working_memory: list[TextualMemoryItem] = text_mem_base.get_working_memory(
1380
user_name=mem_cube_id
1381
)
1382
+ cur_working_memory = cur_working_memory[:top_k]
1383
text_working_memory: list[str] = [w_m.memory for w_m in cur_working_memory]
1384
intent_result = self.monitor.detect_intent(
1385
q_list=queries, text_working_memory=text_working_memory
0 commit comments