Share via


AgentRunMode.AllowBackgroundIfSupported Property

Definition

Allows the background responses from the agent. Is equivalent to configuring AllowBackgroundResponses as true. In the A2A protocol terminology will make responses be returned as AgentTask if the agent supports background responses, and as AgentMessage otherwise.

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

Property Value

Applies to