mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-21 14:22:14 +03:00
security(video): propagate stream retention context
This commit is contained in:
@@ -5632,6 +5632,7 @@ export async function handleChatCore({
|
||||
status: normalizedStreamStatus,
|
||||
error: streamError,
|
||||
errorCode: streamErrorCode,
|
||||
videoTranscriptSensitive,
|
||||
});
|
||||
|
||||
// Track cache token metrics for streaming responses
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user