mirror of https://github.com/hwchase17/langchain
Fixing empty input variable crashing `PromptTemplate` validations (#14314)
- Fixes `input_variables=[""]` crashing validations with a template `"{}"` - Uses `__cause__` for proper `Exception` chaining in `check_valid_template`pull/14626/head
parent
0f02e94565
commit
8b0060184d
Loading…
Reference in New Issue