Skip to content

Commit 6c6bfd0

Browse files
committed
revert: remove temporary testing code for checkpoint warning
The warning will now only show when actually triggered by checkpoint timeouts.
1 parent 2e79364 commit 6c6bfd0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

webview-ui/src/components/chat/ChatView.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1802,10 +1802,11 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
18021802
</div>
18031803
)}
18041804

1805-
{/* TEMPORARY: Always show warning for testing */}
1806-
<div className="px-3">
1807-
<CheckpointWarning warning={checkpointWarning || { type: "WAIT_TIMEOUT", timeout: 5 }} />
1808-
</div>
1805+
{checkpointWarning && (
1806+
<div className="px-3">
1807+
<CheckpointWarning warning={checkpointWarning} />
1808+
</div>
1809+
)}
18091810
</>
18101811
) : (
18111812
<div className="flex-1 min-h-0 overflow-y-auto flex flex-col gap-4 relative">

0 commit comments

Comments
 (0)