Skip to content

Commit cbd89ad

Browse files
committed
[Bug] An agent with the same name should be displayed as unusable.
1 parent 3ca40fd commit cbd89ad

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

frontend/app/[locale]/chat/components/chatAgentSelector.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,6 @@ export function ChatAgentSelector({
415415
}`}
416416
>
417417
<div className="flex items-center gap-1.5">
418-
{!isEffectivelyAvailable && (
419-
<AlertCircle className="h-3.5 w-3.5 text-amber-500 flex-shrink-0" />
420-
)}
421418
{agent.display_name && (
422419
<span className="text-sm leading-none">
423420
{agent.display_name}

frontend/public/locales/en/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336
"subAgentPool.button.import": "Import Agent",
337337
"subAgentPool.button.importing": "Importing...",
338338
"subAgentPool.tooltip.unavailableAgent": "Agent is unavailable",
339-
"subAgentPool.tooltip.hasUnavailableTools": "This agent contains unusable tools. Please modify the tool configuration before using it",
339+
"subAgentPool.tooltip.hasUnavailableTools": "This agent has been disabled because it contains unavailable tools. Please modify the tool configuration before using it",
340340
"subAgentPool.section.agentList": "Agent List",
341341
"subAgentPool.description.exitCreate": "Exit create mode",
342342
"subAgentPool.description.createAgent": "Create custom agent",

frontend/public/locales/zh/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
"subAgentPool.button.import": "导入Agent",
338338
"subAgentPool.button.importing": "导入中...",
339339
"subAgentPool.tooltip.unavailableAgent": "Agent不可用",
340-
"subAgentPool.tooltip.hasUnavailableTools": "该智能体因包含不可用的工具,请修改工具配置后使用",
340+
"subAgentPool.tooltip.hasUnavailableTools": "该智能体因包含不可用工具而被禁用,请修改工具配置后使用",
341341
"subAgentPool.section.agentList": "智能体列表",
342342
"subAgentPool.description.exitCreate": "退出创建模式",
343343
"subAgentPool.description.createAgent": "创建自定义智能体",

0 commit comments

Comments
 (0)