Skip to content

Commit 4dba730

Browse files
Merge pull request #50238 from GraemeMalcolm/main
Added enable_auto_functions
2 parents 8f7bcc6 + b5fd41c commit 4dba730

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)