Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure parallel tool call support Open AI client via Agent for Dotnet Package #4978

Open
nejaco-MSFT opened this issue Jan 9, 2025 · 1 comment
Labels
dotnet issues related to AutoGen.Net needs-triage

Comments

@nejaco-MSFT
Copy link

What feature would you like to be added?

We would like to configure parallel tool call support via agent.

Why is this needed?

We are currently using Parallel tool calling in the C# version of the Autogen SDK Version 0.2.1. However, due to the nature of our Agent workflow we are noticing that Gpt4o is hallucinating heavily and making up tool calls.

This does not seem to be happening when a single tool was recommended at a time. We would like a flag to disable the parallel tool calling ability when calling into Open AI

https://platform.openai.com/docs/guides/function-calling/parallel-function-calling#parallel-function-calling-and-structured-outputs

@ekzhu ekzhu added the dotnet issues related to AutoGen.Net label Jan 10, 2025
@ekzhu
Copy link
Collaborator

ekzhu commented Jan 10, 2025

As a side note, for Python API you can disable parallel tool call for OpenAI and Azure OpenAI models by passing parallel_tool_calls: false to the extra_create_args to the model client.

@nejaco-MSFT nejaco-MSFT changed the title Configure parallel tool call support Open AI client via Agent Configure parallel tool call support Open AI client via Agent for Dotnet Package Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet issues related to AutoGen.Net needs-triage
Projects
None yet
Development

No branches or pull requests

2 participants