mirror of
https://github.com/hwchase17/langchain.git
synced 2026-01-18 02:45:33 +00:00
- **Description:** - In _infer_arg_descriptions, the annotations dictionary contains string representations of types instead of actual typing objects. This causes _is_annotated_type to fail, preventing the correct description from being generated. - This is a simple fix using the get_type_hints method, which resolves the annotations properly and is supported across all Python versions. - **Issue:** #31051 --------- Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>