Colean up

This commit is contained in:
Siddharth Ganesan
2026-01-23 19:26:05 -08:00
parent 48f7be9d8d
commit 58ef2def00
2 changed files with 0 additions and 3 deletions

View File

@@ -80,7 +80,6 @@ const CopilotMessage: FC<CopilotMessageProps> = memo(
isAborting,
} = useCopilotStore()
// Use stable selector to avoid re-renders when unrelated state changes
const maskCredentialValue = useCopilotStore((s) => s.maskCredentialValue)
const messageCheckpoints = isUser ? allMessageCheckpoints[message.id] || [] : []

View File

@@ -2737,8 +2737,6 @@ export const useCopilotStore = create<CopilotStore>()(
}))
}
// Load sensitive credential IDs and auto-allowed tools in background (non-blocking)
// These will be ready before any tool calls arrive since SSE setup takes time
get().loadSensitiveCredentialIds().catch((err) => {
logger.warn('[Copilot] Failed to load sensitive credential IDs', err)
})