Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(debug): log transcript message correlation in voice note replay

Steven Enamakel4f7bed867be9
diff --git a/scripts/debug/web-scripts/chat-voice-note-replay.mjs b/scripts/debug/web-scripts/chat-voice-note-replay.mjs
index f28178e345..a8a1fdb902 100644
--- a/scripts/debug/web-scripts/chat-voice-note-replay.mjs
+++ b/scripts/debug/web-scripts/chat-voice-note-replay.mjs
@@ -243,6 +243,21 @@ export default async function voiceNoteReplay({ page, mock, log, screenshot }) {
kind: item.kind,
noteId: item.extraMetadata.voiceNote.noteId,
}));
+ log(
+ `threads_transcript_get message correlation: ${JSON.stringify(
+ transcriptValue?.items
+ ?.filter(
+ (item) =>
+ item.kind === "userMessage" || item.kind === "assistantMessage",
+ )
+ .map((item) => ({
+ kind: item.kind,
+ content: item.content,
+ requestId: item.requestId,
+ extraMetadata: item.extraMetadata,
+ })),
+ )}`,
+ );
log(
`threads_transcript_get voice rows: ${JSON.stringify(projectedVoiceNotes)}`,
);