Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

959 B
Raw Blame
-- 173: mark call-log rows whose persisted client-request snapshot had its
-- video transcript content structurally redacted (#12150 P2 surface 2).
--
-- Set to 1 by the call-log write path when the video-bridge guardrail observed
-- and rewrote video parts on this request (see videoBridgeObserved in
-- open-sse/handlers/chatCore.ts). resolvePreviousResponseState
-- (src/lib/db/responsesContinuationStore.ts) refuses to rehydrate a row so
-- marked: the stored snapshot carries [redacted-video-transcript] placeholders
-- in place of the client's real cues, so reconstructing a continuation off it
-- would forward the placeholder text upstream as if it were real history.
-- Failing closed makes the client resend full history instead, exactly like a
-- real previous_response_not_found.
--
-- Default 0 (NOT NULL): every existing and non-video row is "nothing removed".

ALTER TABLE call_logs ADD COLUMN video_content_removed INTEGER NOT NULL DEFAULT 0;