fix: subagent task name

This commit is contained in:
simosmik
2026-02-19 16:20:26 +00:00
parent be8af79d4c
commit 226201295b
2 changed files with 2 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ export const SubagentContainer: React.FC<SubagentContainerProps> = ({
const { childTools, currentToolIndex, isComplete } = subagentState;
const currentTool = currentToolIndex >= 0 ? childTools[currentToolIndex] : null;
const title = `${subagentType}: ${description}`;
const title = `Subagent / ${subagentType}: ${description}`;
return (
<div className="border-l-2 border-l-purple-500 dark:border-l-purple-400 pl-3 py-0.5 my-1">

View File

@@ -424,13 +424,7 @@ export const TOOL_CONFIGS: Record<string, ToolDisplayConfig> = {
},
result: {
type: 'collapsible',
title: (result) => {
// Check if result has content with type array (agent results often have this structure)
if (result && result.content && Array.isArray(result.content)) {
return 'Subagent Response';
}
return 'Subagent Result';
},
title: 'Subagent result',
defaultOpen: false,
contentType: 'markdown',
getContentProps: (result) => {