Add missing verb (#768)

Mini drive-by PR:

I came across this sentence in a stack trace for an error I had, and it
confused me because the verb I missing. So I added the verb.
ankush/async-llmchain
Albert Ziegler 1 year ago committed by GitHub
parent a5d003f0c9
commit 5198d6f541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -126,7 +126,7 @@ class BasePromptTemplate(BaseModel, ABC):
@root_validator()
def validate_variable_names(cls, values: Dict) -> Dict:
"""Validate variable names do not restricted names."""
"""Validate variable names do not include restricted names."""
if "stop" in values["input_variables"]:
raise ValueError(
"Cannot have an input variable named 'stop', as it is used internally,"

Loading…
Cancel
Save