1 instantiation of CustomType
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\FunctionCallContentTests..cs (1)
153
ex = Assert.Throws<NotSupportedException>(() => AIFunctionFactory.Create(() => new
CustomType
(), serializerOptions: TestJsonSerializerContext.Default.Options));
3 references to CustomType
Microsoft.Extensions.AI.Abstractions.Tests (3)
Contents\FunctionCallContentTests..cs (3)
149
var ex = Assert.Throws<NotSupportedException>(() => AIFunctionFactory.Create((
CustomType
arg) => { }, serializerOptions: TestJsonSerializerContext.Default.Options));
151
Assert.Contains(nameof(
CustomType
), ex.Message);
155
Assert.Contains(nameof(
CustomType
), ex.Message);