Files
PaperClipAI/ui/src/lib/chat-message-request.ts
T

9 lines
287 B
TypeScript

/** Retire the legacy body-keyed retry cache; submission receipts now own identity. */
export function clearLegacyChatMessageRequests(scope: string) {
try {
localStorage.removeItem(`paperclip:agent-chat-pending:${scope}`);
} catch {
// Browser storage may be disabled.
}
}