orchestrator

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConversationMode

type ConversationMode string
const (
	ModeRoundRobin ConversationMode = "round-robin"
	ModeReactive   ConversationMode = "reactive"
	ModeFreeForm   ConversationMode = "free-form"
)

type Orchestrator

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

func NewOrchestrator

func NewOrchestrator(config OrchestratorConfig, writer io.Writer) *Orchestrator

func (*Orchestrator) AddAgent

func (o *Orchestrator) AddAgent(a agent.Agent)

func (*Orchestrator) GetMessages

func (o *Orchestrator) GetMessages() []agent.Message

func (*Orchestrator) SetLogger

func (o *Orchestrator) SetLogger(logger *logger.ChatLogger)

func (*Orchestrator) Start

func (o *Orchestrator) Start(ctx context.Context) error

type OrchestratorConfig

type OrchestratorConfig struct {
	Mode          ConversationMode
	TurnTimeout   time.Duration
	MaxTurns      int
	ResponseDelay time.Duration
	InitialPrompt string
}

Jump to

Keyboard shortcuts

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