LoopAgentOptions.OnBehalfOfAuthorName Property

Definition

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.

Applies to