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
684b6870
Unverified
Commit
684b6870
authored
Sep 13, 2025
by
Kebe
Committed by
GitHub
Sep 12, 2025
Browse files
[Bugfix][Frontend] Fix `--enable-log-outputs` does not match the documentation (#24626)
Signed-off-by:
Kebe
<
mail@kebe7jun.com
>
parent
a5b84f1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
vllm/entrypoints/openai/cli_args.py
vllm/entrypoints/openai/cli_args.py
+5
-2
No files found.
vllm/entrypoints/openai/cli_args.py
View file @
684b6870
...
@@ -171,8 +171,8 @@ schema. Example: `[{"type": "text", "text": "Hello world!"}]`"""
...
@@ -171,8 +171,8 @@ schema. Example: `[{"type": "text", "text": "Hello world!"}]`"""
"""Enable the /get_tokenizer_info endpoint. May expose chat
"""Enable the /get_tokenizer_info endpoint. May expose chat
templates and other tokenizer configuration."""
templates and other tokenizer configuration."""
enable_log_outputs
:
bool
=
False
enable_log_outputs
:
bool
=
False
"""If
set to True, enable logging of
model outputs (generations)
"""If
True, log
model outputs (generations)
.
in addition to the input logging that is enabled by default
."""
Requires --enable-log-requests
."""
h11_max_incomplete_event_size
:
int
=
H11_MAX_INCOMPLETE_EVENT_SIZE_DEFAULT
h11_max_incomplete_event_size
:
int
=
H11_MAX_INCOMPLETE_EVENT_SIZE_DEFAULT
"""Maximum size (bytes) of an incomplete HTTP event (header or body) for
"""Maximum size (bytes) of an incomplete HTTP event (header or body) for
h11 parser. Helps mitigate header abuse. Default: 4194304 (4 MB)."""
h11 parser. Helps mitigate header abuse. Default: 4194304 (4 MB)."""
...
@@ -273,6 +273,9 @@ def validate_parsed_serve_args(args: argparse.Namespace):
...
@@ -273,6 +273,9 @@ def validate_parsed_serve_args(args: argparse.Namespace):
if
args
.
enable_auto_tool_choice
and
not
args
.
tool_call_parser
:
if
args
.
enable_auto_tool_choice
and
not
args
.
tool_call_parser
:
raise
TypeError
(
"Error: --enable-auto-tool-choice requires "
raise
TypeError
(
"Error: --enable-auto-tool-choice requires "
"--tool-call-parser"
)
"--tool-call-parser"
)
if
args
.
enable_log_outputs
and
not
args
.
enable_log_requests
:
raise
TypeError
(
"Error: --enable-log-outputs requires "
"--enable-log-requests"
)
def
create_parser_for_docs
()
->
FlexibleArgumentParser
:
def
create_parser_for_docs
()
->
FlexibleArgumentParser
:
...
...
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