Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScrollTickMsg ¶ added in v1.9.1
type AutoScrollTickMsg struct {
Direction int // -1 for up, 1 for down
}
AutoScrollTickMsg triggers auto-scroll during selection
type EvalSavedMsg ¶ added in v1.9.1
type EvalSavedMsg struct {
File string
}
type Model ¶
type Model interface {
layout.Model
layout.Sizeable
layout.Focusable
layout.Help
AddUserMessage(content string) tea.Cmd
AddErrorMessage(content string) tea.Cmd
AddAssistantMessage() tea.Cmd
AddSeparatorMessage() tea.Cmd
AddCancelledMessage() tea.Cmd
AddOrUpdateToolCall(agentName string, toolCall tools.ToolCall, toolDef tools.Tool, status types.ToolStatus) tea.Cmd
AddToolResult(msg *runtime.ToolCallResponseEvent, status types.ToolStatus) tea.Cmd
AppendToLastMessage(agentName string, messageType types.MessageType, content string) tea.Cmd
ScrollToBottom() tea.Cmd
AddShellOutputMessage(content string) tea.Cmd
AddWarningMessage(content string) tea.Cmd
AddSystemMessage(content string) tea.Cmd
PlainTextTranscript() string
IsAtBottom() bool
}
Model represents a chat message list component
type StreamCancelledMsg ¶ added in v1.9.1
type StreamCancelledMsg struct {
ShowMessage bool // Whether to show a cancellation message after cleanup
}
StreamCancelledMsg notifies components that the stream has been cancelled
Click to show internal directories.
Click to hide internal directories.