fix: consistently use LANGFUSE_URL instead of LANGFUSE_HOST (#1196)

This commit is contained in:
Yingjie He
2025-02-11 10:19:06 -08:00
committed by GitHub
parent 72a20fccf6
commit 848c25cf69
2 changed files with 2 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ mod tests {
let original_vars = [
("LANGFUSE_PUBLIC_KEY", env::var("LANGFUSE_PUBLIC_KEY").ok()),
("LANGFUSE_SECRET_KEY", env::var("LANGFUSE_SECRET_KEY").ok()),
("LANGFUSE_HOST", env::var("LANGFUSE_HOST").ok()),
("LANGFUSE_URL", env::var("LANGFUSE_URL").ok()),
(
"LANGFUSE_INIT_PROJECT_PUBLIC_KEY",
env::var("LANGFUSE_INIT_PROJECT_PUBLIC_KEY").ok(),

View File

@@ -22,7 +22,7 @@ Set the environment variables so that Goose (written in Rust) can connect to the
```bash
export LANGFUSE_INIT_PROJECT_PUBLIC_KEY=pk-lf-...
export LANGFUSE_INIT_PROJECT_SECRET_KEY=sk-lf-...
export LANGFUSE_HOST=https://cloud.langfuse.com # EU data region 🇪🇺
export LANGFUSE_URL=https://cloud.langfuse.com # EU data region 🇪🇺
# https://us.cloud.langfuse.com if you're using the US region 🇺🇸
# https://localhost:3000 if you're self-hosting