-
Notifications
You must be signed in to change notification settings - Fork 1
add option "--expand-tools-even-if-tool-choice-none" #2
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
base: main
Are you sure you want to change the base?
Conversation
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can either: Add 🚀 |
ef2bf5f
to
25aec8d
Compare
…ength from tokenizer config (vllm-project#19660) Signed-off-by: Ye (Charlotte) Qi <[email protected]>
Signed-off-by: Chengji Yao <[email protected]> Co-authored-by: mgoin <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Russell Bryant <[email protected]>
) Signed-off-by: SzymonOzog <[email protected]>
…llm-project#19626) Signed-off-by: Nick Hill <[email protected]>
…rts. (vllm-project#19652) Signed-off-by: Shawn Tan <[email protected]>
) Signed-off-by: Isotr0py <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
…oject#19662) Signed-off-by: chaunceyjiang <[email protected]>
Signed-off-by: Bill Nell <[email protected]>
…h MiniMaxText01ForCausalLM) (vllm-project#19677) Signed-off-by: QscQ <[email protected]>
…19446) Signed-off-by: Russell Bryant <[email protected]>
…t#19641) Signed-off-by: conroy-cheers <[email protected]>
Signed-off-by: David Xia <[email protected]>
Signed-off-by: nguyenhoangthuan99 <[email protected]>
Signed-off-by: Di Liu <[email protected]>
Signed-off-by: drisspg <[email protected]>
…er (vllm-project#19686) Signed-off-by: 刘全 <[email protected]> Co-authored-by: 刘全 <[email protected]>
Signed-off-by: Qiang Li <[email protected]>
Signed-off-by: reidliu41 <[email protected]> Co-authored-by: reidliu41 <[email protected]>
…9851) Signed-off-by: reidliu41 <[email protected]> Co-authored-by: reidliu41 <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Thomas Parnell <[email protected]>
Signed-off-by: nie3e <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…llm-project#19164) Signed-off-by: Chendi.Xue <[email protected]>
…-project#18777) Signed-off-by: Vlad Mihailescu <[email protected]>
…ts (vllm-project#19901) Signed-off-by: jiang1.li <[email protected]>
Signed-off-by: wangxiyuan <[email protected]>
…t#19910) Signed-off-by: Rabin Adhikari <[email protected]>
Signed-off-by: Isotr0py <[email protected]>
Signed-off-by: 汪志鹏 <[email protected]>
35649de
to
f2bc427
Compare
Signed-off-by: okada shintarou <[email protected]>
Signed-off-by: okada shintarou <[email protected]>
Signed-off-by: okada shintarou <[email protected]>
Signed-off-by: okada shintarou <[email protected]>
This reverts commit 377f4ac3d47d67ca05ed2df6054aab6faec02b4d. Signed-off-by: okada shintarou <[email protected]>
Signed-off-by: okada shintarou <[email protected]>
Signed-off-by: okada shintarou <[email protected]>
Signed-off-by: okada shintarou <[email protected]>
9559897
to
e282ebb
Compare
Signed-off-by: okada shintarou <[email protected]>
Signed-off-by: okada shintarou <[email protected]>
Co-authored-by: Aaron Pham <[email protected]> Signed-off-by: okada shintarou <[email protected]>
8750191
to
90eabb2
Compare
Signed-off-by: okada shintarou <[email protected]>
Add option to include tool definitions even when tool_choice is 'none'
Summary
This PR adds a new command-line option
--expand-tools-even-if-tool-choice-none
which allows including tool definitions in prompts even whentool_choice='none'
.Motivation
In the current implementation, when
tool_choice
is set to'none'
, all tool definitions are removed from the request, preventing the model from seeing the tool schemas. This change enables a workflow where:tool_choice='none'
)This is useful for:
Implementation
--expand-tools-even-if-tool-choice-none
(default: False)protocol.py
to no longer remove tools whentool_choice='none'
OpenAIServingChat
and passed it through from the API server