Table of Contents

Class ProposalReport

Namespace
LMKit.Agents
Assembly
LM-Kit.NET.dll

Where a structured answer reports the changes an agent proposed instead of making them: the property listing the proposed actions and the property holding the outcome. An agent whose tools that write are dry runs (SimulateTools) records every change it proposes; with a report declared, the answer's actions and status are set from that record once the run ends, so they say what the run did, whatever the model wrote there: every recorded change listed once, in order, with the model's reason for it when it gave one, the status ProposedStatus exactly when a change was recorded. The rest of the answer, its summary included, stays as the model wrote it.

public sealed class ProposalReport
Inheritance
ProposalReport
Inherited Members

Remarks

Each action is written as an object of three strings: tool (the tool's name), arguments (the call's arguments as JSON text) and reason. An answer that is not a JSON object is left as it is.

Properties

ActionsProperty

Gets or sets the answer property listing the proposed actions.

NoProposalStatus

Gets or sets the outcome of a run that recorded no change while the model reported ProposedStatus: the actions it listed were never proposed. An outcome other than ProposedStatus the model chose stays.

ProposedStatus

Gets or sets the outcome of a run that proposed at least one change.

StatusProperty

Gets or sets the answer property holding the outcome.

Methods

Clone()

A copy of this report.

Share