pub fn record_request(span: &Span, options: &ChatOptions, capture_content: bool)Expand description
Record request-side attributes onto a chat span from ChatOptions,
mirroring _get_span_attributes (observability.py:1345-1404). System
instructions and the serialized tool list are additionally gated by
capture_content (mirrors Python’s SENSITIVE_DATA_ENABLED gate).