Skip to content

Let not-found functions pass through FunctionInvokingChatClient #6688

@jozkee

Description

@jozkee

FICC today creates a FunctionResultContent with result "Error: Requested function "{result.CallContent.Name}" not found".

FunctionInvocationStatus.NotFound => $"Error: Requested function \"{result.CallContent.Name}\" not found.",

For handling approvals on the McpChatClient (#6492 (4)), we will need to modify FICC to allow FunctionCallContent to pass through if the function wasn't found.

This would be a breaking change.

cc @stephentoub

Metadata

Metadata

Labels

area-aiMicrosoft.Extensions.AI libraries

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions