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
Describe the bug
In the function filter we receive the FunctionInvokingContext object and inside it the kernelFunction but for some reason the pluginName attribute inside the function metadata is null
(the kernelFunction that is registered in the kernel has valid pluginName).
To Reproduce
Steps to reproduce the behavior:
Write any function filter and register to the kernel.
Inside OnFunctionInvoking or OnFunctionInvoked the following value is null:
context.Function.Metadata.PluginName
Expected behavior
The plugin name will have the same value it has in the kernelFunction that is register in the kernel.
Screenshots
Platform
OS: Windows
IDE: Visual Studio,
Language: C#
Source: SK NuGet package version 1.5.0
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Plugin name inside FunctionInvokingContext in th IFunctionFilter is null
.Net: Plugin name inside FunctionInvokingContext in th IFunctionFilter is null
Mar 12, 2024
Describe the bug
In the function filter we receive the FunctionInvokingContext object and inside it the kernelFunction but for some reason the pluginName attribute inside the function metadata is null
(the kernelFunction that is registered in the kernel has valid pluginName).
To Reproduce
Steps to reproduce the behavior:
context.Function.Metadata.PluginName
Expected behavior
The plugin name will have the same value it has in the kernelFunction that is register in the kernel.
Screenshots
Platform
The text was updated successfully, but these errors were encountered: