feat: slash commands (built-in, skill, recipe) in acp server (#9238)
This commit is contained in:
@@ -455,10 +455,7 @@ const MentionPopover = forwardRef<
|
||||
if (item.itemType === 'Agent') {
|
||||
return '@' + item.name + ' ';
|
||||
}
|
||||
if (item.itemType === 'Skill') {
|
||||
return `Use the ${item.name} skill to `;
|
||||
}
|
||||
if (['Builtin', 'Recipe'].includes(item.itemType)) {
|
||||
if (['Builtin', 'Recipe', 'Skill'].includes(item.itemType)) {
|
||||
return '/' + item.name;
|
||||
}
|
||||
return item.extra;
|
||||
|
||||
Reference in New Issue
Block a user