mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-10 17:04:47 +00:00
langfuse custom LangFUSE host
This commit is contained in:
@@ -29,6 +29,14 @@ Use just 2 lines of code, to instantly log your responses **across all providers
|
||||
litellm.success_callback = ["langfuse"]
|
||||
```
|
||||
|
||||
### Required API keys for Langfuse
|
||||
Set the following variables in your .env
|
||||
```python
|
||||
os.environ["LANGFUSE_SECRET_KEY"]
|
||||
os.environ["LANGFUSE_PUBLIC_KEY"]
|
||||
os.environ["LANGFUSE_HOST", "https://cloud.langfuse.com"]
|
||||
```
|
||||
|
||||
### Complete code
|
||||
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user