mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-09 13:00:34 +00:00
langchain[patch]: xfail unstable vertex test (#14462)
This commit is contained in:
parent
477b274a62
commit
1d7e5c51aa
@ -46,6 +46,9 @@ def test_vertexai_single_call(model_name: str) -> None:
|
|||||||
assert isinstance(response.content, str)
|
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
|
@pytest.mark.scheduled
|
||||||
def test_candidates() -> None:
|
def test_candidates() -> None:
|
||||||
model = ChatVertexAI(model_name="chat-bison@001", temperature=0.3, n=2)
|
model = ChatVertexAI(model_name="chat-bison@001", temperature=0.3, n=2)
|
||||||
|
Loading…
Reference in New Issue
Block a user