go.bigb.es/claudio
Index
- type Model
- func New(cfg *config.Config, cdb *cache.DB) Model
- func NewModelPicker(cfg *config.Config, cdb *cache.DB, models []copilot.CopilotModel) Model
- func (Model) Cfg() *config.Config
- func (Model) Init() tea.Cmd
- func (Model) Quitting() bool
- func (Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (Model) View() string
- type PickerItem
Types
type Model struct { // contains filtered or unexported fields }
func NewModelPicker(cfg *config.Config, cdb *cache.DB, models []copilot.CopilotModel) Model
func (m Model) Cfg() *config.Config
type PickerItem struct { ID string Name string ContextLength int }
PickerItem is a generic model entry for the two-column picker.
func (p PickerItem) DisplayName() string
DisplayName returns a human-friendly label for the item.
NewModelPicker creates a Model that goes directly to the copilot model selection phase.