Share via


AgentRunMode.DisallowBackground Property

Definition

Dissallows the background responses from the agent. Is equivalent to configuring AllowBackgroundResponses as false. In the A2A protocol terminology will make responses be returned as AgentMessage.

public static Microsoft.Agents.AI.Hosting.A2A.AgentRunMode DisallowBackground { get; }
static member DisallowBackground : Microsoft.Agents.AI.Hosting.A2A.AgentRunMode
Public Shared ReadOnly Property DisallowBackground As AgentRunMode

Property Value

Applies to