langchain/libs/standard-tests/langchain_tests
ccurme 9da06e6e94
standard-tests[patch]: use has_structured_output property to engage structured output tests (#29635)
Motivation: dedicated structured output features are becoming more
common, such that integrations can support structured output without
supporting tool calling.

Here we make two changes:

1. Update the `has_structured_output` method to default to True if a
model supports tool calling (in addition to defaulting to True if
`with_structured_output` is overridden).
2. Update structured output tests to engage if `has_structured_output`
is True.
2025-02-06 10:09:06 -08:00
..
integration_tests standard-tests[patch]: use has_structured_output property to engage structured output tests (#29635) 2025-02-06 10:09:06 -08:00
unit_tests standard-tests[patch]: use has_structured_output property to engage structured output tests (#29635) 2025-02-06 10:09:06 -08:00
utils standard-tests: private members and tools unit troubleshoot (#28590) 2024-12-06 13:52:58 -08:00
__init__.py tests[patch]: nits (#28601) 2024-12-07 00:13:04 +00:00
base.py standard-tests: retriever docstrings (#28596) 2024-12-07 00:32:19 +00:00
py.typed