File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -344,8 +344,8 @@ def send_add_log_messages_to_cloud_env(
344344 if kb_log_content :
345345 event = self .create_event_log (
346346 label = "knowledgeBaseUpdate" ,
347- # 1. 移除 log_content 参数
348- # 2. 补充 memory_type
347+ # 1) Remove log_content parameter
348+ # 2) Add memory_type
349349 from_memory_type = USER_INPUT_TYPE ,
350350 to_memory_type = LONG_TERM_MEMORY_TYPE ,
351351 user_id = msg .user_id ,
@@ -356,7 +356,7 @@ def send_add_log_messages_to_cloud_env(
356356 memory_len = len (kb_log_content ),
357357 memcube_name = self ._map_memcube_name (msg .mem_cube_id ),
358358 )
359- # 3. 后置赋值 log_content
359+ # 3) Assign log_content afterwards
360360 event .log_content = f"Knowledge Base Memory Update: { len (kb_log_content )} changes."
361361 event .task_id = msg .task_id
362362 self ._submit_web_logs ([event ], additional_log_info = "send_add_log_messages_to_cloud_env" )
You can’t perform that action at this time.
0 commit comments