Click or drag to resize

AIAgent Fields

The AIAgent type exposes the following members.

Fields
 NameDescription
Public fieldCulture Two-letter ISO culture code (e.g. "fr") used to translate the progress ("thinking") labels in the caller's locale. Set it per request from the session culture before calling Chat(String, ICancelOperation, ReportExecutionLog, ReportExecutionLog, Int32, ActionString); leave null to use the repository's current culture.
Public fieldStatic memberMaxToolResultLength Hard ceiling (in characters) for a single tool result appended to the conversation. A result larger than this (roughly 50k tokens) would risk exceeding the model's context window — and since the history is resent on every turn, it would brick the whole session.
Public fieldSecurityContext Current security user of the agent
Public fieldTitle Title of the conversation (the saved chat session name). Null until the chat is saved or loaded; see EffectiveTitle.
Top
See Also