Share via


AutoFunctionInvocationContext.Terminate Property

Definition

Gets or sets a value indicating whether the operation associated with the filter should be terminated.

By default, this value is false, which means all functions will be invoked. If set to true, the behavior depends on how functions are invoked:

  • If functions are invoked sequentially (the default behavior), the remaining functions will not be invoked, and the last request to the LLM will not be performed.

  • If functions are invoked concurrently (controlled by the AllowConcurrentInvocation option), other functions will still be invoked, and the last request to the LLM will not be performed.

In both cases, the automatic function invocation process will be terminated, and the result of the last executed function will be returned to the caller.

public bool Terminate { get; set; }
member this.Terminate : bool with get, set
Public Property Terminate As Boolean

Property Value

Applies to