Skip to content

Commit 0601945

Browse files
committed
fix: always miss one
1 parent 46c5195 commit 0601945

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
@@ -760,7 +760,7 @@ def test_tool_calls(mock_client):
760760

761761
assert mock_client.capture.call_count == 1
762762
call = mock_client.capture.call_args[1]
763-
assert call["properties"]["$ai_output"]["choices"][0]["tool_calls"] == [
763+
assert call["properties"]["$ai_output_choices"][0]["tool_calls"] == [
764764
{
765765
"type": "function",
766766
"id": "123",

0 commit comments

Comments
 (0)