Refactor to unified picker showing both agents and files

This commit is contained in:
Shantur Rathore
2025-10-24 13:09:49 +01:00
parent d17e8e56c8
commit 3c73a6bc4a
4 changed files with 382 additions and 286 deletions

View File

@@ -0,0 +1,31 @@
---
title: Agent Attachments
description: Allow @agent mentions for multi-agent conversations.
---
Implement Agent Attachments
---
### @ Agent Autocomplete
When a user types `@` followed by an agent name, display an autocomplete list of available agents.
Filter agent suggestions as the user types.
---
### Attach Agents
Enable users to select an agent from the autocomplete list to attach to their prompt.
Display attached agents as interactive chips.
---
### Acceptance Criteria
- Typing `@` followed by a partial agent name displays matching agent suggestions.
- Selecting an agent creates an attachment chip.
- Attached agents are included in the prompt submission.
- Agent chips can be removed.