Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AIChunkMsg ¶
type AIChunkMsg struct {
Chunk ai.StreamChunk
}
type Model ¶
type Model struct {
Styles Styles
Width int
Height int
Visible bool
History []*genai.Content
Viewport viewport.Model
Input textinput.Model
Spinner spinner.Model
Loading bool
// contains filtered or unexported fields
}
func (*Model) SetSizeExact ¶
SetSizeExact sets the panel to exact dimensions (used when the main model has already computed the width split). Skips viewport recreation if dimensions haven't changed to avoid per-frame allocation overhead.
Click to show internal directories.
Click to hide internal directories.