We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5afed4f commit ce8f7e4Copy full SHA for ce8f7e4
webview-ui/src/components/chat/context-management/InProgressRow.tsx
@@ -33,10 +33,12 @@ export function InProgressRow({ eventType }: InProgressRowProps) {
33
const getIcon = (): string => {
34
switch (eventType) {
35
case "condense_context":
36
- case "condense_context_error":
37
- return "codicon-fold"
38
case "sliding_window_truncation":
+ // All context management operations use the same icon
39
return "codicon-fold"
+ case "condense_context_error":
40
+ // Error state should never have an in-progress state - match getProgressText() behavior
41
+ throw new Error(`InProgressRow received error event type: ${eventType}`)
42
default:
43
assertNever(eventType)
44
}
0 commit comments