From 4afd1e5580dcc4fc16909f3f4d8188620ec5c172 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Mon, 25 Sep 2023 22:04:04 +0800 Subject: [PATCH] .Net: Update PlannerConfigBase.cs (#2954) ### Motivation and Context To keep code clean ### Description Remove unnecessary init ### Contribution Checklist - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone :smile: --- dotnet/src/SemanticKernel.Core/Planning/PlannerConfigBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/SemanticKernel.Core/Planning/PlannerConfigBase.cs b/dotnet/src/SemanticKernel.Core/Planning/PlannerConfigBase.cs index c82a39c84749..a9bc47c5d32c 100644 --- a/dotnet/src/SemanticKernel.Core/Planning/PlannerConfigBase.cs +++ b/dotnet/src/SemanticKernel.Core/Planning/PlannerConfigBase.cs @@ -17,7 +17,7 @@ public abstract class PlannerConfigBase /// /// Delegate to get the prompt template string. /// - public Func? GetPromptTemplate { get; set; } = null; + public Func? GetPromptTemplate { get; set; } /// /// A list of plugins to exclude from the plan creation request.