markdown agent files

This commit is contained in:
Ramnique Singh 2025-12-18 10:10:10 +05:30
parent 8c686029cb
commit e40c767336
7 changed files with 79 additions and 19 deletions

View file

@ -941,7 +941,7 @@ function AgentPickerModal({
onCancel: () => void;
}) {
const items = agents.map((agent) => ({
label: `${agent.name} ${truncate(agent.description, 40)}`,
label: `${agent.name}${agent.description ? ` ${truncate(agent.description, 40)}` : ""}`,
value: agent.name,
}));
return (