Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProgram ¶
NewProgram creates a new Bubble Tea program with the given model.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func NewUIModel ¶
func NewUIModel( commitMsg, diff, language, promptText, commitType, tmpl string, styleReviewSuggestions string, enableEmoji bool, client ai.AIClient, startStreaming bool, ) Model
NewUIModel creates a new TUI model.
func (Model) GetAIClient ¶ added in v0.3.0
GetAIClient returns the AI client stored in the UI model.
func (Model) GetCommitMsg ¶ added in v0.3.0
GetCommitMsg returns the commit message stored in the UI model.
Click to show internal directories.
Click to hide internal directories.