diff --git a/auto-kol/agent-memory-viewer/frontend/src/components/memories/ApprovedMemory.tsx b/auto-kol/agent-memory-viewer/frontend/src/components/memories/ApprovedMemory.tsx
index cbd96c6..a275fc0 100644
--- a/auto-kol/agent-memory-viewer/frontend/src/components/memories/ApprovedMemory.tsx
+++ b/auto-kol/agent-memory-viewer/frontend/src/components/memories/ApprovedMemory.tsx
@@ -159,15 +159,15 @@ export function ApprovedMemoryView({ memory }: Props) {
- {memory.mentions && memory.mentions.length > 0 && (
+ {( (memory.mentions && memory.mentions.length > 0) || (memory.tweet?.thread && memory.tweet?.thread.length > 0)) && (
<>
Conversation Thread
- {memory.mentions.map((mention) => (
+ {(memory.tweet?.thread || memory.mentions)?.map((item) => (
- @{mention.author_username}:{' '}
- {mention.text}
+
+ @{item.author_username}:
+ {' '}
+ {item.text}
- {new Date(mention.created_at).toLocaleString()}
+ {new Date(item.created_at).toLocaleString()}
))}
diff --git a/auto-kol/agent-memory-viewer/frontend/src/components/memories/SkippedMemory.tsx b/auto-kol/agent-memory-viewer/frontend/src/components/memories/SkippedMemory.tsx
index 2d0c8be..465bf1e 100644
--- a/auto-kol/agent-memory-viewer/frontend/src/components/memories/SkippedMemory.tsx
+++ b/auto-kol/agent-memory-viewer/frontend/src/components/memories/SkippedMemory.tsx
@@ -95,15 +95,15 @@ export function SkippedMemoryView({ memory }: Props) {
- {memory.mentions && memory.mentions.length > 0 && (
+ {( (memory.mentions && memory.mentions.length > 0) || (memory.tweet?.thread && memory.tweet?.thread.length > 0)) && (
<>
Conversation Thread
- {memory.mentions.map((mention) => (
+ {(memory.tweet?.thread || memory.mentions)?.map((item) => (
- @{mention.author_username}:{' '}
- {mention.text}
+
+ @{item.author_username}:
+ {' '}
+ {item.text}
- {new Date(mention.created_at).toLocaleString()}
+ {new Date(item.created_at).toLocaleString()}
))}
diff --git a/auto-kol/agent-memory-viewer/frontend/src/types/index.ts b/auto-kol/agent-memory-viewer/frontend/src/types/index.ts
index b13c96e..50108ef 100644
--- a/auto-kol/agent-memory-viewer/frontend/src/types/index.ts
+++ b/auto-kol/agent-memory-viewer/frontend/src/types/index.ts
@@ -11,6 +11,7 @@ export interface Tweet {
author_username: string;
created_at: string;
mention?: boolean;
+ thread?: Array;
}
export interface WorkflowDecision {
@@ -45,6 +46,7 @@ export interface BaseMemory {
author_id: string;
author_username: string;
created_at: string;
+ thread?: Array;
};
previousCid: string | null;
signature: string;