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

Allow customization of parallel_tool_calls request parameter for function calling #616

Closed
dnflow opened this issue Jul 31, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request Ready for next version This issue solved and waiting for next release
Milestone

Comments

@dnflow
Copy link

dnflow commented Jul 31, 2024

I upgrade to the latest 8.6.1, from v7 . And instead of passing functions, I now have to pass in Tools.
One of the benefits of tools, is that it allows parallel processing.
But in my case I do not want parallel processing.

I would like to simply be able to set this value
ex:

var request = new ChatCompletionCreateRequest() {
...
ParallelToolCalls = false,
...
}

the request to OpenAi should include
{ parallel_tool_calls: false }

More info from OpenAI
https://platform.openai.com/docs/guides/function-calling/parallel-function-calling

@kayhantolga kayhantolga self-assigned this Sep 6, 2024
@kayhantolga kayhantolga added enhancement New feature or request Ready for next version This issue solved and waiting for next release labels Sep 21, 2024
@kayhantolga kayhantolga added this to the 8.7.0 milestone Sep 23, 2024
@kayhantolga
Copy link
Member

ready with 8.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Ready for next version This issue solved and waiting for next release
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants