AIAgent Fields |
The AIAgent type exposes the following members.
| Name | Description | |
|---|---|---|
| Culture | 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. | |
| MaxToolResultLength | 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. | |
| SecurityContext | Current security user of the agent | |
| Title | Title of the conversation (the saved chat session name). Null until the chat is saved or loaded; see EffectiveTitle. |