Documentation
¶
Overview ¶
Package tui implements the Bubble Tea UI for streaming completions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Yai ¶
type Yai struct {
// Output is populated at the end of a run for non-raw output printing.
Output string
Input string
Styles present.Styles
Error *errs.Error
Config *config.Config
// contains filtered or unexported fields
}
Yai is the Bubble Tea model that manages reading stdin and streaming LLM output.
func NewYai ¶
func NewYai( ctx context.Context, r *lipgloss.Renderer, cfg *config.Config, agentSvc *agent.Service, ) *Yai
NewYai creates the Bubble Tea model used for interactive streaming output.
func (*Yai) GlamourOutput ¶
GlamourOutput returns the last rendered formatted output.
Click to show internal directories.
Click to hide internal directories.