The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
test(mistralai): add xfail for structured output test (#33119)
Mason Daugherty6d418ba983e3
diff --git a/libs/partners/mistralai/tests/integration_tests/test_standard.py b/libs/partners/mistralai/tests/integration_tests/test_standard.pyindex 8c716c6528..ce67e0db4e 100644--- a/libs/partners/mistralai/tests/integration_tests/test_standard.py+++ b/libs/partners/mistralai/tests/integration_tests/test_standard.py@@ -1,5 +1,6 @@"""Standard LangChain interface tests."""+import pytestfrom langchain_core.language_models import BaseChatModelfrom langchain_tests.integration_tests import ( # type: ignore[import-not-found]ChatModelIntegrationTests, # type: ignore[import-not-found]@@ -20,3 +21,7 @@ class TestMistralStandard(ChatModelIntegrationTests):@propertydef supports_json_mode(self) -> bool:return True++ @pytest.mark.xfail(reason=("MistralAI inconsistently fails to return valid fields"))+ def test_structured_output_pydantic_2_v1(self, model: BaseChatModel) -> None:+ super().test_structured_output_pydantic_2_v1(model)