AgentRunMode.DisallowBackground 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.
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