revert: remove temporary testing code for checkpoint warning

The warning will now only show when actually triggered by checkpoint timeouts.
This commit is contained in:
daniel-lxs 2025-10-22 16:32:55 -05:00
parent 2e793647fe
commit 6c6bfd0e72
No known key found for this signature in database
GPG key ID: 21C74479048B3AA6

View file

@ -1802,10 +1802,11 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
</div>
)}
{/* TEMPORARY: Always show warning for testing */}
<div className="px-3">
<CheckpointWarning warning={checkpointWarning || { type: "WAIT_TIMEOUT", timeout: 5 }} />
</div>
{checkpointWarning && (
<div className="px-3">
<CheckpointWarning warning={checkpointWarning} />
</div>
)}
</>
) : (
<div className="flex-1 min-h-0 overflow-y-auto flex flex-col gap-4 relative">