Skip to content

Commit 388ca1c

Browse files
committed
fix AI test
1 parent 8916b29 commit 388ca1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posthog/test/ai/langchain/test_callbacks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ def test_graph_state(mock_client):
618618
assert isinstance(result["messages"][2], AIMessage)
619619
assert result["messages"][2].content == "It's a type of greeble."
620620

621-
assert mock_client.capture.call_count == 12
621+
assert mock_client.capture.call_count == 6
622622
calls = [call[1] for call in mock_client.capture.call_args_list]
623623

624624
trace_args = calls[11]

0 commit comments

Comments
 (0)