Description
Is it possible to change the access level of DelegatingAIFunction.InnerFunction from protected to public? This would be useful for accessing InnerFunction from a Custom Function Calling Middleware.
Code Sample
var aiFunction = context.Function;
if (aiFunction is DelegatingAIFunction delegatingAIFunction)
{
//Access the function customized property here
(delegatingAIFunction.InnerFunction as MyAIFunction).CustomContext["ChatId"];
}
Description
Is it possible to change the access level of DelegatingAIFunction.InnerFunction from protected to public? This would be useful for accessing InnerFunction from a Custom Function Calling Middleware.
Code Sample