File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
dotnet/src/SemanticKernel.Abstractions/AI Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments