Documentation
¶
Index ¶
- func NewEngine(cfg config.Config, store session.Store, registry *tools.Registry) (*engine.Engine, error)
- func NewEngineWithProvider(cfg config.Config, p provider.Provider, store session.Store, ...) (*engine.Engine, error)
- func NewHarness(cfg config.Config, opts HarnessOptions) (*agentharness.AgentHarness, error)
- func NewHarnessWithProvider(cfg config.Config, p provider.Provider, opts HarnessOptions) *agentharness.AgentHarness
- func NewHarnessWithProviderE(cfg config.Config, p provider.Provider, opts HarnessOptions) (*agentharness.AgentHarness, error)
- type CapabilityOptions
- type HarnessOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEngineWithProvider ¶
func NewHarness ¶
func NewHarness(cfg config.Config, opts HarnessOptions) (*agentharness.AgentHarness, error)
func NewHarnessWithProvider ¶
func NewHarnessWithProvider(cfg config.Config, p provider.Provider, opts HarnessOptions) *agentharness.AgentHarness
func NewHarnessWithProviderE ¶
func NewHarnessWithProviderE(cfg config.Config, p provider.Provider, opts HarnessOptions) (*agentharness.AgentHarness, error)
Types ¶
type CapabilityOptions ¶
type HarnessOptions ¶
type HarnessOptions struct {
Store sessiontree.Repo
Tools *tools.Registry
PromptStore cache.Store
Artifacts artifact.Store
Sink event.Sink
Approver tools.Approver
StopHook engine.StopHook
CompactionPrompt compaction.PromptOptions
TitleGenerator agentharness.TitleGenerator
TurnPolicy agentharness.TurnPolicy
LoopLimits agentharness.LoopLimits
NewID func(string) string
Capability CapabilityOptions
}
Click to show internal directories.
Click to hide internal directories.