Click or drag to resize

AIAgent Properties

The AIAgent type exposes the following members.

Properties
 NameDescription
Public propertyConfiguration The configuration used to build this agent.
Public propertyEffectiveTitleTitle when set, otherwise the first user message truncated to 100 characters.
Public propertyLastChatUsage Token and call usage of the last Chat(String, ICancelOperation, ReportExecutionLog, ReportExecutionLog, Int32, ActionString) exchange (summed over all model round-trips of the tool loop).
Public propertyMessageCount Number of messages currently in the conversation (including the system prompt when present).
Public propertyMessages Full conversation history, including the system prompt (if any), all user turns, and all agent replies. Exposed so callers can inspect or serialise it.
Public propertyTotalUsage Cumulative token and call usage of the whole conversation, including title generation. Reset by Clear.
Top
See Also