Skip to content

Commit 38cc646

Browse files
committed
do it try it
2 parents 89fd867 + 57a3e74 commit 38cc646

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<<<<<<< HEAD
2+
=======
3+
## 3.15.1 - 2025-02-23
4+
5+
1. Fix async client support for OpenAI.
6+
7+
>>>>>>> master
18
## 3.15.0 - 2025-02-19
29

310
1. Support quota-limited feature flags

llm_observability_examples.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import asyncio
12
import os
23
import uuid
34

@@ -215,6 +216,6 @@ def beta_openai_call(distinct_id, trace_id, properties, groups):
215216
# HOW TO RUN:
216217
# comment out one of these to run the other
217218

218-
if __name__ == "__main__":
219-
main_sync()
220-
# asyncio.run(main_async())
219+
# if __name__ == "__main__":
220+
# main_sync()
221+
asyncio.run(main_async())

posthog/ai/openai/openai_async.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ async def create(
7373
"openai",
7474
posthog_trace_id,
7575
posthog_properties,
76+
posthog_privacy_mode,
77+
posthog_groups,
7678
self._client.base_url,
7779
super().create,
7880
**kwargs,

posthog/version.py

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

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

0 commit comments

Comments
 (0)