app

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	LLMConfig         *config.LLMConfig
	CLIConfig         *config.CLIEnginesConfig
	DefaultRuntime    string
	CLISkillDirs      []string
	GiteaCfg          *config.GiteaConfig
	Env               string
	InteractionRouter *runtimehost.InteractionRouter
	ModelStore        *modelrouter.ModelStore
	MemoryStore       *localmemory.Store
	SessionDBPath     string
	ServerAddr        string
	OrgID             uint
	AuthToken         string
}

type Service

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

Service is the Worker composition root. It constructs the full agent.Executor pipeline and the agentrun.Service pipeline.

func NewService

func NewService(ctx context.Context, opts Options) (*Service, error)

func (*Service) AgentRunService

func (s *Service) AgentRunService() *agentrun.Service

AgentRunService returns the agentrun.Service.

func (*Service) Close

func (s *Service) Close() error

Close releases Worker-host resources created by the composition root.

func (*Service) Environment

func (s *Service) Environment() *tools.Registry

Environment returns the tool registry.

Jump to

Keyboard shortcuts

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