Skip to content

Commit df15ef1

Browse files
fix: Revert change for demo
1 parent 3a2831d commit df15ef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/backend/batch/utilities/orchestrator/semantic_kernel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import logging
33

44
from semantic_kernel import Kernel
5-
from semantic_kernel.connectors.ai.function_choice_behavior import FunctionChoiceBehavior
5+
from semantic_kernel.connectors.ai.function_call_behavior import FunctionCallBehavior
66
from semantic_kernel.contents import ChatHistory
77
from semantic_kernel.contents.chat_message_content import ChatMessageContent
88
from semantic_kernel.contents.utils.finish_reason import FinishReason
@@ -57,7 +57,7 @@ async def orchestrate(
5757
)
5858

5959
settings = self.llm_helper.get_sk_service_settings(self.chat_service)
60-
settings.function_choice_behavior = FunctionChoiceBehavior.Auto(
60+
settings.function_call_behavior = FunctionCallBehavior.EnableFunctions(
6161
filters={"included_plugins": ["Chat"]}
6262
)
6363

0 commit comments

Comments
 (0)