File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
code/backend/batch/utilities/orchestrator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
import logging
3
3
4
4
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
6
6
from semantic_kernel .contents import ChatHistory
7
7
from semantic_kernel .contents .chat_message_content import ChatMessageContent
8
8
from semantic_kernel .contents .utils .finish_reason import FinishReason
@@ -57,7 +57,7 @@ async def orchestrate(
57
57
)
58
58
59
59
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 (
61
61
filters = {"included_plugins" : ["Chat" ]}
62
62
)
63
63
You can’t perform that action at this time.
0 commit comments