Skip to content

.Net: Bug: Type 'Microsoft.SemanticKernel.KernelProcessTarget' cannot be serialized, While using Dapr Runtime #12201

Open
@anktsrkr

Description

@anktsrkr

Describe the bug
While using Latest Process framework with Dapr runtime it is unable to start the process due to below error. SC attached.

To Reproduce
Steps to reproduce the behavior:
Create a simple ProcessBuilder

 ProcessBuilder processBuilder = new("DocumentationGeneration");
  
 var infoGatheringStep = processBuilder.AddStepFromType<GatherProductInfoStep>();
 var kernelProcess = processBuilder.Build();

  var processId = Guid.NewGuid().ToString();
  var processContext = await kernelProcess.StartAsync(new KernelProcessEvent() 
    {
        Id = "Start", Data = new ProductInfo { Title = "GlowBrew" }
    }, processId: processId, actorProx);

Expected behavior
Process should run with Dapr support.

Screenshots
Image

Platform

  • Language: C#
  • Source: All the nuget packages are 1.53.0 /-alpha/-preview
  • AI modelOpenAI:GPT-4o-mini(2024-07-18)
  • IDE: Visual Studio
  • OS: Windows

Metadata

Metadata

Assignees

Labels

.NETIssue or Pull requests regarding .NET codebugSomething isn't working

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions