🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 style(chat): drop the Beta tag from the Agent Gateway toggle (#19711)
Arvin Xu15969e96eee3
diff --git a/locales/en-US/chat.json b/locales/en-US/chat.jsonindex 375ca442389..b94cabcd795 100644--- a/locales/en-US/chat.json+++ b/locales/en-US/chat.json@@ -393,7 +393,6 @@"floatingChatPanel.expand": "Expand chat","followUpPlaceholder": "Follow up.","followUpPlaceholderHeterogeneous": "Follow up.",- "gatewayMode.beta": "Beta","gatewayMode.cardTitle": "Agent Gateway Mode","gatewayMode.desc": "Run agents in the cloud through LobeHub's Agent Gateway. Tasks keep running even after you close the page.","globalApproval.collapse": "Collapse",diff --git a/locales/zh-CN/chat.json b/locales/zh-CN/chat.jsonindex e35dbe1b55d..00dd7398676 100644--- a/locales/zh-CN/chat.json+++ b/locales/zh-CN/chat.json@@ -393,7 +393,6 @@"floatingChatPanel.expand": "展开聊天","followUpPlaceholder": "继续跟进。","followUpPlaceholderHeterogeneous": "继续跟进。",- "gatewayMode.beta": "Beta","gatewayMode.cardTitle": "Agent Gateway 模式","gatewayMode.desc": "通过 LobeHub 的 Agent Gateway 在云端执行 Agent,即使关闭网页,任务也会继续运行。","globalApproval.collapse": "收起",diff --git a/packages/locales/src/default/chat.ts b/packages/locales/src/default/chat.tsindex e1833d38905..18c10572b29 100644--- a/packages/locales/src/default/chat.ts+++ b/packages/locales/src/default/chat.ts@@ -1274,7 +1274,6 @@ export default {'memory.on.desc': 'Allow AI to actively search and manage your memories during conversation.','memory.on.title': 'Enable Memory Tool','memory.title': 'Memory',- 'gatewayMode.beta': 'Beta','gatewayMode.cardTitle': 'Agent Gateway Mode','gatewayMode.desc':"Run agents in the cloud through LobeHub's Agent Gateway. Tasks keep running even after you close the page.",diff --git a/src/features/ChatInput/ActionBar/Plus/index.tsx b/src/features/ChatInput/ActionBar/Plus/index.tsxindex fb9e8177002..36e2217f773 100644--- a/src/features/ChatInput/ActionBar/Plus/index.tsx+++ b/src/features/ChatInput/ActionBar/Plus/index.tsx@@ -3,7 +3,7 @@import { validateVideoFileSize } from '@lobechat/utils/client';import type { IconProps } from '@lobehub/ui';import { Icon, Popover } from '@lobehub/ui';-import { Tag, toast } from '@lobehub/ui/base-ui';+import { toast } from '@lobehub/ui/base-ui';import { GlobeOffIcon, SkillsIcon } from '@lobehub/ui/icons';import { Upload } from 'antd';import { css, cssVar, cx } from 'antd-style';@@ -145,20 +145,6 @@ const countChip = css`background: ${cssVar.colorFillSecondary};`;-const gatewayModeLabel = css`- display: inline-flex;- gap: 8px;- align-items: center;- min-width: 0;-- .title {- overflow: hidden;- min-width: 0;- text-overflow: ellipsis;- white-space: nowrap;- }-`;-const gatewayModeInfoCard = css`overflow: hidden;width: 280px;@@ -445,16 +431,6 @@ const usePlusMenuItems = ({ close }: { close: () => void }): ActionDropdownMenuIlabel);- const renderGatewayModeLabel = () => (- <span className={cx(gatewayModeLabel)}>- {/* Brand name — same in every language, so no i18n. */}- <span className="title">Agent Gateway</span>- <Tag color={'info'} size={'small'} variant={'filled'}>- {t('gatewayMode.beta')}- </Tag>- </span>- );-const gatewayModeInfo = (<div className={cx(gatewayModeInfoCard)}><img@@ -554,9 +530,8 @@ const usePlusMenuItems = ({ close }: { close: () => void }): ActionDropdownMenuIchecked: isGatewayModeEnabled,icon: Cloud,key: 'gateway-mode',- label: (- <PopoverLabel label={renderGatewayModeLabel()} popoverContent={gatewayModeInfo} />- ),+ // Brand name — same in every language, so no i18n.+ label: <PopoverLabel label={'Agent Gateway'} popoverContent={gatewayModeInfo} />,onCheckedChange: handleToggleGatewayMode,type: 'switch',} as ActionDropdownMenuItems[number],