Documentation
¶
Overview ¶
page package: This file defines the ChatPage, which is the main interface for users to interact with chat sessions, send messages, and view message history. It manages the layout of the chat interface, handles user input, and coordinates with the app's session and agent management to facilitate conversations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgentsPage ¶ added in v1.9.0
func NewAgentsPage(registry agentregistry.Registry) tea.Model
Types ¶
type ChatKeyMap ¶
type LogPage ¶
func NewLogsPage ¶
func NewLogsPage() LogPage
type PageChangeMsg ¶
type PageChangeMsg struct {
ID PageID
}
PageChangeMsg is used to change the current page
type PageID ¶
type PageID string
PageID is a unique identifier for a page
var AgentsPage PageID = "agents"
var ChatPage PageID = "chat"
ChatPage is the main page for interacting with chat sessions, sending messages, and viewing message history.
var LogsPage PageID = "logs"
LogsPage is the page for viewing logs.
Click to show internal directories.
Click to hide internal directories.