2 references to IfLessThan
Microsoft.Extensions.AI (2)
ChatCompletion\FunctionInvokingChatClient.cs (1)
205set => _maximumConsecutiveErrorsPerRequest = Throw.IfLessThan(value, 0);
ChatReduction\SummarizingChatReducer.cs (1)
71_thresholdCount = Throw.IfLessThan(threshold ?? 0, min: 0, nameof(threshold));