1 write to Exception
Microsoft.Extensions.AI (1)
ChatCompletion\FunctionInvokingChatClient.cs (1)
1672
Exception
= exception;
3 references to Exception
Microsoft.Extensions.AI (3)
ChatCompletion\FunctionInvokingChatClient.cs (3)
1099
if (IncludeDetailedErrors && result.
Exception
is not null)
1101
message = $"{message} Exception: {result.
Exception
.Message}";
1107
return new FunctionResultContent(result.CallContent.CallId, functionResult) { Exception = result.
Exception
};