langchain/tests/unit_tests/tools
Zander Chase 4adfd790f0
Update File Management Tools to Include Root Directory (#3112)
- Permit the specification of a `root_dir` to the read/write file tools
to specify a working directory
- Add validation for attempts to read/write outside the directory (e.g.,
through `../../` or symlinks or `/abs/path`'s that don't lie in the
correct path)
- Add some tests for all


One question is whether we should make a default root directory for
these? tradeoffs either way
2023-04-19 16:46:10 -07:00
..
file_management Update File Management Tools to Include Root Directory (#3112) 2023-04-19 16:46:10 -07:00
openapi Add Request body (#2507) 2023-04-06 13:02:42 -07:00
requests tools refactor (#2961) 2023-04-17 21:35:29 -07:00
__init__.py Add a SQL agent for interacting with SQL Databases and JSON Agent for interacting with large JSON blobs (#1150) 2023-02-28 19:44:39 -08:00
test_json.py Add a SQL agent for interacting with SQL Databases and JSON Agent for interacting with large JSON blobs (#1150) 2023-02-28 19:44:39 -08:00