mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
add langfuse host in callback
This commit is contained in:
parent
c55118fcab
commit
779f3ec352
1 changed files with 1 additions and 1 deletions
|
@ -18,11 +18,11 @@ class LangFuseLogger:
|
|||
# Instance variables
|
||||
self.secret_key = os.getenv("LANGFUSE_SECRET_KEY")
|
||||
self.public_key = os.getenv("LANGFUSE_PUBLIC_KEY")
|
||||
self.langfuse_host = os.getenv("LANGFUSE_HOST", "https://cloud.langfuse.com")
|
||||
self.Langfuse = Langfuse(
|
||||
public_key=self.public_key,
|
||||
secret_key=self.secret_key,
|
||||
host="https://cloud.langfuse.com",
|
||||
# debug=True
|
||||
)
|
||||
|
||||
def log_event(self, kwargs, response_obj, start_time, end_time, print_verbose):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue