Skip to content

Commit b5fd41c

Browse files
committed
Added enable_auto_functions
1 parent 8f7bcc6 commit b5fd41c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

learn-pr/wwl-data-ai/build-agent-with-custom-tools/includes/4-how-use-custom-tools.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Register the function with your agent using the Azure AI SDK:
3333
functions = FunctionTool(user_functions)
3434
toolset = ToolSet()
3535
toolset.add(functions)
36+
project_client.agents.enable_auto_function_calls(toolset=toolset)
3637

3738
# Create your agent with the toolset
3839
agent = project_client.agents.create_agent(

0 commit comments

Comments
 (0)