Hello. I keep getting this prompt and is timing out my API.
Would you like to view your execution traces? [y/N] (20s timeout)
| How can I turn this off? |
|---|
Hello. I keep getting this prompt and is timing out my API.
Would you like to view your execution traces? [y/N] (20s timeout)
| How can I turn this off? |
|---|
Did you get the solution? Is it a CrewAI Error?
After upgrading to CrewAI 1.3.0 (latest release) I started seeing -
I have tried setting CREWAI_TRACING_ENABLED=false but (so far) this hasnât helped although print(f"tracing = {is_tracing_enabled()}") outputs tracing = False.
But traces are still generated âŚ
Trace batch finalized with session ID: **********************
View here: CrewAI Enterprise - Ephemeral Traces***********
Access Code: TRACE-**********
I would really like to know how to disable this tracing as it generates errors and ends up hanging my entire crew and requiring that I end up killing it.
Seems like it has bugs in it as it first outputs
Trace batch initialization returned status 401. Continuing without tracing.
but then it just hangs until I kill it.
I am able to disable it after adding these,
os.environ[âCREWAI_DISABLE_TELEMETRYâ] = âtrueâ
os.environ[âCREWAI_TRACING_ENABLEDâ] = âfalseâ
@swigman I donât think it is an error. prompt is part of CrewAIâs telemetry/tracing feature that appears after a crew execution completes. Itâs not an error â itâs a normal prompt.
If you donât want to see it there are 2 ways. One of them is already mentioned earlier by @Surendra_IIIVIIX .
os.environ[âCREWAI_DISABLE_TELEMETRYâ] = âtrueâ
Or alternatively:
os.environ['OTEL_SDK_DISABLED'] = 'true'