mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-21 18:41:19 +08:00
[misc] fix typo in value error (#24995)
Signed-off-by: Prashant Gupta <prashantgupta@us.ibm.com>
This commit is contained in:
parent
67532a1a68
commit
ea3de5ef0d
@ -383,7 +383,7 @@ class CompletionRenderer(BaseRenderer):
|
|||||||
"""Create validated EngineTokensPrompt."""
|
"""Create validated EngineTokensPrompt."""
|
||||||
if max_length is not None and len(token_ids) > max_length:
|
if max_length is not None and len(token_ids) > max_length:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"This maximum context length is {max_length} tokens. "
|
f"This model's maximum context length is {max_length} tokens. "
|
||||||
f"However, your request has {len(token_ids)} input tokens. "
|
f"However, your request has {len(token_ids)} input tokens. "
|
||||||
"Please reduce the length of the input messages.")
|
"Please reduce the length of the input messages.")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user