chat

package
v0.0.0-...-d48bf00 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppStyle = lipgloss.NewStyle().Margin(0, 2, 0)
)
View Source
var ChatProgram *tea.Program

Functions

func NewChatModel

func NewChatModel(pc *service.PromptConfig) (*chatModel, error)

Types

type ChatUpdateFunc

type ChatUpdateFunc func(m *chatModel) (tea.Model, tea.Cmd)

type Styles

type Styles struct {
	BorderColor lipgloss.Color
	InputField  lipgloss.Style
}

func DefaultStyle

func DefaultStyle() *Styles

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL