diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ChatMessagesContainer/ChatMessagesContainer.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ChatMessagesContainer/ChatMessagesContainer.tsx index 936d2e215f..99f72f245c 100644 --- a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ChatMessagesContainer/ChatMessagesContainer.tsx +++ b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ChatMessagesContainer/ChatMessagesContainer.tsx @@ -14,6 +14,9 @@ import { UIMessage, UIDataTypes, UITools, ToolUIPart } from "ai"; import { FindBlocksTool } from "../../tools/FindBlocks/FindBlocks"; import { FindAgentsTool } from "../../tools/FindAgents/FindAgents"; import { SearchDocsTool } from "../../tools/SearchDocs/SearchDocs"; +import { RunBlockTool } from "../../tools/RunBlock/RunBlock"; +import { RunAgentTool } from "../../tools/RunAgent/RunAgent"; +import { ViewAgentOutputTool } from "../../tools/ViewAgentOutput/ViewAgentOutput"; interface ChatMessagesContainerProps { messages: UIMessage[]; @@ -79,6 +82,27 @@ export const ChatMessagesContainer = ({ part={part as ToolUIPart} /> ); + case "tool-run_block": + return ( + + ); + case "tool-run_agent": + return ( + + ); + case "tool-view_agent_output": + return ( + + ); default: return null; } diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ToolAccordion/ToolAccordion.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ToolAccordion/ToolAccordion.tsx index 2f3fc62448..a35376bb8f 100644 --- a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ToolAccordion/ToolAccordion.tsx +++ b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ToolAccordion/ToolAccordion.tsx @@ -40,6 +40,7 @@ export function ToolAccordion({ className={cn( "mt-2 rounded-2xl border bg-background px-3 py-2", className, + )} >