langchain
080741d3 - core[patch]: Fix type for inner input in base prompts (#25713)

Commit
1 year ago
core[patch]: Fix type for inner input in base prompts (#25713) Thank you for contributing to LangChain! - [ ] **PR title**: "langchain-core: Fix type" - The file to modify is located in /libs/core/langchain_core/prompts/base.py - [ ] **PR message**: - **Description:** The change is a type for the inner input variable, the type go from dict to Any. This change is required since the method _validate input expects a type that is not only a dictionary. - **Dependencies:** There are no dependencies for this change - [ ] **Add tests and docs**: 1. A test is not needed. This error occurs because I overrode a portion of the _validate_input method, which is causing a 'beartype' to raise an error.
Author
Parents
Loading