def remove_span_id(self, span_id: str) -> None:
        """Remove a given span_id from all state fields."""
        self.is_agent_chat_span.pop(span_id, None)
        self.agent_chat_start_event.pop(span_id, None)
        self.span_parent.pop(span_id, None)
        self.span_exception.pop(span_id, None)
Remove a given span_id from all state fields.
llama-index-integrations/callbacks/llama-index-callbacks-agentops/llama_index/callbacks/agentops/base.py