Share via


AIAgentHostOptions Class

Definition

Configuration options hosting AI Agents as an Executor.

public sealed class AIAgentHostOptions
type AIAgentHostOptions = class
Public NotInheritable Class AIAgentHostOptions
Inheritance
AIAgentHostOptions

Constructors

Name Description
AIAgentHostOptions()

Properties

Name Description
EmitAgentResponseEvents

Gets or sets a value indicating whether aggregated agent response events should be emitted during execution.

EmitAgentUpdateEvents

Gets or sets a value indicating whether agent streaming update events should be emitted during execution. If null, the value will be taken from the TurnToken

ForwardIncomingMessages

Gets or sets a value indicating whether incoming messages are automatically forwarded before new messages generated by the agent during its turn.

InterceptUnterminatedFunctionCalls

Gets or sets a value indicating whether FunctionCallContent without a corresponding FunctionResultContent should be intercepted and sent as a message to the workflow for handling, instead of being raised as a request.

InterceptUserInputRequests

Gets or sets a value indicating whether UserInputRequestContent should be intercepted and sent as a message to the workflow for handling, instead of being raised as a request.

ReassignOtherAgentsAsUsers

Gets or sets a value indicating whether other messages from other agents should be assigned to the User role during execution.

Applies to