ui

package
v0.4.18 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StepChatForwardFunc added in v0.4.1

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

Types

type StepBackend added in v0.4.0

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

func NewStepBackend added in v0.4.0

func NewStepBackend(step chat.Step) *StepBackend

func (*StepBackend) Interrupt added in v0.4.0

func (s *StepBackend) Interrupt()

func (*StepBackend) IsFinished added in v0.4.0

func (s *StepBackend) IsFinished() bool

func (*StepBackend) Kill added in v0.4.0

func (s *StepBackend) Kill()

func (*StepBackend) Start added in v0.4.0

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