duplicate validator function
Almenon opened this issue · 1 comments
Almenon commented
Describe the bug
pydantic.errors.ConfigError: duplicate validator function "langchain.prompts.base.BasePromptTemplate.validate_variable_names"; if this is intended, set `allow_reuse=True`
To Reproduce
Steps to reproduce the behavior:
from langchain.llms import OpenAI
- Run once
- Run again
Expected behavior
No error
Screenshots
If applicable, add screenshots to help explain your problem.
Other Information (please complete the following information):
- OS: [e.g. Windows10]
- Python Version [e.g. 22]
Additional context
Add any other context about the problem here.