diff --git a/src/shared/transcript-parser.ts b/src/shared/transcript-parser.ts index 8a70cca9..ebd2cef0 100644 --- a/src/shared/transcript-parser.ts +++ b/src/shared/transcript-parser.ts @@ -58,7 +58,7 @@ export function extractLastMessage( // If we searched the whole transcript and didn't find any message of this role if (!foundMatchingRole) { - throw new Error(`No message found for role '${role}' in transcript: ${transcriptPath}`); + return ''; } return '';