Skip to content

Commit 84538d9

Browse files
committed
Change request_type precedence
Signed-off-by: Samuel Monson <[email protected]>
1 parent 6d69079 commit 84538d9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/guidellm/benchmark/schemas.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1887,7 +1887,12 @@ def get_default(cls: type[BenchmarkGenerativeTextArgs], field: str) -> Any:
18871887
data_request_formatter: DatasetPreprocessor | dict[str, str] | str = Field(
18881888
default="chat_completions",
18891889
description="Request formatting preprocessor or template name",
1890-
validation_alias=AliasChoices("request_type", "request-type"),
1890+
validation_alias=AliasChoices(
1891+
"data_request_formatter",
1892+
"data-request-formatter",
1893+
"request_type",
1894+
"request-type",
1895+
),
18911896
)
18921897
data_collator: Callable | Literal["generative"] | None = Field(
18931898
default="generative", description="Data collator for batch processing"

0 commit comments

Comments
 (0)