Documentation
¶
Index ¶
- func NewChat() tea.Model
- func NewChatPage(buildAgent func() (agent.Agent, error), summary AgentSummary) tea.Model
- func NewSummary(sum AgentSummary) tea.Model
- func NewTextBox() tea.Model
- type AIErrorSend
- type AIMessageSend
- type AIReasoningSend
- type AddMessage
- type AgentSummary
- type AppendMessageText
- type EnableMessage
- type Message
- type MessageType
- type ResetAgentMessage
- type ResetMessages
- type ResetScrollMessage
- type ScrollMessage
- type SetChatInfoMessage
- type SetConcurrentMessageSender
- type SetHeight
- type SetTextboxCompleteMessage
- type SetThinkingNumDots
- type SetWidth
- type UsageMessage
- type UserMessageSend
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChatPage ¶
func NewSummary ¶
func NewSummary(sum AgentSummary) tea.Model
func NewTextBox ¶
Types ¶
type AIErrorSend ¶
type AIErrorSend struct {
Error error
}
type AIMessageSend ¶
type AIReasoningSend ¶
type AddMessage ¶
type AddMessage struct {
Type MessageType
Content string
}
type AgentSummary ¶
type AppendMessageText ¶ added in v0.0.6
type AppendMessageText struct {
ExtraText string
}
type EnableMessage ¶
type EnableMessage struct {
Enable bool
}
type MessageType ¶
type MessageType int
const ( UserMessage MessageType = iota CRAIGMessage CRAIGPartialMessage CRAIGReasoningMessage ErrorMessage )
type ResetAgentMessage ¶
type ResetAgentMessage struct{}
type ResetMessages ¶
type ResetMessages struct{}
type ResetScrollMessage ¶
type ResetScrollMessage struct{}
type ScrollMessage ¶
type ScrollMessage struct {
Delta int
}
type SetChatInfoMessage ¶
type SetChatInfoMessage struct {
Message string
}
type SetThinkingNumDots ¶
type SetThinkingNumDots struct {
N int
}
type UsageMessage ¶
type UserMessageSend ¶
type UserMessageSend struct {
Message string
}
Click to show internal directories.
Click to hide internal directories.