Skip to content

Assistant Components

assistant.composer

Version: 1.0.0 · Category: assistant

Property Type Required Allowed values
maxLength integer
placeholder string
showAttachments boolean
showModelSelector boolean

Events

Event Description
cancel Generation cancelled
submit Message submitted

Layout constraints: min width 300px

assistant.run-status

Version: 1.0.0 · Category: assistant

Property Type Required Allowed values
compact boolean
showElapsed boolean
showTokenCount boolean

assistant.thread

Version: 1.0.0 · Category: assistant

Property Type Required Allowed values
markdownEnabled boolean
showTimestamps boolean
showToolCalls boolean
streamingIndicator boolean

Data inputs

Input Type Required Description
messages message-stream yes Message stream from runtime

Events

Event Description
messageAdded New message added to thread
scrollEnd User scrolled to end of thread

Layout constraints: min width 300px; min height 200px

assistant.thread-list

Version: 1.0.0 · Category: assistant

Property Type Required Allowed values
showDelete boolean
showFolders boolean
showNewButton boolean
showSearch boolean

Data inputs

Input Type Required Description
conversations conversation-list yes List of conversations

Events

Event Description
create New thread created
delete Thread deleted
select Thread selected

Layout constraints: min width 200px

assistant.tool-call

Version: 1.0.0 · Category: assistant

Property Type Required Allowed values
collapsible boolean
showArgs boolean
showResult boolean

Events

Event Description
toggle Expand/collapse toggled