Skip to content

Commit 51cb1aa

Browse files
committed
Fix dotnet format: PromptExecutionSettingsExtensions.cs indentation
Pre-existing format issue caught by CI Docker-based format check.
1 parent 1d5db4d commit 51cb1aa

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

dotnet/src/SemanticKernel.Abstractions/AI/PromptExecutionSettingsExtensions.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -176,16 +176,16 @@ public static class PromptExecutionSettingsExtensions
176176
options.AllowMultipleToolCalls = autoChoiceBehavior.Options?.AllowParallelCalls;
177177
}
178178
else
179-
if (settings.FunctionChoiceBehavior is NoneFunctionChoiceBehavior noneFunctionChoiceBehavior)
180-
{
181-
options.ToolMode = ChatToolMode.None;
182-
}
183-
else
184-
if (settings.FunctionChoiceBehavior is RequiredFunctionChoiceBehavior requiredFunctionChoiceBehavior)
185-
{
186-
options.ToolMode = ChatToolMode.RequireAny;
187-
options.AllowMultipleToolCalls = requiredFunctionChoiceBehavior.Options?.AllowParallelCalls;
188-
}
179+
if (settings.FunctionChoiceBehavior is NoneFunctionChoiceBehavior noneFunctionChoiceBehavior)
180+
{
181+
options.ToolMode = ChatToolMode.None;
182+
}
183+
else
184+
if (settings.FunctionChoiceBehavior is RequiredFunctionChoiceBehavior requiredFunctionChoiceBehavior)
185+
{
186+
options.ToolMode = ChatToolMode.RequireAny;
187+
options.AllowMultipleToolCalls = requiredFunctionChoiceBehavior.Options?.AllowParallelCalls;
188+
}
189189

190190
options.Tools = [];
191191
foreach (var function in functions)

0 commit comments

Comments
 (0)