[misc] fix typo in value error (#24995)

Signed-off-by: Prashant Gupta <prashantgupta@us.ibm.com>
This commit is contained in:
Prashant Gupta
2025-09-16 20:58:38 -07:00
committed by GitHub
parent 67532a1a68
commit ea3de5ef0d

View File

@ -383,7 +383,7 @@ class CompletionRenderer(BaseRenderer):
"""Create validated EngineTokensPrompt."""
if max_length is not None and len(token_ids) > max_length:
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. "
"Please reduce the length of the input messages.")