API referenceType aliases
AgentDoTemplate
Type Alias: AgentDoTemplate
type AgentDoTemplate = (strings, ...values) => AgentResult<void>;Defined in: packages/microfoom-core/src/program.ts:83
An act turn — do the work (via tools), return nothing. The cheap default for instructions whose payload you don't need (no schema, no final prose).
Parameters
| Parameter | Type |
|---|---|
strings | TemplateStringsArray |
...values | unknown[] |
Returns
AgentResult<void>
Example
await this.agent.do`Read the failing test and fix the bug it covers.`;