You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/tests/unit_tests/tools
Deepak S V 49ca02711e
Improved query, print & exception handling in REPL Tool (#4997)
Update to pull request https://github.com/hwchase17/langchain/pull/3215

Summary:
1) Improved the sanitization of query (using regex), by removing python
command (since gpt-3.5-turbo sometimes assumes python console as a
terminal, and runs python command first which causes error). Also
sometimes 1 line python codes contain single backticks.
2) Added 7 new test cases.

For more details, view the previous pull request.

---------

Co-authored-by: Deepak S V <svdeepak99@users.noreply.github.com>
1 year ago
..
file_management
openapi
powerbi power bi api wrapper integration tests & bug fix (#4983) 1 year ago
python Improved query, print & exception handling in REPL Tool (#4997) 1 year ago
requests
shell Accept str or list[str] for shell (#4060) 1 year ago
__init__.py
test_base.py Pass parsed inputs through to tool _run (#4309) 1 year ago
test_exported.py Update some Tools Docs (#3913) 1 year ago
test_json.py
test_public_api.py add the existing OpenWeatherMap tool to the public api (#4292) 1 year ago
test_signatures.py Pass parsed inputs through to tool _run (#4309) 1 year ago
test_zapier.py Allow custom base Zapier prompt (#4213) 1 year ago