Skip to main content

buildFailureAnalysisPrompt()

buildFailureAnalysisPrompt(events, profile): string

Defined in: prompt-builder.ts:59

Build a structured prompt for LLM analysis of agent failures.

Parameters

ParameterTypeDescription
eventsExecutionEvent[]Recent failed execution events for the agent.
profileAgentProfileThe agent's derived profile.

Returns

string

A structured prompt string.