mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(fix) setting langfuse callbacks
This commit is contained in:
parent
5733b10f04
commit
8dce790829
1 changed files with 1 additions and 1 deletions
|
@ -3,5 +3,5 @@ import dotenv
|
|||
dotenv.load_dotenv() # load env variables
|
||||
|
||||
def set_callbacks():
|
||||
if ("LANGUFSE_PUBLIC_KEY" in os.environ and "LANGUFSE_SECRET_KEY" in os.environ) or "LANGFUSE_HOST" in os.environ:
|
||||
if ("LANGFUSE_PUBLIC_KEY" in os.environ and "LANGFUSE_SECRET_KEY" in os.environ) or "LANGFUSE_HOST" in os.environ:
|
||||
litellm.success_callback = ["langfuse"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue