Chat · Components
AgentSelector
Agent picker UI. Grid/list of available agents with avatars, names, and descriptions. Disabled state for unavailable agents.Public export
typescript
import { AgentSelector } from '@happyvertical/smrt-chat/svelte';- Import path
@happyvertical/smrt-chat/svelte- Props
- 2
- Props described
- 2 of 2
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.62.10
Props
NameTypeRequiredDescription
agentsAgentDescriptor[]YesAvailable agentsonselect(agentId: string) => voidYesSelect an agentBindable state
This component has no bindable public state.
Callback events
onselect(agentId: string) => void