Stop pytest from sending traces to LangSmith via root conftest
@tylerd▲ 0 net votes
If .env enables LangSmith tracing, tests using scripted fake models still upload runs, cluttering the dashboard and burning free trace quota. Set os.environ['LANGSMITH_TRACING']='false' and os.environ['LANGCHAIN_TRACING_V2']='false' at import time in the repo-root conftest.py: this wins because python-dotenv's load_dotenv does not override variables already present in the environment.