Match the warning behavior of the parent main-agent path in chat_completion_helpers.py — sanitizer failures should be visible in logs, not silent.