refactor: drop unused user turn update mode

This commit is contained in:
Shakker
2026-05-26 16:14:33 +01:00
committed by Shakker
parent 20d7bf7525
commit 848c38907d
+1 -9
View File
@@ -33,7 +33,7 @@ export type UserTurnInput = {
mediaOnlyText?: string;
};
type UserTurnTranscriptUpdateMode = "inline" | "file-only" | "none";
type UserTurnTranscriptUpdateMode = "inline" | "none";
type AppendUserTurnTranscriptMessageParams = {
transcriptPath: string;
@@ -410,14 +410,6 @@ export async function appendUserTurnTranscriptMessage(
});
}
break;
case "file-only":
if (appended.appended) {
emitSessionTranscriptUpdate({
sessionFile: params.transcriptPath,
...(params.sessionKey ? { sessionKey: params.sessionKey } : {}),
});
}
break;
case "none":
break;
}