microsoft / semantic-kernel

Integrate cutting-edge LLM technology quickly and easily into your apps
https://aka.ms/semantic-kernel
MIT License
21.31k stars 3.13k forks source link

Planner does not call expected skills to achieve goal #576

Closed Hevia closed 1 year ago

Hevia commented 1 year ago

Hey all,

Love Semantic Kernel, it does a great job of organizing the codebase for LLM apps, and distinction/chaining of Semantic and Native skills is a charm

I've tried messing around with the planner to create a small lil star wars themed demo, but the planner itself does not chain or use the correct skills at all. Here is my code

My code:

using Microsoft.SemanticKernel.CoreSkills;
using Microsoft.SemanticKernel.KernelExtensions;
using Microsoft.SemanticKernel.Orchestration;

var kernel = Kernel.Builder.Build();

// For Azure Open AI service endpoint and keys please see
// https://learn.microsoft.com/azure/cognitive-services/openai/quickstart?pivots=rest-api
kernel.Config.AddAzureTextCompletionService(stuff goes here);

// import any other skills or functions ....
var planner = kernel.ImportSkill(new PlannerSkill(kernel));
var chatSkills = kernel.ImportSemanticSkillFromDirectory("Skills", "Chat");

int step = 1;
int maxSteps = 10;
var input = "";

while(true) {
    Console.Write("User: ");
    input = Console.ReadLine();
    step = 1;
    maxSteps = 4;

    if (input.ToLower() == "exit")
    {
        break;
    }

    var result = await kernel.RunAsync(input, planner["CreatePlan"]);

    // Pulled from: https://github.com/microsoft/semantic-kernel/blob/32e35d7c28a40d67bd27d81ddbfe028697c872a7/samples/notebooks/dotnet/5-using-the-planner.ipynb
    var executionResults = result;

    // Execute the plan until it is complete or we reach the maximum number of steps
    while (!executionResults.Variables.ToPlan().IsComplete && step < maxSteps) {
        var results = await kernel.RunAsync(executionResults.Variables, planner["ExecutePlan"]);
        if (results.Variables.ToPlan().IsSuccessful)
        {
            Console.WriteLine($"Step {step} \n");
            Console.WriteLine(results.Variables.ToPlan().PlanString);

            if (results.Variables.ToPlan().IsComplete)
            {
                Console.WriteLine($"Step {step} - COMPLETE!");
                Console.WriteLine("C-3PO: " + results.Variables.ToPlan().Result);
                break;
            }
        }
        else
        {
            Console.WriteLine($"Step {step} - Execution failed!");
            Console.WriteLine(results.Variables.ToPlan().Result);
            break;
        }

        executionResults = results;
        step++;
    }
}

Console.WriteLine("Program ended.");

I have two skills I am trying this out with:

From my understanding the planner leverages the function description to decide which skills to use

FindStarTrip description: "Help the user find a star trips between locations"

YodaSpeak description: "Translate a sentence from the user to Yoda-speak"

No matter what the user input is, the Planner only ever calls YodaSpeak

Whats going on here? And if I should be called a different built-in Planner skill or using the Planner in a different way could the docs be updated to reflect that?

Thanks!

Hevia commented 1 year ago

I am running the latest version as well :)

Hevia commented 1 year ago

Relevant (now closed) issue: https://github.com/microsoft/semantic-kernel/issues/211

I switched over to text-davinci-003, which does improve results in that FindStarTrips when the input is "Find me a trip from Naboo to Mandalore" will ALWAYS call YodaSpeak before FindStarTrips

but if the ask is "Please translate X to YodaSpeak" only YodaSpeak is called

BIZZLETONC commented 1 year ago

Seems like the error is caused by a missing dependency libffi-dev.try to install libffi-dev like so

On Ubuntu/Debian/Linux Mint:

sudo apt-get install libffi-dev

On Fedora:

sudo dnf install libffi-devel

On CentOS/RHEL:

sudo yum install libffi-devel

BIZZLETONC commented 1 year ago

After installing the missing dependency, try running the Semantic Kernel again and see if the issues been resolved

Hevia commented 1 year ago

@BIZZLETONC Thanks for your help, but that has no relevance to my issue. I am on windows, and I am not using the Python (which itself lacks a planner)

dluc commented 1 year ago

The current planner is designed for GPT4 (and probably we should document that). Are you using GPT3 or 3.5 by any chance? Those models are not powerful enough for this use case.

Scott-Klein commented 1 year ago

The current planner is designed for GPT4 (and probably we should document that). Are you using GPT3 or 3.5 by any chance? Those models are not powerful enough for this use case.

Can you show me an example of how to switch the planner to use GPT4 when planner["CreatePlan"] is called, and then change back to davinci for subsequent calls? Or are we meant to use GPT4 all the time. I'm already burning money testing my app and would like to test using mostly the cheaper services.

poweihuang0817 commented 1 year ago

image

I'm suspecting this might be the problem. I see input already as key and not get replaced...

/// Add any missing variables from a plan state variables to the context.
/// </summary>
private static void AddVariablesToContext(ContextVariables vars, SKContext context)
{
    // Loop through vars and add anything missing to context
    foreach (var item in vars)
    {
        if (!context.Variables.ContainsKey(item.Key))
        {
            context.Variables.Set(item.Key, item.Value);
        }
    }
}
poweihuang0817 commented 1 year ago

Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.Planning.Plan.AddVariablesToContext(Microsoft.SemanticKernel.Orchestration.ContextVariables vars, Microsoft.SemanticKernel.Orchestration.SKContext context) Line 438 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.Planning.Plan.InvokeAsync(Microsoft.SemanticKernel.Orchestration.SKContext context, Microsoft.SemanticKernel.AI.TextCompletion.CompleteRequestSettings settings, Microsoft.Extensions.Logging.ILogger log, System.Threading.CancellationToken cancellationToken) Line 336 C# CopilotChatApi.dll!SemanticKernel.Service.Skills.ChatSkill.AcquireExternalInformationAsync(Microsoft.SemanticKernel.Orchestration.SKContext context) Line 237 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.SkillDefinition.SKFunction.InvokeNativeAsync(Microsoft.SemanticKernel.Orchestration.SKContext context) Line 392 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.SkillDefinition.SKFunction.InvokeAsync(Microsoft.SemanticKernel.Orchestration.SKContext context, Microsoft.SemanticKernel.AI.TextCompletion.CompleteRequestSettings settings, Microsoft.Extensions.Logging.ILogger log, System.Threading.CancellationToken cancellationToken) Line 190 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.SkillDefinition.SKFunctionExtensions.InvokeWithCustomInputAsync(Microsoft.SemanticKernel.SkillDefinition.ISKFunction function, Microsoft.SemanticKernel.Orchestration.ContextVariables input, Microsoft.SemanticKernel.Memory.ISemanticTextMemory memory, Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection skills, Microsoft.Extensions.Logging.ILogger log, System.Threading.CancellationToken cancellationToken) Line 111 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.TemplateEngine.Blocks.CodeBlock.RenderFunctionCallAsync(Microsoft.SemanticKernel.TemplateEngine.Blocks.FunctionIdBlock fBlock, Microsoft.SemanticKernel.Orchestration.SKContext context) Line 127 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.TemplateEngine.Blocks.CodeBlock.RenderCodeAsync(Microsoft.SemanticKernel.Orchestration.SKContext context) Line 87 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.TemplateEngine.PromptTemplateEngine.RenderAsync(System.Collections.Generic.IList blocks, Microsoft.SemanticKernel.Orchestration.SKContext context) Line 78 C# [Resuming Async Method] System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.TemplateEngine.PromptTemplateEngine.d5>.ExecutionContextCallback(object s) Line 287 C# System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.TemplateEngine.PromptTemplateEngine.d5>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.TemplateEngine.PromptTemplateEngine.d5>.MoveNext() Line 302 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.TrySetResult(System.Canon result) Line 401 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.TemplateEngine.Blocks.CodeBlock.RenderCodeAsync(Microsoft.SemanticKernel.Orchestration.SKContext context) Line 92 C# [Resuming Async Method] System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.TemplateEngine.Blocks.CodeBlock.d5>.ExecutionContextCallback(object s) Line 287 C# System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.TemplateEngine.Blocks.CodeBlock.d5>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Canon>.AsyncStateMachineBox<Microsoft.SemanticKernel.TemplateEngine.Blocks.CodeBlock.d5>.MoveNext() Line 302 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.TrySetResult(System.Canon result) Line 401 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.TemplateEngine.Blocks.CodeBlock.RenderFunctionCallAsync(Microsoft.SemanticKernel.TemplateEngine.Blocks.FunctionIdBlock fBlock, Microsoft.SemanticKernel.Orchestration.SKContext context) Line 142 C# [Resuming Async Method] System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.TemplateEngine.Blocks.CodeBlock.d8>.ExecutionContextCallback(object s) Line 287 C# System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.TemplateEngine.Blocks.CodeBlock.d8>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Canon>.AsyncStateMachineBox<Microsoft.SemanticKernel.TemplateEngine.Blocks.CodeBlock.d8>.MoveNext() Line 302 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.TrySetResult(System.Canon result) Line 401 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.SkillDefinition.SKFunctionExtensions.InvokeWithCustomInputAsync(Microsoft.SemanticKernel.SkillDefinition.ISKFunction function, Microsoft.SemanticKernel.Orchestration.ContextVariables input, Microsoft.SemanticKernel.Memory.ISemanticTextMemory memory, Microsoft.SemanticKernel.SkillDefinition.IReadOnlySkillCollection skills, Microsoft.Extensions.Logging.ILogger log, System.Threading.CancellationToken cancellationToken) Line 122 C# [Resuming Async Method] System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.SkillDefinition.SKFunctionExtensions.d6>.ExecutionContextCallback(object s) Line 287 C# System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.SkillDefinition.SKFunctionExtensions.d6>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Canon>.AsyncStateMachineBox<Microsoft.SemanticKernel.SkillDefinition.SKFunctionExtensions.d6>.MoveNext() Line 302 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.TrySetResult(System.Canon result) Line 401 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.SkillDefinition.SKFunction.InvokeNativeAsync(Microsoft.SemanticKernel.Orchestration.SKContext context) Line 488 C# [Resuming Async Method] System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.SkillDefinition.SKFunction.d39>.ExecutionContextCallback(object s) Line 287 C# System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.SkillDefinition.SKFunction.d39>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Canon>.AsyncStateMachineBox<Microsoft.SemanticKernel.SkillDefinition.SKFunction.d39>.MoveNext() Line 302 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetExistingTaskResult(System.Threading.Tasks.Task task, System.Canon result) Line 446 C# [Completed] CopilotChatApi.dll!SemanticKernel.Service.Skills.DocumentMemorySkill.QueryDocumentsAsync(string query, Microsoft.SemanticKernel.Orchestration.SKContext context) Line 108 C# System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<SemanticKernel.Service.Skills.DocumentMemorySkill.d3>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.Memory.SemanticTextMemory.SearchAsync(string collection, string query, int limit, double minRelevanceScore, bool withEmbeddings, System.Threading.CancellationToken cancellationToken) Line 118 C# [Resuming Async Method] System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Microsoft.SemanticKernel.Memory.SemanticTextMemory.d7>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task<Microsoft.SemanticKernel.AI.Embeddings.Embedding>.TrySetResult(Microsoft.SemanticKernel.AI.Embeddings.Embedding result) Line 401 C# Microsoft.SemanticKernel.Abstractions.dll!Microsoft.SemanticKernel.AI.Embeddings.EmbeddingGenerationExtensions.GenerateEmbeddingAsync<string, float>(Microsoft.SemanticKernel.AI.Embeddings.IEmbeddingGeneration<string, float> generator, string value, System.Threading.CancellationToken cancellationToken) Line 48 C# [Resuming Async Method] System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<Microsoft.SemanticKernel.AI.Embeddings.Embedding>.AsyncStateMachineBox<Microsoft.SemanticKernel.AI.Embeddings.EmbeddingGenerationExtensions.d0<string, float>>.ExecutionContextCallback(object s) Line 287 C# System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<Microsoft.SemanticKernel.AI.Embeddings.Embedding>.AsyncStateMachineBox<Microsoft.SemanticKernel.AI.Embeddings.EmbeddingGenerationExtensions.d0<string, float>>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<Microsoft.SemanticKernel.AI.Embeddings.Embedding>.AsyncStateMachineBox<Microsoft.SemanticKernel.AI.Embeddings.EmbeddingGenerationExtensions.d0<System.Canon, float>>.MoveNext() Line 302 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.TrySetResult(System.Canon result) Line 401 C# Microsoft.SemanticKernel.Connectors.AI.OpenAI.dll!Microsoft.SemanticKernel.Connectors.AI.OpenAI.AzureSdk.ClientBase.InternalGenerateTextEmbeddingsAsync(System.Collections.Generic.IList data, System.Threading.CancellationToken cancellationToken) Unknown [Resuming Async Method] System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Collections.Generic.IList<Microsoft.SemanticKernel.AI.Embeddings.Embedding>>.AsyncStateMachineBox<Microsoft.SemanticKernel.Connectors.AI.OpenAI.AzureSdk.ClientBase.d8>.ExecutionContextCallback(object s) Line 287 C# System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Collections.Generic.IList<Microsoft.SemanticKernel.AI.Embeddings.Embedding>>.AsyncStateMachineBox<Microsoft.SemanticKernel.Connectors.AI.OpenAI.AzureSdk.ClientBase.d8>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Canon>.AsyncStateMachineBox<Microsoft.SemanticKernel.Connectors.AI.OpenAI.AzureSdk.ClientBase.d8>.MoveNext() Line 302 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.Canon>.SetExistingTaskResult(System.Threading.Tasks.Task task, System.Canon result) Line 446 C# [Completed] Microsoft.SemanticKernel.Connectors.AI.OpenAI.dll!Microsoft.SemanticKernel.Connectors.AI.OpenAI.AzureSdk.ClientBase.RunRequestAsync<Azure.Response>(System.Func<System.Threading.Tasks.Task<Azure.Response>> request) Unknown System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<Azure.Response>.AsyncStateMachineBox<Microsoft.SemanticKernel.Connectors.AI.OpenAI.AzureSdk.ClientBase.d18<Azure.Response>>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# Azure.AI.OpenAI.dll!Azure.AI.OpenAI.OpenAIClient.GetEmbeddingsAsync(string deploymentOrModelName, Azure.AI.OpenAI.EmbeddingsOptions embeddingsOptions, System.Threading.CancellationToken cancellationToken) Unknown [Resuming Async Method] System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<Azure.Response>.AsyncStateMachineBox<Azure.AI.OpenAI.OpenAIClient.d21>.ExecutionContextCallback(object s) Line 287 C# System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<Azure.Response>.AsyncStateMachineBox<Azure.AI.OpenAI.OpenAIClient.d21>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Azure.AI.OpenAI.OpenAIClient.d21>.MoveNext() Line 302 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task<System.Canon>.TrySetResult(System.Canon result) Line 401 C# Azure.AI.OpenAI.dll!Azure.Core.HttpPipelineExtensions.ProcessMessageAsync(Azure.Core.Pipeline.HttpPipeline pipeline, Azure.Core.HttpMessage message, Azure.RequestContext requestContext, System.Threading.CancellationToken cancellationToken) Unknown [Resuming Async Method] System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Azure.Core.HttpPipelineExtensions.d0>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetExistingTaskResult(System.Threading.Tasks.Task task, System.Threading.Tasks.VoidTaskResult result) Line 446 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder.SetResult() Line 49 C# [Completed] Azure.Core.dll!Azure.Core.Pipeline.RetryPolicy.ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline, bool async) Unknown System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Azure.Core.Pipeline.RetryPolicy.d11>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.TrySetResult(System.Threading.Tasks.VoidTaskResult result) Line 401 C# Azure.Core.dll!Azure.Core.Pipeline.RedirectPolicy.ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline, bool async) Unknown [Resuming Async Method] System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Azure.Core.Pipeline.RedirectPolicy.d7>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetExistingTaskResult(System.Threading.Tasks.Task task, System.Threading.Tasks.VoidTaskResult result) Line 446 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder.SetResult() Line 49 C# [Completed] Azure.Core.dll!Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline, bool async) Unknown System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.d11>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetExistingTaskResult(System.Threading.Tasks.Task task, System.Threading.Tasks.VoidTaskResult result) Line 446 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder.SetResult() Line 49 C# [Completed] Azure.Core.dll!Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline, bool async) Unknown System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Azure.Core.Pipeline.ResponseBodyPolicy.d5>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.TrySetResult(System.Threading.Tasks.VoidTaskResult result) Line 401 C# Azure.Core.dll!Azure.Core.Pipeline.ResponseBodyPolicy.CopyToAsync(System.IO.Stream source, System.IO.Stream destination, System.Threading.CancellationTokenSource cancellationTokenSource) Unknown [Resuming Async Method] System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<Azure.Core.Pipeline.ResponseBodyPolicy.d6>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.TrySetResult(int result) Line 401 C# System.Net.Http.dll!System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken) Unknown [Resuming Async Method] System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<System.Net.Http.HttpConnection.ContentLengthReadStream.d3>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetExistingTaskResult(System.Threading.Tasks.Task task, int result) Line 446 C# [Completed] System.Net.Http.dll!System.Net.Http.HttpConnection.ReadAsync(System.Memory destination) Unknown System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<System.Net.Http.HttpConnection.d105>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetExistingTaskResult(System.Threading.Tasks.Task task, int result) Line 446 C# [Completed] System.Net.Security.dll!System.Net.Security.SslStream.ReadAsyncInternal(System.Net.Security.AsyncReadWriteAdapter adapter, System.Memory buffer) Unknown System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<System.Net.Security.SslStream.d188>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 302 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining) Line 743 C# System.Private.CoreLib.dll!System.Threading.Tasks.Task.RunContinuations(object continuationObject) Line 3381 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetExistingTaskResult(System.Threading.Tasks.Task task, int result) Line 446 C# [Completed] System.Net.Security.dll!System.Net.Security.SslStream.EnsureFullTlsFrameAsync(System.Net.Security.AsyncReadWriteAdapter adapter) Unknown System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 183 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStateMachineBox<System.Net.Security.SslStream.d186>.MoveNext(System.Threading.Thread threadPoolThread) Line 324 C# System.Net.Sockets.dll!System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation(System.Action continuation, object state, bool forceAsync, bool requiresExecutionContextFlow) Unknown System.Net.Sockets.dll!System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.OnCompleted(System.Net.Sockets.SocketAsyncEventArgs _) Unknown System.Private.CoreLib.dll!System.Threading._IOCompletionCallback.PerformIOCompletionCallback(uint errorCode, uint numBytes, System.Threading.NativeOverlapped* pNativeOverlapped) Line 76 C# [Async Call Stack]
[Async] Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.TemplateEngine.PromptTemplateEngine.RenderAsync(string templateText, Microsoft.SemanticKernel.Orchestration.SKContext context) Line 61 C# [Async] Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.SemanticFunctions.PromptTemplate.RenderAsync(Microsoft.SemanticKernel.Orchestration.SKContext executionContext) Line 110 C# [Async] Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.SkillDefinition.SKFunction.FromSemanticConfig.LocalFunc|0(Microsoft.SemanticKernel.AI.TextCompletion.ITextCompletion client, Microsoft.SemanticKernel.AI.TextCompletion.CompleteRequestSettings requestSettings, Microsoft.SemanticKernel.Orchestration.SKContext context) Line 111 C# [Async] Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.SkillDefinition.SKFunction.InvokeSemanticAsync(Microsoft.SemanticKernel.Orchestration.SKContext context, Microsoft.SemanticKernel.AI.TextCompletion.CompleteRequestSettings settings) Line 341 C# [Async] CopilotChatApi.dll!SemanticKernel.Service.Skills.ChatSkill.ChatAsync(string message, Microsoft.SemanticKernel.Orchestration.SKContext context) Line 423 C# [Async] Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.SkillDefinition.SKFunction.InvokeNativeAsync(Microsoft.SemanticKernel.Orchestration.SKContext context) Line 450 C# [Async] Microsoft.SemanticKernel.Core.dll!Microsoft.SemanticKernel.Kernel.RunAsync(Microsoft.SemanticKernel.Orchestration.ContextVariables variables, System.Threading.CancellationToken cancellationToken, Microsoft.SemanticKernel.SkillDefinition.ISKFunction[] pipeline) Line 186 C# [Async] CopilotChatApi.dll!SemanticKernel.Service.Controllers.SemanticKernelController.InvokeFunctionAsync(Microsoft.SemanticKernel.IKernel kernel, SemanticKernel.Service.Storage.ChatSessionRepository chatRepository, SemanticKernel.Service.Storage.ChatMessageRepository chatMessageRepository, Microsoft.Extensions.Options.IOptions documentMemoryOptions, SemanticKernel.Service.Skills.CopilotChatPlanner planner, Microsoft.Extensions.Options.IOptions plannerOptions, SemanticKernel.Service.Model.Ask ask, SemanticKernel.Service.Model.OpenApiSkillsAuthHeaders openApiSkillsAuthHeaders, string skillName, string functionName) Line 109 C# [Async] Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Internal.ObjectMethodExecutor executor, object controller, object[] arguments) Line 204 C# [Async] Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync.__Logged|12_1(Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker invoker) Line 439 C# [Async] Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync.Awaited|10_0(Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker invoker, System.Threading.Tasks.Task lastTask, Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.State next, Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Scope scope, object state, bool isCompleted) Line 325 C# [Async] Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync.Awaited|10_0(Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker invoker, System.Threading.Tasks.Task lastTask, Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.State next, Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Scope scope, object state, bool isCompleted) Line 325 C# [Async] Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync.__Awaited|13_0(Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker invoker, System.Threading.Tasks.Task lastTask, Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.State next, Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Scope scope, object state, bool isCompleted) Line 487 C# [Async] Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync.Awaited|20_0(Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker invoker, System.Threading.Tasks.Task lastTask, Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.State next, Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Scope scope, object state, bool isCompleted) Line 253 C# [Async] Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeAsync.__Logged|17_1(Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker invoker) Line 127 C# [Async] Microsoft.AspNetCore.Routing.dll!Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke.__AwaitRequestTask|6_0(Microsoft.AspNetCore.Http.Endpoint endpoint, System.Threading.Tasks.Task requestTask, Microsoft.Extensions.Logging.ILogger logger) Line 77 C# [Async] Swashbuckle.AspNetCore.SwaggerUI.dll!Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext httpContext) Unknown [Async] Swashbuckle.AspNetCore.Swagger.dll!Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext httpContext, Swashbuckle.AspNetCore.Swagger.ISwaggerProvider swaggerProvider) Unknown [Async] Microsoft.AspNetCore.Authorization.Policy.dll!Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy, Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult authorizeResult) Line 51 C# [Async] Microsoft.AspNetCore.Authorization.Policy.dll!Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext context) Line 107 C# [Async] Microsoft.AspNetCore.Authentication.dll!Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext context) Line 83 C# [Async] Microsoft.AspNetCore.Diagnostics.dll!Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext context) Unknown [Async] Microsoft.AspNetCore.Server.Kestrel.Core.dll!Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests(Microsoft.AspNetCore.Hosting.Server.IHttpApplication application) Line 671 C# [Async] Microsoft.AspNetCore.Server.Kestrel.Core.dll!Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync(Microsoft.AspNetCore.Hosting.Server.IHttpApplication application) Line 573 C#

poweihuang0817 commented 1 year ago

image

lemillermicrosoft commented 1 year ago

We've transitioned away from the old PlannerSkill to a set of planners like ActionPlanner and SequentialPlanner (this was closest to previous implementation). Others on the way. Please open a new issue if you are still experiencing issues @Hevia