Skip to content

Commit dba117c

Browse files
fix: remove type=bool from click flag option
When is_flag=True, Click automatically handles boolean values. Specifying type=bool can cause Pydantic validation errors. Signed-off-by: Alon Kellner <[email protected]>
1 parent 4e5393e commit dba117c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guidellm/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def benchmark():
384384
)
385385
@click.option(
386386
"--stop-over-saturated",
387-
type=bool,
387+
"--stop-osd", # alias
388388
default=BenchmarkGenerativeTextArgs.get_default("stop_over_saturated"),
389389
help=(
390390
"Set this flag to stop the benchmark if the model is over-saturated. "

0 commit comments

Comments
 (0)