security(video): propagate stream retention context

This commit is contained in:
diegosouzapw
2026-08-27 02:27:14 -03:00
parent 6b36696d95
commit ff70ea7633
2 changed files with 3 additions and 2 deletions

View File

@@ -5632,6 +5632,7 @@ export async function handleChatCore({
status: normalizedStreamStatus,
error: streamError,
errorCode: streamErrorCode,
videoTranscriptSensitive,
});
// Track cache token metrics for streaming responses

View File

@@ -92,7 +92,7 @@ export function finalizeStreamRequestLog({
status,
error,
errorCode,
videoTranscriptSensitive = false,
videoTranscriptSensitive,
onWarn,
}: {
pendingRequestId: string;
@@ -104,7 +104,7 @@ export function finalizeStreamRequestLog({
status: number;
error?: string | null;
errorCode?: string | null;
videoTranscriptSensitive?: boolean;
videoTranscriptSensitive: boolean;
onWarn?: (error: unknown) => void;
}) {
try {