go.bigb.es/claudio

v0.3.0
Doc Versions Source

Types

T type Model

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

f func New

src
func New(cfg *config.Config, cdb *cache.DB) Model

f func NewModelPicker

src

NewModelPicker creates a Model that goes directly to the copilot model selection phase.

m func (Model) Cfg

src
func (m Model) Cfg() *config.Config

m func (Model) Init

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

m func (Model) Quitting

src
func (m Model) Quitting() bool

m func (Model) Update

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

m func (Model) View

src
func (m Model) View() string

T type PickerItem

src
type PickerItem struct {
	ID            string
	Name          string
	ContextLength int
}

PickerItem is a generic model entry for the two-column picker.

m func (PickerItem) DisplayName

src
func (p PickerItem) DisplayName() string

DisplayName returns a human-friendly label for the item.

Source Files