Disable tracing for specific calls

https://github.com/langchain-ai/langchain/issues/14189

is there a workaround for this issue (using TS)?
I want to disable tracing for certain calls. it feels odd for this to not be possible.

I tried creating a traceable and set tracingEnabled: false but not working.

setup:

langsmith: 0.3.75

LANGCHAIN_TRACING_V2=true

LANGCHAIN_CALLBACKS_BACKGROUND=true

to fix it should set the LANGCHAIN_TRACING_V2=false and then attach tracers to the runs you want traced like

callbacks: [tracer]

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.