LangSmith
- Deprecated LangSmith environment variable name
Reports reads of a deprecated LANGCHAIN_* environment variable via os.getenv(...), os.environ.get(...), or os.environ[...], and suggests the canonical LANGSMITH_* name.
- Hardcoded LangSmith API key
Reports a string literal passed as api_key= to a LangSmith Client(...).
- LangGraph configuration file
Reports a langgraph.json whose declared "env" file does not exist.
- LangSmith .env configuration
Reports LangSmith configuration mistakes in .env files that silently disable tracing or cause runtime errors: deprecated LANGCHAIN_* keys (canonical names are LANGSMITH_*), a legacy and modern key set to different values, a tracing flag that is not the lowercase string true, a wrong regional endpoint host (for example eu.smith.langchain.com instead of eu.api.smith.langchain.com), a missing API key, and tracing that is never enabled.
- load_dotenv() called after LangChain import
Reports a load_dotenv() call that runs after a langchain, langsmith, or langgraph import in the same file.