Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConversationIcon = "# " TokenIcon = "T " HelpIcon = "? " PromptIcon = "> " )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyMapConfig ¶
type KeyMapConfig struct { SwitchMultiline []string Submit []string Help []string Quit []string CopyLastAnswer []string PreviousQuestion []string NextQuestion []string NewConversation []string ForgetContext []string RemoveConversation []string PreviousConversation []string NextConversation []string ScrollUp []string ScrollDown []string }
Add this struct definition
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func InitialModel ¶
func InitialModel(llm LLM, keyMapConfig KeyMapConfig) Model
Click to show internal directories.
Click to hide internal directories.