Almenon / Almenon/AREPL-vscode

duplicate validator function

Open
#441 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
301
Forks
46
PR merge metrics
No merged PRs in 30d

Description

**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:
1. `from langchain.llms import OpenAI`
2. Run once
3. 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.