File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
ui/src/workflow/nodes/ai-chat-node Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 139139 >
140140 <div class =" flex-between border border-r-6 white-bg mb-4" style =" padding : 5px 8px " >
141141 <div class =" flex align-center" style =" line-height : 20px " >
142- <ToolIcon type =" MCP" class =" mr-8" :size =" 20" />
142+ <el-avatar
143+ v-if =" relatedObject(mcpToolSelectOptions, chat_data.mcp_tool_id, 'id')?.icon"
144+ shape =" square"
145+ :size =" 20"
146+ style =" background : none "
147+ class =" mr-8"
148+ >
149+ <img :src =" resetUrl(relatedObject(mcpToolSelectOptions, chat_data.mcp_tool_id, 'id')?.icon)" alt =" " />
150+ </el-avatar >
151+ <ToolIcon v-else type =" MCP" class =" mr-8" :size =" 20" />
143152
144153 <div
145154 class =" ellipsis"
146- :title =" relatedObject(toolSelectOptions , chat_data.mcp_tool_id, 'id')?.name"
155+ :title =" relatedObject(mcpToolSelectOptions , chat_data.mcp_tool_id, 'id')?.name"
147156 >
148157 {{
149158 relatedObject(mcpToolSelectOptions, chat_data.mcp_tool_id, 'id')?.name ||
You can’t perform that action at this time.
0 commit comments