Skip to content

Commit 5198d6f

Browse files
authored
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.
1 parent a5d003f commit 5198d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

langchain/prompts/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class Config:
126126

127127
@root_validator()
128128
def validate_variable_names(cls, values: Dict) -> Dict:
129-
"""Validate variable names do not restricted names."""
129+
"""Validate variable names do not include restricted names."""
130130
if "stop" in values["input_variables"]:
131131
raise ValueError(
132132
"Cannot have an input variable named 'stop', as it is used internally,"

0 commit comments

Comments
 (0)