Skip to content

Commit 4eac20a

Browse files
committed
chore: bump version
1 parent 8e4909f commit 4eac20a

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.8.0 - 2025-01-14
2+
3+
1. Add LLM Observability with support for OpenAI and Langchain callbacks.
4+
15
## 3.7.5 - 2025-01-03
26

37
1. Add `distinct_id` to group_identify

posthog/test/ai/langchain/test_callbacks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def test_metadata(mock_client):
335335
first_call_props = first_call_args["properties"]
336336
assert first_call_args["event"] == "$ai_generation"
337337
assert first_call_props["$ai_trace_id"] == "test-trace-id"
338-
assert first_call_props["$foo"] == "bar"
338+
assert first_call_props["foo"] == "bar"
339339
assert first_call_props["$ai_input"] == [{"role": "user", "content": "Foo"}]
340340
assert first_call_props["$ai_output"] == {"choices": [{"role": "assistant", "content": "Bar"}]}
341341
assert first_call_props["$ai_http_status"] == 200
@@ -422,7 +422,7 @@ def test_openai_chain(mock_client):
422422
assert first_call_props["$ai_trace_id"] == "test-trace-id"
423423
assert first_call_props["$ai_provider"] == "openai"
424424
assert first_call_props["$ai_model"] == "gpt-4o-mini"
425-
assert first_call_props["$foo"] == "bar"
425+
assert first_call_props["foo"] == "bar"
426426

427427
# langchain-openai for langchain v3
428428
if "max_completion_tokens" in first_call_props["$ai_model_parameters"]:

posthog/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = "3.7.5"
1+
VERSION = "3.8.0"
22

33
if __name__ == "__main__":
44
print(VERSION, end="") # noqa: T201

0 commit comments

Comments
 (0)