Skip to content

Commit e429889

Browse files
committed
fix: format
1 parent 6368d32 commit e429889

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

posthog/ai/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def get_model_params(kwargs: Dict[str, Any]) -> Dict[str, Any]:
2828
model_params[param] = kwargs[param]
2929
return model_params
3030

31+
3132
def extract_core_model_params(kwargs: Dict[str, Any], provider: str) -> Dict[str, Any]:
3233
"""
3334
Extracts core model parameters from the kwargs dictionary.
@@ -47,7 +48,7 @@ def extract_core_model_params(kwargs: Dict[str, Any], provider: str) -> Dict[str
4748
output["$ai_max_tokens"] = kwargs.get("max_completion_tokens")
4849
if "stream" in kwargs:
4950
output["$ai_stream"] = kwargs.get("stream")
50-
else: # default to openai params
51+
else: # default to openai params
5152
if "temperature" in kwargs:
5253
output["$ai_temperature"] = kwargs.get("temperature")
5354
if "max_tokens" in kwargs:

0 commit comments

Comments
 (0)