Description
Describe the bug
SK is not writing the fully qualified function name in the custom OTEL activity details for a function call. Refer to this line of code.
To Reproduce
Steps to reproduce the behavior:
This repo uses SK version 1.55 and Aspire to show logs and traces coming from SK.
However, I am experiencing the same behaviour in another project using SK v1.46 and Agents.Core v.1.32-alpha.
In this sample I have single plugin class called RAGPlugin
with a single tool called search
. In the traces, examining the gen_ai.choice
event, I only see search
as the function name.
Using fiddler I see that the function name is fully qualified when advertised to the LLM, so the problem is only related to how SK build the custom activity.
Expected behavior
I would expect to see the fully qualified name of the function, in this case it would be search-RAGPlugin
Screenshots
This is a screenshot of trace I see:
Platform
- Language: C#
- Source: SK version 1.46 and Agents.Core 1.32-alpha
- AI model: AzureOAI - gpt-4o
- IDE: VSCode
- OS: Windows