ui

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StepChatForwardFunc

func StepChatForwardFunc(p *tea.Program) func(msg *message.Message) error

Types

type StepBackend

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

func NewStepBackend

func NewStepBackend(step chat.Step) *StepBackend

func (*StepBackend) Interrupt

func (s *StepBackend) Interrupt()

func (*StepBackend) IsFinished

func (s *StepBackend) IsFinished() bool

func (*StepBackend) Kill

func (s *StepBackend) Kill()

func (*StepBackend) Start

func (s *StepBackend) Start(ctx context.Context, msgs []*conversation.Message) (tea.Cmd, error)

Jump to

Keyboard shortcuts

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