buildFailureAnalysisPrompt()
buildFailureAnalysisPrompt(
events,profile):string
Defined in: prompt-builder.ts:59
Build a structured prompt for LLM analysis of agent failures.
Parameters
| Parameter | Type | Description |
|---|---|---|
events | ExecutionEvent[] | Recent failed execution events for the agent. |
profile | AgentProfile | The agent's derived profile. |
Returns
string
A structured prompt string.