Issue caused by functionCache in the Function class #289
-
Bug ReportIssue caused by functionCache in the Function class: In the same project, when using the same Function.Name in different processes with different parameters and descriptions, the functionCache causes this situation to be unhandled. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
You cannot use the same name for different functions. They should have unique names |
Beta Was this translation helpful? Give feedback.
-
I have the same issue which started to occur after the latest update. This for example now throws the error "The function List<Function> f = new List<Function>
{
new Function(
functionName,
functionDescription,
parameters
)
}; I noticed that the GetOrCreateFunction method, which could help me avoid this issue, is defined as internal. Is there a recommended way to check if a function with a given name already exists in the function cache, considering the method is internal? |
Beta Was this translation helpful? Give feedback.
You cannot use the same name for different functions. They should have unique names