Skip to content

Manually setting up Langchain Callback handler with explicit values doesn't configure langfuse client in decorator approach #3796

Answered by hassiebp
FaresKi asked this question in Support
Discussion options

You must be logged in to vote

Hi @FaresKi - the easiest way to make sure all clients are configured correctly is to set the environment variables as described in our docs. That should silence all warnings and deliver events correctly to Langfuse:

LANGFUSE_SECRET_KEY="sk-lf-..."
LANGFUSE_PUBLIC_KEY="pk-lf-..."
LANGFUSE_HOST="https://cloud.langfuse.com" # 🇪🇺 EU region
# LANGFUSE_HOST="https://us.cloud.langfuse.com" # 🇺🇸 US region

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@FaresKi
Comment options

@dosubot
Comment options

Comment options

You must be logged in to vote
2 replies
@FaresKi
Comment options

@marcklingen
Comment options

Answer selected by marcklingen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants