2 references to ArgumentNullException
Microsoft.Extensions.AI (2)
ChatCompletion\AnonymousDelegatingChatClient.cs (1)
189Throw.ArgumentNullException(nameof(getResponseFunc), $"At least one of the {nameof(getResponseFunc)} or {nameof(getStreamingResponseFunc)} delegates must be non-null.");
Functions\AIFunctionFactory.cs (1)
162Throw.ArgumentNullException(nameof(target), "Target must not be null for an instance method.");