Kind: Class
Source: atloria-monorepo/libs/agent-core/src/runtime/live-swe-loop.ts
Implements: IAgentLoop
Methods
| Method | Signature | Returns |
|---|---|---|
run | `run(config: AgentConfig | AgentInputItem[], options: RunOptions |
runStreamed | `runStreamed(config: AgentConfig | AgentInputItem[], options: RunOptions |
Where it refuses work
LiveSweLoopstops the work withFormatErrorwhen!tool.LiveSweLoopstops the work with an early return wheneventQueue.length > 0.LiveSweLoopstops the work with an early return whenrunComplete.LiveSweLoopstops the work with an early return whentoolCallItems.length === 0.LiveSweLoopstops the work with an early return whenm.role === 'tool'.LiveSweLoopstops the work with an early return whenm.role === 'assistant'.
When something fails
LiveSweLoophandles failure in 4 places: it lets it reach the caller in 3, and logs it and continues in 1.
Was this page helpful?