diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx index cce69b89..1a26e5c1 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx @@ -1334,7 +1334,7 @@ const EditToolHeaderButtons = ({ applyBoxId, uri, codeStr }: { applyBoxId: strin -const InvalidTool = ({ toolName }: { toolName: ToolName }) => { +const InvalidTool = ({ toolName, message }: { toolName: ToolName, message: string }) => { const accessor = useAccessor() const title = getTitle({ name: toolName, type: 'invalid_params' }) const desc1 = 'Invalid parameters' @@ -1342,7 +1342,11 @@ const InvalidTool = ({ toolName }: { toolName: ToolName }) => { const isError = true const componentParams: ToolHeaderParams = { title, desc1, isError, icon } - componentParams.children + componentParams.children = + + {message} + + return } @@ -1902,7 +1906,7 @@ const ChatBubble = ({ threadId, chatMessage, currCheckpointIdx, isCommitted, mes if (chatMessage.type === 'invalid_params') { return
- +
}