Skip to main content

Interface: IStoredAnswer

Defined in: internal/run-store/types.ts:366

The answer of a run as it passed the output checks, kept on the run while a human reviews it (D99).

Stored by the gateway's settlement on a RESULT_REVIEW pause and read back on the decision: the model's result (text, usage, trace id), the parsed structured, the citations, the warnings and the tool that ended the run.

Properties​

chunkIds​

chunkIds: string[]

Defined in: internal/run-store/types.ts:372

Chunk ids of the knowledge base in the request: the citations and the trace annotation.


endedByTool?​

optional endedByTool?: string

Defined in: internal/run-store/types.ts:376

Name of the tool that ended the run (D86), when a tool did.


issues​

issues: IIssue[]

Defined in: internal/run-store/types.ts:374

The warnings of the output rules.


result​

result: IModelResult

Defined in: internal/run-store/types.ts:368

The model's final step, as the LLMClient returned it; usage is the run's whole usage.


structured?​

optional structured?: unknown

Defined in: internal/run-store/types.ts:370

The parsed, schema-checked answer; present when the run had an outputSchema.