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