+ Estimated cost: ${Number(consultAdvisor.estimatedCost).toFixed(4)}
+
+ )}
>
)
+ case "respond_to_inquiry":
+ return (
+
+
+
+ )
default:
return null
}
diff --git a/webview-ui/src/components/chat/ChatTextArea.tsx b/webview-ui/src/components/chat/ChatTextArea.tsx
index 2d4833a350..a7c0742862 100644
--- a/webview-ui/src/components/chat/ChatTextArea.tsx
+++ b/webview-ui/src/components/chat/ChatTextArea.tsx
@@ -489,6 +489,10 @@ const ChatTextArea = forwardRef
(
mode: newMode,
},
})
+ // Focus the textarea after mode toggle with slight delay
+ setTimeout(() => {
+ textAreaRef.current?.focus()
+ }, 100)
}, [chatSettings.mode, textAreaDisabled])
const handleContextButtonClick = useCallback(() => {
diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx
index c1894ba03c..06ff6af2e0 100644
--- a/webview-ui/src/components/chat/ChatView.tsx
+++ b/webview-ui/src/components/chat/ChatView.tsx
@@ -103,6 +103,13 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
// setPrimaryButtonText(undefined)
// setSecondaryButtonText(undefined)
break
+ case "respond_to_inquiry":
+ setTextAreaDisabled(isPartial)
+ setClineAsk("respond_to_inquiry")
+ setEnableButtons(isPartial)
+ // setPrimaryButtonText(undefined)
+ // setSecondaryButtonText(undefined)
+ break
case "tool":
setTextAreaDisabled(isPartial)
setClineAsk("tool")
@@ -271,6 +278,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
} else if (clineAsk) {
switch (clineAsk) {
case "followup":
+ case "respond_to_inquiry":
case "tool":
case "browser_action_launch":
case "command": // user can provide feedback to a tool or command use