Freigeben über


FunctionInvokingChatClient.FunctionInvocationContext.Terminate Property

Definition

Gets or sets a value indicating whether to terminate the request.

public:
 property bool Terminate { bool get(); void set(bool value); };
public bool Terminate { get; set; }
member this.Terminate : bool with get, set
Public Property Terminate As Boolean

Property Value

Remarks

In response to a function call request, the function may be invoked, its result added to the chat contents, and a new request issued to the wrapped client. If this property is set to true, that subsequent request will not be issued and instead the loop immediately terminated rather than continuing until there are no more function call requests in responses.

Applies to