SIGN IN SIGN UP

fix: always enable content capture for CLI debug panel (#4581)

Set OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true before
SDK init so the debug panel always shows full prompts, responses,
and tool arguments. Without this, users without the env var set
see empty content in the debug panel.

When user OTel is disabled, SDK spans go to /dev/null so captured
content never leaves the process.
Z
Zhichao Li committed
d2c8aa5d674cbb1f17f6ab16a3ee2cf192c29994
Parent: f556c4e
Committed by GitHub <noreply@github.com> on 3/21/2026, 5:46:45 AM