langchain/tests/unit_tests/agents
Zander Chase 4654c58f72
Add validation on agent instantiation for multi-input tools (#3681)
Tradeoffs here:
- No lint-time checking for compatibility
- Differs from JS package
- The signature inference, etc. in the base tool isn't simple
- The `args_schema` is optional 

Pros:
- Forwards compatibility retained
- Doesn't break backwards compatibility
- User doesn't have to think about which class to subclass (single base
tool or dynamic `Tool` interface regardless of input)
-  No need to change the load_tools, etc. interfaces

Co-authored-by: Hasan Patel <mangafield@gmail.com>
2023-04-27 15:36:11 -07:00
..
__init__.py (WIP) agents (#171) 2022-11-22 06:16:26 -08:00
test_agent.py use output parsers in agents (#2987) 2023-04-16 13:15:21 -07:00
test_mrkl.py [Fix #3365]: Changed regex to cover new line before action serious (#3367) 2023-04-24 22:05:31 -07:00
test_react.py use output parsers in agents (#2987) 2023-04-16 13:15:21 -07:00
test_sql.py Harrison/fix create sql agent (#2870) 2023-04-13 22:07:58 -07:00
test_tools.py Add validation on agent instantiation for multi-input tools (#3681) 2023-04-27 15:36:11 -07:00