Skip to main content

Interface: IAnswerDebug

Defined in: types.ts:636

What debug: true attaches to an answer: the exact messages the model saw and produced, and how many model calls it took.

Properties​

messages​

messages: IMessage[]

Defined in: types.ts:640

The context sent to the model and everything the call produced (assistant text, tool calls, tool results), in order.


run?​

optional run?: IRun

Defined in: types.ts:649

The stored run after the resume settled: status DONE, pending cleared (the envelopes are the ones of the PAUSED response), the messages up to the pause (the whole transcript is messages above), toolNames, the step-1 request, the run's dates. Only on the answer of resume(), where a run exists in the RunStore; never on ask(), and never on a run() that finished without pausing (such a run is not stored).


steps​

steps: number

Defined in: types.ts:642

Model calls made; 1 for ask().


system​

system: string

Defined in: types.ts:638

The system prompt as sent.