Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheDetailsMsg ¶ added in v0.1.10
type CacheDetailsMsg struct {
WriteID, Title, ReadID, Model string
}
type History ¶
type History struct {
// contains filtered or unexported fields
}
func NewHistory ¶
func NewHistory() *History
func (*History) GetPrevious ¶
type Input ¶
type Input struct {
// contains filtered or unexported fields
}
func (*Input) GetPromptMode ¶
func (i *Input) GetPromptMode() PromptMode
func (*Input) GetRunMode ¶
type PromptMode ¶
type PromptMode int
const ( ExecPromptMode PromptMode = iota TokenConfigPromptMode ModelConfigPromptMode ApiBaseConfigPromptMode ChatPromptMode DefaultPromptMode )
func GetPromptModeFromString ¶
func GetPromptModeFromString(s string) PromptMode
func (PromptMode) String ¶
func (m PromptMode) String() string
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
func NewSpinner ¶
func NewSpinner() *Spinner
type TextareaModel ¶ added in v0.1.4
func InitialTextareaPrompt ¶ added in v0.1.4
func InitialTextareaPrompt(value string) TextareaModel
func (TextareaModel) Init ¶ added in v0.1.4
func (m TextareaModel) Init() tea.Cmd
func (TextareaModel) View ¶ added in v0.1.4
func (m TextareaModel) View() string
Click to show internal directories.
Click to hide internal directories.