Documentation
¶
Index ¶
Constants ¶
View Source
const LocalTenantID = runtimetypes.LocalTenantID
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DefaultModel string
DefaultProvider string
AltDefaultModel string
AltDefaultProvider string
ReadinessDefaultModel string
ReadinessDefaultProvider string
ContextLength int
NoDeleteModels bool
LocalTools map[string]taskengine.ToolsRepo
EnableHITL bool
AskApproval localtools.AskApproval
HITLService hitlservice.Service
HITLDefaultPolicyName string
Bus libbus.Messenger
KVStore libkvstore.KVManager
State *runtimestate.State
Tracker libtracker.ActivityTracker
ExtraInspectors []func(taskengine.Inspector) taskengine.Inspector
TaskEventSink taskengine.TaskEventSink
Tracing bool
SkipBackendCycle bool
// DeferDiscovery leaves discovery and the first readiness check to the caller.
DeferDiscovery bool
// BackendCycleBudget bounds synchronous startup discovery. Zero leaves it unbounded.
BackendCycleBudget time.Duration
WorkspaceID string
TenantID string
HITLPolicySource hitlservice.PolicySource
}
type Engine ¶
type Engine struct {
Models llmrepo.ModelRepo
Workers *modeldconn.Workers
TaskService execservice.TasksEnvService
Tracker libtracker.ActivityTracker
Bus libbus.Messenger
State *runtimestate.State
MCPManager *mcpworker.Manager
LocalTools []string
SetupCheck setupcheck.Result
TaskEventSink taskengine.TaskEventSink
Stop func()
SetupStatus func(ctx context.Context) (setupcheck.Result, error)
}
Click to show internal directories.
Click to hide internal directories.