1 write to _maximumConsecutiveErrorsPerRequest
Microsoft.Extensions.AI (1)
ChatCompletion\FunctionInvokingChatClient.cs (1)
205set => _maximumConsecutiveErrorsPerRequest = Throw.IfLessThan(value, 0);
3 references to _maximumConsecutiveErrorsPerRequest
Microsoft.Extensions.AI (3)
ChatCompletion\FunctionInvokingChatClient.cs (3)
204get => _maximumConsecutiveErrorsPerRequest; 568var captureCurrentIterationExceptions = consecutiveErrorCount < _maximumConsecutiveErrorsPerRequest; 647if (consecutiveErrorCount > _maximumConsecutiveErrorsPerRequest)