Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix langfuse hardcoded public key

Ishaan Jaff75fba18c9f13
diff --git a/litellm/integrations/langfuse.py b/litellm/integrations/langfuse.py
index b93933a81d4..045c8275656 100644
--- a/litellm/integrations/langfuse.py
+++ b/litellm/integrations/langfuse.py
@@ -44,8 +44,8 @@ class LangFuseLogger:
self.langfuse_debug = os.getenv("LANGFUSE_DEBUG")
parameters = {
- "public_key": "pk-lf-b3db7e8e-c2f6-4fc7-825c-a541a8fbe003",
- "secret_key": "sk-lf-b11ef3a8-361c-4445-9652-12318b8596e4",
+ "public_key": self.public_key,
+ "secret_key": self.secret_key,
"host": self.langfuse_host,
"release": self.langfuse_release,
"debug": self.langfuse_debug,