model_picker

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package model_picker provides UI components for selecting LLM models.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

Model is a domain-specific UI Model for selecting LLM models.

func NewModel

func NewModel(b bus, theme *ui.Theme) *Model

NewModel creates a new Model picker UI Model with a bus and theme.

func (*Model) Err

func (m *Model) Err() error

Err returns any error encountered during the selection process.

func (*Model) Init

func (m *Model) Init() tea.Cmd

Init initializes the model by starting the bus polling.

func (*Model) Update

func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update handles UI messages.

func (*Model) View

func (m *Model) View() string

View returns the string representation of the UI.

Jump to

Keyboard shortcuts

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