We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da182a commit e0851a9Copy full SHA for e0851a9
src/components/Agentic/IncidentDetails/AgentEvents/index.tsx
@@ -104,15 +104,22 @@ export const AgentEvents = () => {
104
speed={shouldShowTypingForEvent(i) ? TYPING_SPEED : undefined}
105
/>
106
);
107
- case "tool":
+ case "tool": {
108
+ let toolName = event.tool_name;
109
+
110
+ if (event.mcp_name) {
111
+ toolName += ` ${[event.mcp_name, "MCP tool"]
112
+ .filter(Boolean)
113
+ .join(" ")})`;
114
+ }
115
116
return (
117
<Accordion
- summary={`${event.tool_name} (${[event.mcp_name, "MCP tool"]
- .filter(Boolean)
- .join(" ")})`}
118
+ summary={toolName}
119
content={<TypingMarkdown text={convertToMarkdown(event.message)} />}
120
121
122
123
default:
124
return null;
125
}
0 commit comments