🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🔨 chore(memory-user-memory): should not append date & time (#12216)
Nekoc41f0af5c67e
diff --git a/packages/memory-user-memory/src/prompts/layers/activity.ts b/packages/memory-user-memory/src/prompts/layers/activity.tsindex d5ec1531229..f5ba6150384 100644--- a/packages/memory-user-memory/src/prompts/layers/activity.ts+++ b/packages/memory-user-memory/src/prompts/layers/activity.ts@@ -46,6 +46,7 @@ export const activityPrompt = ['## Memory Formatting Guidelines','','> ALL MEMORY ITEMS MUST BE SELF-CONTAINED',+ '- Do not append date or time information to the `title`; keep timing in temporal fields or narrative instead.','- Use concrete names/entities—avoid pronouns.','- Preserve the original language from user input—do not translate.','- Include relevant details, participants, places, timing if present, and outcomes.',diff --git a/packages/memory-user-memory/src/prompts/layers/context.ts b/packages/memory-user-memory/src/prompts/layers/context.tsindex a32e6703d94..a2dffd3ede3 100644--- a/packages/memory-user-memory/src/prompts/layers/context.ts+++ b/packages/memory-user-memory/src/prompts/layers/context.ts@@ -58,6 +58,7 @@ export const contextPrompt = ['## Memory Formatting Guidelines','','> CRITICAL REQUIREMENT: ALL MEMORY ITEMS MUST BE SELF-CONTAINED',+ '- Do not append date or time information to the `title`; keep any timing details within the body fields instead.','','Every memory item you create must be standalone and understandable without','extra context:',diff --git a/packages/memory-user-memory/src/prompts/layers/experience.ts b/packages/memory-user-memory/src/prompts/layers/experience.tsindex 48fc93dc563..9c2f9d5d767 100644--- a/packages/memory-user-memory/src/prompts/layers/experience.ts+++ b/packages/memory-user-memory/src/prompts/layers/experience.ts@@ -55,6 +55,7 @@ export const experiencePrompt = ['## Memory Formatting Guidelines','','> CRITICAL REQUIREMENT: ALL MEMORY ITEMS MUST BE SELF-CONTAINED',+ '- Do not append date or time information to the `title`; keep timing in temporal fields or narrative instead.','','Every memory item you create must be standalone and understandable without','extra context:',diff --git a/packages/memory-user-memory/src/prompts/layers/identity.ts b/packages/memory-user-memory/src/prompts/layers/identity.tsindex 3527b2a6dec..c495db28859 100644--- a/packages/memory-user-memory/src/prompts/layers/identity.ts+++ b/packages/memory-user-memory/src/prompts/layers/identity.ts@@ -112,6 +112,7 @@ export const identityPrompt = ['## Memory Formatting Guidelines','','> CRITICAL REQUIREMENT: ALL MEMORY ITEMS MUST BE SELF-CONTAINED',+ '- Do not append date or time information to the `title`; keep timing in temporal fields or narrative instead.','','Every memory item you create must be standalone and understandable without','extra context:',diff --git a/packages/memory-user-memory/src/prompts/layers/preference.ts b/packages/memory-user-memory/src/prompts/layers/preference.tsindex 011edbf093c..3cf41d2b32b 100644--- a/packages/memory-user-memory/src/prompts/layers/preference.ts+++ b/packages/memory-user-memory/src/prompts/layers/preference.ts@@ -64,6 +64,7 @@ export const preferencePrompt = ['## Memory Formatting Guidelines','','> CRITICAL REQUIREMENT: ALL MEMORY ITEMS MUST BE SELF-CONTAINED',+ '- Do not append date or time information to the `title`; keep timing in temporal fields or narrative instead.','','Every memory item you create must be standalone and understandable without','extra context:',