[Feature] Add partial support for parrallel_tool_calls in Funcation Calling API#2576
[Feature] Add partial support for parrallel_tool_calls in Funcation Calling API#2576HaoyuWang4188 wants to merge 8 commits intosgl-project:mainfrom
parrallel_tool_calls in Funcation Calling API#2576Conversation
|
@HaoyuWang4188 Can you rebase, support the streaming and add test cases? |
Sure, notice that #2544 is merged. I will rebase this PR and commit the required changes ASAP. |
|
There is one more PR going on for this functionality: #2700 |
|
@HaoyuWang4188 @Tushar-ml @YAMY1234 Can you review each other's code? |
018d2b6 to
f5d649f
Compare
f5d649f to
8f5cec3
Compare
parrallel_tool_calls in Funcation Calling API
d146022 to
7ea164d
Compare
1cd1b2d to
7d62915
Compare
7d62915 to
353928e
Compare
|
@merrymercy @Ying1123 Would you help review this PR? The results of requested review in comments can be found in #2700. Many thanks! |
d63bbb1 to
088a7ea
Compare
|
Fix the conflict and re-run the CI. Would @shuaills @zhaochenyang20 help review the PR and decide whether to merge it or close it if we don't need it anymore? This PR is a patch to align the behavior of the option |
|
@HaoyuWang4188 Sorry. I am busy today and will ask Shuai to help. |
|
@HaoyuWang4188 Hi, #2700 has been updated, so this pr might not be applicable with the updated code base. Would you like to join our Slack and have a detailed discussion? |
Post my opinions in Slack. We can discuss in the post. 😺 |
|
@zhaochenyang20 merge this? |
|
@merrymercy This has conflicts in our developed map of function calling and we are still discussing this. |
|
Close this PR and will open a new one to support |
|
Thanks for helping on this. Happy Chinese New Year! We will work on it later @HaoyuWang4188. |
Update: To avoid conflict with #2700, change this PR to be a support PR for
parrallel_tool_calls. As discussed in #2700 (comment), we always setparrallel_tool_calls=falseand align the behaviour of all models to output only one tool_call in single turn.This PR adds partial support for
parrallel_tool_calls(setparrallel_tool_callsalways to be false).This is still a draft for streaming API. And it should be a follow-up PR and should be merged after #2544Motivation
Modifications
Checklist