We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e3a7f2 commit c9548a7Copy full SHA for c9548a7
posthog/test/ai/langchain/test_callbacks.py
@@ -1046,6 +1046,7 @@ def test_error(mock_client):
1046
assert props["$ai_is_error"] is True
1047
assert props["$ai_error"] == "Test error"
1048
1049
+
1050
def test_http_error(mock_client):
1051
prompt = ChatPromptTemplate.from_messages([("user", "Foo")])
1052
model = FakeMessagesListChatModel(responses=[AIMessage(content="Bar")], http_status=400)
0 commit comments