RouteBuilderBase<TBuilder>.AsAgentic(Boolean) Method
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.
Configures the route to operate in agentic mode, enabling behaviors associated with agentic processing.
public TBuilder AsAgentic(bool isAgentic = true);
member this.AsAgentic : bool -> 'Builder
Public Function AsAgentic (Optional isAgentic As Boolean = true) As TBuilder
Parameters
- isAgentic
- Boolean
A value indicating whether agentic mode should be enabled. Set to true to enable agentic
mode; otherwise, set to false.
Returns
The current RouteBuilder instance with the agentic mode configuration applied.
Remarks
Agentic mode may alter how the route processes requests, enabling features or behaviors specific to agentic workflows. Use this method when agentic processing is required for the route.