repl

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package repl implements Alaska's interactive chat loop. Uses c-bata/go-prompt for live slash-command completion and charmbracelet/huh for interactive model / provider / thinking pickers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, s *Session) error

Types

type Session

type Session struct {
	Config   *config.Config
	Provider provider.Provider
	Model    string
	System   string
	Thinking string // "", "minimal", "low", "medium", "high"
	History  []provider.Message
	Out      io.Writer
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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