diff --git a/libs/langchain/tests/integration_tests/chat_models/test_vertexai.py b/libs/langchain/tests/integration_tests/chat_models/test_vertexai.py index d8da1e31eb7..790fccd70a0 100644 --- a/libs/langchain/tests/integration_tests/chat_models/test_vertexai.py +++ b/libs/langchain/tests/integration_tests/chat_models/test_vertexai.py @@ -46,6 +46,9 @@ def test_vertexai_single_call(model_name: str) -> None: assert isinstance(response.content, str) +# mark xfail because Vertex API randomly doesn't respect +# the n/candidate_count parameter +@pytest.mark.xfail @pytest.mark.scheduled def test_candidates() -> None: model = ChatVertexAI(model_name="chat-bison@001", temperature=0.3, n=2)