LangChain 1 · Setup

Turn on LangSmith tracing

Send traces of every run to LangSmith to inspect prompts, tool calls and latency.

export LANGSMITH_TRACING=true
export LANGSMITH_API_KEY="your-api-key"

Official LangChain 1 documentation

More setup commands

All setup commands · LangChain 1 cheatsheet

Was this page helpful?