Skip to content

Commit ecb9737

Browse files
committed
fix(llma): fix test
1 parent f3edfe8 commit ecb9737

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

posthog/ai/anthropic/anthropic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def _capture_streaming_event(
222222
# Prepare standardized event data
223223
formatted_input = format_anthropic_streaming_input(kwargs)
224224
sanitized_input = sanitize_anthropic(formatted_input)
225-
225+
226226
event_data = StreamingEventData(
227227
provider="anthropic",
228228
model=kwargs.get("model"),

posthog/ai/anthropic/anthropic_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ async def _create_streaming(
134134
content_blocks: List[Dict[str, Any]] = []
135135
tools_in_progress: Dict[str, Dict[str, Any]] = {}
136136
current_text_block: Optional[Dict[str, Any]] = None
137-
response = await super().create(**kwargs)
137+
response = super().create(**kwargs)
138138

139139
async def generator():
140140
nonlocal usage_stats

posthog/ai/gemini/gemini.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def _capture_streaming_event(
358358
# Prepare standardized event data
359359
formatted_input = self._format_input(contents)
360360
sanitized_input = sanitize_gemini(formatted_input)
361-
361+
362362
event_data = StreamingEventData(
363363
provider="gemini",
364364
model=model,

posthog/ai/openai/openai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def _capture_streaming_event(
186186
# Prepare standardized event data
187187
formatted_input = format_openai_streaming_input(kwargs, "responses")
188188
sanitized_input = sanitize_openai_response(formatted_input)
189-
189+
190190
event_data = StreamingEventData(
191191
provider="openai",
192192
model=kwargs.get("model"),
@@ -403,7 +403,7 @@ def _capture_streaming_event(
403403
# Prepare standardized event data
404404
formatted_input = format_openai_streaming_input(kwargs, "chat")
405405
sanitized_input = sanitize_openai(formatted_input)
406-
406+
407407
event_data = StreamingEventData(
408408
provider="openai",
409409
model=kwargs.get("model"),

0 commit comments

Comments
 (0)