Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
da3e0bd6
Unverified
Commit
da3e0bd6
authored
Jul 30, 2025
by
rongfu.leng
Committed by
GitHub
Jul 30, 2025
Browse files
[Bugfix] we should use metavar is not choices (#21902)
Signed-off-by:
rongfu.leng
<
rongfu.leng@daocloud.io
>
parent
fcfd1eb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vllm/entrypoints/openai/cli_args.py
vllm/entrypoints/openai/cli_args.py
+3
-1
No files found.
vllm/entrypoints/openai/cli_args.py
View file @
da3e0bd6
...
@@ -194,7 +194,9 @@ schema. Example: `[{"type": "text", "text": "Hello world!"}]`"""
...
@@ -194,7 +194,9 @@ schema. Example: `[{"type": "text", "text": "Hello world!"}]`"""
# Special case: Tool call parser shows built-in options.
# Special case: Tool call parser shows built-in options.
valid_tool_parsers
=
list
(
ToolParserManager
.
tool_parsers
.
keys
())
valid_tool_parsers
=
list
(
ToolParserManager
.
tool_parsers
.
keys
())
frontend_kwargs
[
"tool_call_parser"
][
"choices"
]
=
valid_tool_parsers
parsers_str
=
","
.
join
(
valid_tool_parsers
)
frontend_kwargs
[
"tool_call_parser"
][
"metavar"
]
=
(
f
"{{
{
parsers_str
}
}} or name registered in --tool-parser-plugin"
)
frontend_group
=
parser
.
add_argument_group
(
frontend_group
=
parser
.
add_argument_group
(
title
=
"Frontend"
,
title
=
"Frontend"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment