Skip to content

Commit f957967

Browse files
committed
debug the working memory code
1 parent aee13ba commit f957967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memos/mem_scheduler/monitors/general_monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def update_working_memory_monitors(
206206
self.working_mem_monitor_capacity = min(
207207
DEFAULT_WORKING_MEM_MONITOR_SIZE_LIMIT,
208208
(
209-
text_mem_base.memory_manager.memory_size["WorkingMemory"]
209+
int(text_mem_base.memory_manager.memory_size["WorkingMemory"])
210210
+ self.partial_retention_number
211211
),
212212
)

0 commit comments

Comments
 (0)