1 write to Exception
Microsoft.Extensions.AI (1)
ChatCompletion\FunctionInvokingChatClient.cs (1)
787
Exception
= exception;
3 references to Exception
Microsoft.Extensions.AI (3)
ChatCompletion\FunctionInvokingChatClient.cs (3)
614
if (DetailedErrors && result.
Exception
is not null)
616
message = $"{message} Exception: {result.
Exception
.Message}";
622
return new FunctionResultContent(result.CallContent.CallId, result.CallContent.Name, functionResult) { Exception = result.
Exception
};