Skip to content

Commit 62068e6

Browse files
committed
Fix timestamp format mismatch in Memory Core service #7932
1 parent 5e7c067 commit 62068e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ai/mcp/server/memory-core/services/MemoryService.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class MemoryService extends Base {
104104
return {
105105
id,
106106
sessionId: metadata.sessionId,
107-
timestamp: metadata.timestamp,
107+
timestamp: new Date(metadata.timestamp).toISOString(),
108108
prompt : metadata.prompt,
109109
thought : metadata.thought,
110110
response : metadata.response,
@@ -168,7 +168,7 @@ class MemoryService extends Base {
168168
return {
169169
id,
170170
sessionId: metadata.sessionId,
171-
timestamp: metadata.timestamp,
171+
timestamp: new Date(metadata.timestamp).toISOString(),
172172
prompt : metadata.prompt,
173173
thought : metadata.thought,
174174
response : metadata.response,

0 commit comments

Comments
 (0)