Skip to content

Commit 04965f5

Browse files
fix: Resolve F821 error and duplicate timestamp; enhance KB logging
This commit addresses two new issues introduced in recent changes: - Corrected an F821 'Undefined name os' error in by adding the missing import. - Fixed a in which was a result of an incorrect merge during rebase. Additionally, this commit finalizes the implementation of the 'Knowledge Base' logging format in by ensuring that for operations is correctly fetched from the graph store. This guarantees that the new log format fully adheres to the design specifications, providing complete and accurate information for update events.
1 parent b659477 commit 04965f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memos/mem_scheduler/general_scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import concurrent.futures
22
import contextlib
33
import json
4+
import os
45
import traceback
56

67
from memos.configs.mem_scheduler import GeneralSchedulerConfig
@@ -19,7 +20,6 @@
1920
PREF_ADD_LABEL,
2021
QUERY_LABEL,
2122
USER_INPUT_TYPE,
22-
WORKING_MEMORY_TYPE,
2323
)
2424
from memos.mem_scheduler.schemas.message_schemas import ScheduleMessageItem
2525
from memos.mem_scheduler.schemas.monitor_schemas import QueryMonitorItem

0 commit comments

Comments
 (0)