From b4db47b634feea6ff872dd0d2e8df7bc98b7fa83 Mon Sep 17 00:00:00 2001 From: Test User Date: Thu, 14 May 2026 19:56:28 +0800 Subject: [PATCH] fix: correct social_medium_agent to social_media_agent in ExpandedInputBox The agentIconMap key was `social_medium_agent` but the agent type defined in types/chatbox.d.ts and types/workspace.d.ts is `social_media_agent`. This caused the icon lookup to always miss for social media agents, falling back to the default Bot icon. Co-Authored-By: Claude Opus 4.7 --- src/components/ChatBox/BottomBox/ExpandedInputBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ChatBox/BottomBox/ExpandedInputBox.tsx b/src/components/ChatBox/BottomBox/ExpandedInputBox.tsx index 5ff7ecfd9..1b8e3f8d5 100644 --- a/src/components/ChatBox/BottomBox/ExpandedInputBox.tsx +++ b/src/components/ChatBox/BottomBox/ExpandedInputBox.tsx @@ -110,7 +110,7 @@ export const ExpandedInputBox = ({ search_agent: , document_agent: , multi_modal_agent: , - social_medium_agent: , + social_media_agent: , }; // Build agent list same as WorkSpaceMenu