mirror of https://github.com/kortix-ai/suna.git
13 lines
301 B
Python
13 lines
301 B
Python
import os
|
|
from langfuse import Langfuse
|
|
|
|
public_key = os.getenv("LANGFUSE_PUBLIC_KEY")
|
|
secret_key = os.getenv("LANGFUSE_SECRET_KEY")
|
|
host = os.getenv("LANGFUSE_HOST", "https://cloud.langfuse.com")
|
|
|
|
enabled = False
|
|
if public_key and secret_key:
|
|
enabled = True
|
|
|
|
langfuse = Langfuse(enabled=enabled)
|