Skip to content

Commit eb466d3

Browse files
szymondudyczManul from Pathway
authored andcommitted
Fix llm integration test (#9941)
GitOrigin-RevId: f22c979c41980096b41f5de90d3b182ccf178295
1 parent 6398cdd commit eb466d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

integration_tests/xpack/test_embedders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_openai_embedder_fails_no_truncation(model: str):
5454
with pytest.raises(Exception) as exc:
5555
sync_embedder([LONG_TEXT])
5656

57-
assert "maximum context length" in str(exc)
57+
assert "maximum context length" in str(exc) or "maximum input length" in str(exc)
5858

5959

6060
def test_openai_embedder_with_common_parameter():

0 commit comments

Comments
 (0)