LoopAgentOptions.OnBehalfOfAuthorName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the author name stamped on the loop-synthesized "on-behalf-of" messages that the loop injects
into the wrapped agent for re-invocations, or null to leave them unattributed. Defaults to
null.
public string? OnBehalfOfAuthorName { get; set; }
member this.OnBehalfOfAuthorName : string with get, set
Public Property OnBehalfOfAuthorName As String
Property Value
Remarks
When the loop re-invokes the wrapped agent it sends feedback messages on the caller's behalf. Setting this name marks those autonomous messages (for example with a value such as "loop") so that callers and the wrapped agent can distinguish them from the caller's own turns. It is applied only to messages the loop synthesizes itself; messages supplied explicitly by an evaluator via ContinueWithMessages(IEnumerable<ChatMessage>) are left untouched, and the caller's original input messages are never modified.