Skip to content

Commit c7597f6

Browse files
committed
fix: sync system prompt
1 parent 79d807d commit c7597f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/memos/mem_os/product.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,8 @@ def _build_system_prompt(
414414
sys_body = get_memos_prompt(
415415
date=formatted_date, tone=tone, verbosity=verbosity, mode="base"
416416
)
417-
mem_block = _format_mem_block(memories_all)
417+
mem_block_o, mem_block_p = _format_mem_block(memories_all)
418+
mem_block = mem_block_o + "\n" + mem_block_p
418419
prefix = (base_prompt.strip() + "\n\n") if base_prompt else ""
419420
return (
420421
prefix

0 commit comments

Comments
 (0)