chore: Use primary agent's model as fallback for subagents (#304)
This commit is contained in:
@@ -31,6 +31,7 @@ export interface StaticSubagent {
|
||||
totalTokens: number;
|
||||
agentURL: string | null;
|
||||
error?: string;
|
||||
model?: string;
|
||||
}
|
||||
|
||||
interface SubagentGroupStaticProps {
|
||||
@@ -58,13 +59,14 @@ const AgentRow = memo(({ agent, isLast }: AgentRowProps) => {
|
||||
|
||||
return (
|
||||
<Box flexDirection="column">
|
||||
{/* Main row: tree char + description + type + stats */}
|
||||
{/* Main row: tree char + description + type + model + stats */}
|
||||
<Box flexDirection="row">
|
||||
<Text color={colors.subagent.treeChar}>{treeChar} </Text>
|
||||
<Text color={dotColor}>●</Text>
|
||||
<Text> {agent.description}</Text>
|
||||
<Text dimColor> · {agent.type.toLowerCase()}</Text>
|
||||
<Text color={colors.subagent.stats}> · {stats}</Text>
|
||||
{agent.model && <Text dimColor> · {agent.model}</Text>}
|
||||
<Text dimColor> · {stats}</Text>
|
||||
</Box>
|
||||
|
||||
{/* Subagent URL */}
|
||||
|
||||
Reference in New Issue
Block a user