langchain/libs/standard-tests/langchain_tests/unit_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
..
__init__.py standard-tests: rename langchain_standard_tests to langchain_tests, release 0.3.2 (#28203) 2024-11-18 19:10:39 -08:00
chat_models.py standard-tests[patch]: use has_structured_output property to engage structured output tests (#29635) 2025-02-06 10:09:06 -08:00
embeddings.py standard-tests: show right classes in api docs (#28591) 2024-12-06 14:48:13 -08:00
tools.py standard-tests: root docstrings (#28595) 2024-12-06 15:14:52 -08:00