🔧 chore(langfuse.py): add support for configurable Langfuse host to improve flexibility and maintainability (#948)

Closes #947
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-21 06:42:50 -03:00 committed by GitHub
commit 9920bfd7e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ class LangfuseInstance:
cls._instance = Langfuse(
public_key=settings.LANGFUSE_PUBLIC_KEY,
secret_key=settings.LANGFUSE_SECRET_KEY,
host=settings.LANGFUSE_HOST,
)
else:
logger.debug("No Langfuse credentials found")