6 references to CreateMissingServiceException
Microsoft.Extensions.AI.Abstractions (6)
ChatCompletion\ChatClientExtensions.cs (2)
54
throw Throw.
CreateMissingServiceException
(serviceType, serviceKey);
77
throw Throw.
CreateMissingServiceException
(typeof(TService), serviceKey);
Embeddings\EmbeddingGeneratorExtensions.cs (2)
60
throw Throw.
CreateMissingServiceException
(serviceType, serviceKey);
84
throw Throw.
CreateMissingServiceException
(typeof(TService), serviceKey);
Image\ImageGeneratorExtensions.cs (2)
69
throw Throw.
CreateMissingServiceException
(serviceType, serviceKey);
92
throw Throw.
CreateMissingServiceException
(typeof(TService), serviceKey);