1 instantiation of CustomType
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\FunctionCallContentTests..cs (1)
147
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)
143
var ex = Assert.Throws<NotSupportedException>(() => AIFunctionFactory.Create((
CustomType
arg) => { }, serializerOptions: TestJsonSerializerContext.Default.Options));
145
Assert.Contains(nameof(
CustomType
), ex.Message);
149
Assert.Contains(nameof(
CustomType
), ex.Message);