[Bugfix] Stop leaking the internal field name in the max_tokens validation error (#58336)
Signed-off-by: shallow10 <495593563@qq.com>
This commit is contained in:
@@ -234,7 +234,7 @@ class TokenizeParams:
|
||||
raise VLLMValidationError(
|
||||
f"{self.max_output_tokens_param}={max_output_tokens} "
|
||||
f"cannot be greater than "
|
||||
f"{self.max_total_tokens_param}={max_total_tokens=}. "
|
||||
f"{self.max_total_tokens_param}={max_total_tokens}. "
|
||||
f"Please request fewer output tokens.",
|
||||
parameter=self.max_output_tokens_param,
|
||||
value=max_output_tokens,
|
||||
|
||||
Reference in New Issue
Block a user