-
I am importing functions using OpenAPI plugin. SemanticKernel is able to figure out itself when using a single agent. However, when I try to use |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @unsafePtr, are you using Python or .Net? |
Beta Was this translation helpful? Give feedback.
-
@unsafePtr, if using Python, I've got a bug fix related to using plugins with a chat completion agent and an OpenAI assistant agent (#8330) -- but I am not sure if this is the same issue you're running into. I was able to run function calling, and I notice a break occurring when adding the chat completion agent message to the openai assistant agent channel (this is what the PR is fixing). I've added a sample with plugins -- you'll want to make sure you're execution settings with If you're using dotnet, then disregard this. :) |
Beta Was this translation helpful? Give feedback.
-
For If this doesn't help, can you please provide more details as to which agents you are using? Note: I'd expect the same behavior when using |
Beta Was this translation helpful? Give feedback.
For
ChatCompletionAgent
please be sure to set execution settings for auto-invocation:https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/GettingStartedWithAgents/Step2_Plugins.cs#L29
If this doesn't help, can you please provide more details as to which agents you are using?
Note: I'd expect the same behavior when using
AgentGroupChat
vs. invoking the agent directly (viaInvokeAsync
)