You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide ability to specify reject message for FunctionInvokingChatClient #7139
The reject message for FunctionApprovalResponseContent with Approved = false is currently a hard-coded string:
"Error: Tool call invocation was rejected by user."
However, this situation is not necessarily an error. It should be possible to provide a custom rejection message, allowing callers to specify the actual reason for rejection.
rejections.ConvertAll(static m =>(AIContent)newFunctionResultContent(m.Response.FunctionCall.CallId,"Error: Tool call invocation was rejected by user.")):
Activity