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

Request for Explanation on Restriction of OpenAI Parallel Tool Calls #51

Open
KatherineWo opened this issue Jun 3, 2024 · 1 comment

Comments

@KatherineWo
Copy link

Hello,

I have noticed that in the code, the project restricts the use of OpenAI parallel tool calls. Specifically, when using the OpenAI function calling, the agent can only make one function call at a time. Could you please provide some insight into the reason behind this restriction?

Thank you for your time and assistance.

@yuntongzhang
Copy link
Collaborator

Thank you for your question. In fact, the function calling feature was in the end not used in the AutoCodeRover default workflow (the stratified search mode). Instead, when we want the model to make context retrieval API call(s), we made it respond with natural language and then extract the structured API calls in another prompt. We found that in this way the model can make better selection on the context retrieval APIs, compared to using the function calling feature.

Hope this clarifies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants