fix: duplicate subagents config if qwen-code runs in home dir

This commit is contained in:
tanzhenxin
2025-09-17 11:32:52 +08:00
parent 19950e5b7c
commit 5f90472a7d
3 changed files with 53 additions and 67 deletions

View File

@@ -227,7 +227,7 @@ export const AgentSelectionStep = ({
const textColor = isSelected ? theme.text.accent : theme.text.primary;
return (
<Box key={agent.name} alignItems="center">
<Box key={`${agent.name}-${agent.level}`} alignItems="center">
<Box minWidth={2} flexShrink={0}>
<Text color={isSelected ? theme.text.accent : theme.text.primary}>
{isSelected ? '●' : ' '}