mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-26 02:00:52 +01:00
9 lines
287 B
TypeScript
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.
|
|
}
|
|
}
|