Build and run agents you can see, understand and trust.
Python agentchatbotlarge-language-modelsllmllm-agentmcpmulti-agentmulti-modalreact-agentrealtime-agentvoice-agentvoice-assistant
fix(webui): avoid nested <button> in sidebar group action (#1769)
Xinmin Zengc24200952b8e
diff --git a/examples/web_ui/frontend/src/pages/chat/index.tsx b/examples/web_ui/frontend/src/pages/chat/index.tsxindex e6fd177b0..570f10509 100644--- a/examples/web_ui/frontend/src/pages/chat/index.tsx+++ b/examples/web_ui/frontend/src/pages/chat/index.tsx@@ -260,7 +260,7 @@ const ChatPageInner = () => {<SidebarContent className="my-5"><SidebarGroup><SidebarGroupLabel>{t('chat.session.label')}</SidebarGroupLabel>- <SidebarGroupAction>+ <SidebarGroupAction asChild><Buttonid="tour-create-session"size="icon-xs"diff --git a/examples/web_ui/frontend/src/pages/credential/index.tsx b/examples/web_ui/frontend/src/pages/credential/index.tsxindex c1bcba5bd..b7e208b17 100644--- a/examples/web_ui/frontend/src/pages/credential/index.tsx+++ b/examples/web_ui/frontend/src/pages/credential/index.tsx@@ -382,6 +382,7 @@ export const CredentialPage = () => {<SidebarGroup key={type}><SidebarGroupLabel>{title}</SidebarGroupLabel><SidebarGroupAction+ asChildtitle={t('credential.addConfig')}onClick={() => handleOpenCreate(type)}>