langchain[patch]: xfail unstable vertex test (#14462)

This commit is contained in:
Erick Friis
2023-12-08 11:00:37 -08:00
committed by GitHub
parent 477b274a62
commit 1d7e5c51aa

View File

@@ -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)