Skip to content

Commit f6ae538

Browse files
committed
fix
1 parent 7348cff commit f6ae538

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/integ/test_dataframe_ai.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ def test_dataframe_ai_complete_error_handling(session):
119119

120120
# Test missing model parameter
121121
df = session.create_dataframe([["test"]], schema=["text"])
122-
with pytest.raises(ValueError, match="model must be specified"):
122+
with pytest.raises(
123+
TypeError, match="missing 1 required positional argument: 'model'"
124+
):
123125
df.ai.complete(
124126
prompt="Test {text}",
125127
input_columns={"text": col("text")}

0 commit comments

Comments
 (0)