InvalidOperationException("No service for type 'System.Collections.Generic.IEnumerable1[Microsoft.SemanticKernel.KernelPlugin]
has been registered.
#13223
Unanswered
HappyNomad
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm partially transitioning a project from only Semantic Kernel to using some Micorosoft.Extensions.AI (so that I can use the evals library). In doing so, I'm running into an blocking issue.
When I run this code:
Although the correct tool call is being "queued up" in the result's Role=Assistant message, the Role=tool message that follows it has a "Contents" property with this exception message:
What am I doing wrong? Although I have no idea why it's searching for a KernelPlugin collection, I tried registering one using dependency injection but it didn't work.
Beta Was this translation helpful? Give feedback.
All reactions