mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Fix bug where always allow wasn't showing up for MCP tools
This commit is contained in:
5
.changeset/new-keys-relax.md
Normal file
5
.changeset/new-keys-relax.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"roo-cline": patch
|
||||
---
|
||||
|
||||
Fix bug where always allow wasn't showing up for MCP tools
|
||||
@@ -78,7 +78,7 @@ export const ChatRowContent = ({
|
||||
isLast,
|
||||
isStreaming,
|
||||
}: ChatRowContentProps) => {
|
||||
const { mcpServers } = useExtensionState()
|
||||
const { mcpServers, alwaysAllowMcp } = useExtensionState()
|
||||
const [cost, apiReqCancelReason, apiReqStreamingFailedMessage] = useMemo(() => {
|
||||
if (message.text != null && message.say === "api_req_started") {
|
||||
const info: ClineApiReqInfo = JSON.parse(message.text)
|
||||
@@ -871,6 +871,7 @@ export const ChatRowContent = ({
|
||||
)?.alwaysAllow || false,
|
||||
}}
|
||||
serverName={useMcpServer.serverName}
|
||||
alwaysAllowMcp={alwaysAllowMcp}
|
||||
/>
|
||||
</div>
|
||||
{useMcpServer.arguments && useMcpServer.arguments !== "{}" && (
|
||||
|
||||
Reference in New Issue
Block a user