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