mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-06 02:47:56 +00:00
ignore command and mcp asks with no text
This commit is contained in:
parent
efdc3a8639
commit
c66fe25060
1 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|||
setSecondaryButtonText("Reject")
|
||||
break
|
||||
case "command":
|
||||
if (!isAutoApproved(lastMessage)) {
|
||||
if (lastMessage.text && !isAutoApproved(lastMessage)) {
|
||||
playSound("notification")
|
||||
}
|
||||
setTextAreaDisabled(isPartial)
|
||||
|
|
@ -156,7 +156,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|||
setSecondaryButtonText(undefined)
|
||||
break
|
||||
case "use_mcp_server":
|
||||
if (!isAutoApproved(lastMessage)) {
|
||||
if (lastMessage.text && !isAutoApproved(lastMessage)) {
|
||||
playSound("notification")
|
||||
}
|
||||
setTextAreaDisabled(isPartial)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue