Documentation
¶
Overview ¶
agent details component, shows information about the selected agent, such as name, description, model, tools, etc. It listens for selectedAgentMsg to update the displayed information when a new agent is selected from the list.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetailComponent ¶
DetailComponent is the interface for the agent details component.
func NewAgentsDetails ¶
func NewAgentsDetails() DetailComponent
NewAgentsDetails creates a new instance of the detail component. It initializes the viewport and returns the component ready for use in the TUI.
type TableComponent ¶
TableComponent defines the interface for a table component in the TUI. It includes methods for tea.Model, layout.Sizeable, and layout.Bindings.
func NewAgentsTable ¶
func NewAgentsTable(registry agentregistry.Registry) TableComponent
NewAgentsTable creates a new instance of the table component. It initializes the table with the specified columns and sets the initial focus on the table. It returns the initialized table component.