File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/extension/chatSessions/copilotcli/common Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -788,7 +788,7 @@ export function createCopilotCLIToolInvocation(data: {
788788 if ( ! Object . hasOwn ( ToolFriendlyNameAndHandlers , data . toolName ) ) {
789789 const mcpServer = l10n . t ( 'MCP Server' ) ;
790790 const toolName = data . mcpServerName && data . mcpToolName ? `${ data . mcpServerName } , ${ data . mcpToolName } (${ mcpServer } )` : data . toolName ;
791- const invocation = new ChatToolInvocationPart ( toolName ?? 'unknown' , data . toolCallId ?? '' , false as unknown as string ) ;
791+ const invocation = new ChatToolInvocationPart ( toolName ?? 'unknown' , data . toolCallId ?? '' ) ;
792792 invocation . isConfirmed = false ;
793793 invocation . isComplete = false ;
794794 invocation . invocationMessage = l10n . t ( "Using tool: {0}" , toolName ?? 'unknown' ) ;
@@ -817,7 +817,7 @@ export function createCopilotCLIToolInvocation(data: {
817817 }
818818
819819 const [ friendlyToolName , formatter ] = ToolFriendlyNameAndHandlers [ toolCall . toolName ] ;
820- const invocation = new ChatToolInvocationPart ( friendlyToolName ?? toolCall . toolName ?? 'unknown' , toolCall . toolCallId ?? '' , false as unknown as string ) ;
820+ const invocation = new ChatToolInvocationPart ( friendlyToolName ?? toolCall . toolName ?? 'unknown' , toolCall . toolCallId ?? '' ) ;
821821 invocation . isConfirmed = false ;
822822 invocation . isComplete = false ;
823823
You can’t perform that action at this time.
0 commit comments