langchain/tests/unit_tests/tools
Jason B. Koh d642609a23
Fix: Recognize List at from_function (#7178)
- Description: pydantic's `ModelField.type_` only exposes the native
data type but not complex type hints like `List`. Thus, generating a
Tool with `from_function` through function signature produces incorrect
argument schemas (e.g., `str` instead of `List[str]`)
  - Issue: N/A
  - Dependencies: N/A
  - Tag maintainer: @hinthornw
  - Twitter handle: `mapped`

All the unittest (with an additional one in this PR) passed, though I
didn't try integration tests...
2023-07-06 17:22:09 -04:00
..
file_management Add Other File Utilities (#3209) 2023-04-28 10:53:37 -07:00
openapi
powerbi power bi api wrapper integration tests & bug fix (#4983) 2023-05-19 11:25:52 -04:00
python Improved query, print & exception handling in REPL Tool (#4997) 2023-05-22 13:43:44 +00:00
requests tools refactor (#2961) 2023-04-17 21:35:29 -07:00
shell Accept str or list[str] for shell (#4060) 2023-05-03 21:11:06 -07:00
__init__.py
test_base.py Fix: Recognize List at from_function (#7178) 2023-07-06 17:22:09 -04:00
test_exported.py Fix class promotion (#6187) 2023-06-18 16:55:18 -07:00
test_json.py
test_public_api.py Fixed Office365 tool __init__.py files, tests, and get_tools() function (#7046) 2023-07-05 15:46:21 -04:00
test_signatures.py Fixed Office365 tool __init__.py files, tests, and get_tools() function (#7046) 2023-07-05 15:46:21 -04:00
test_zapier.py add async to zapier nla tools (#6791) 2023-06-27 16:53:35 -07:00