chore: formatting and minor fixes

This commit is contained in:
stevef 2026-04-19 11:51:41 +02:00
parent b6d1ae637a
commit 399a3c8ef3
4 changed files with 19 additions and 19 deletions

View file

@ -20,9 +20,9 @@ type Model struct {
Prompt string `json:"prompt"`
Completion string `json:"completion"`
} `json:"pricing"`
Created int64 `json:"created"`
Score float64
LastError string
Created int64 `json:"created"`
Score float64
LastError string
IsReachable bool
}

View file

@ -153,15 +153,15 @@ func NewAgentLoop(
eventBus := NewEventBus()
al := &AgentLoop{
bus: msgBus,
cfg: cfg,
configPath: configPath,
registry: registry,
state: stateManager,
eventBus: eventBus,
fallback: fallbackChain,
cmdRegistry: commands.NewRegistry(commands.BuiltinDefinitions()),
steering: newSteeringQueue(parseSteeringMode(cfg.Agents.Defaults.SteeringMode)),
bus: msgBus,
cfg: cfg,
configPath: configPath,
registry: registry,
state: stateManager,
eventBus: eventBus,
fallback: fallbackChain,
cmdRegistry: commands.NewRegistry(commands.BuiltinDefinitions()),
steering: newSteeringQueue(parseSteeringMode(cfg.Agents.Defaults.SteeringMode)),
}
al.agentCacheTTL = 24 * time.Hour