File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
IncidentDetails/AgentEvents Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ export const AgentEvents = () => {
8787 const shouldShowTypingForEvent = ( index : number ) =>
8888 isNumber ( initialEventsCount ) && index >= initialEventsCount ;
8989
90+ // TODO: move to a separate component
9091 const renderEvent = (
9192 event : GetIncidentAgentEventsResponse [ number ] ,
9293 i : number
@@ -108,7 +109,7 @@ export const AgentEvents = () => {
108109 let toolName = event . tool_name ;
109110
110111 if ( event . mcp_name ) {
111- toolName += ` ${ [ event . mcp_name , "MCP tool" ]
112+ toolName += ` ( ${ [ event . mcp_name , "MCP tool" ]
112113 . filter ( Boolean )
113114 . join ( " " ) } )`;
114115 }
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ export const AgentChat = ({
8282 const shouldShowTypingForEvent = ( index : number ) =>
8383 Boolean ( initialEventsCount && index >= initialEventsCount ) ;
8484
85+ // TODO: move to a separate component
8586 const renderChatEvent = ( event : IncidentAgentEvent , i : number ) => {
8687 switch ( event . type ) {
8788 case "ai" :
@@ -101,7 +102,7 @@ export const AgentChat = ({
101102 let toolName = event . tool_name ;
102103
103104 if ( event . mcp_name ) {
104- toolName += ` ${ [ event . mcp_name , "MCP tool" ]
105+ toolName += ` ( ${ [ event . mcp_name , "MCP tool" ]
105106 . filter ( Boolean )
106107 . join ( " " ) } )`;
107108 }
You can’t perform that action at this time.
0 commit comments