From 3a351f67e678880aa8d3e25405ecf3ed7782647b Mon Sep 17 00:00:00 2001 From: ananthakrishnan Date: Mon, 14 Jul 2025 20:20:55 +0530 Subject: [PATCH] fix: correct agent tools name when creating new agent (#1877) --- frontend/src/agents/NewAgent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/agents/NewAgent.tsx b/frontend/src/agents/NewAgent.tsx index b3047fa9..5da72478 100644 --- a/frontend/src/agents/NewAgent.tsx +++ b/frontend/src/agents/NewAgent.tsx @@ -232,7 +232,7 @@ export default function NewAgent({ mode }: { mode: 'new' | 'edit' | 'draft' }) { const data = await response.json(); const tools: OptionType[] = data.tools.map((tool: UserToolType) => ({ id: tool.id, - label: tool.displayName, + label: tool.customName, icon: `/toolIcons/tool_${tool.name}.svg`, })); setUserTools(tools);