pull/20832/head^2
William FH 3 weeks ago committed by GitHub
parent 891ae37437
commit 4c437ebb9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -147,6 +147,8 @@ def _get_trace_callbacks(
def _tracing_v2_is_enabled() -> bool:
return (
env_var_is_set("LANGCHAIN_TRACING_V2")
or env_var_is_set("LANGSMITH_TRACING")
or env_var_is_set("LANGSMITH_TRACING_V2")
or tracing_v2_callback_var.get() is not None
or get_run_tree_context() is not None
)

Loading…
Cancel
Save