PermitechTracingProcessor
OpenAI Agents TracingProcessor for logging traces to Permitech. Builds a tree of spans during agent execution and logs them hierarchically to Permitech upon trace completion. Arguments-
_permitech_logger(PermitechLogger): The Permitech logger instance. -
_flush_on_trace_end(bool): Whether to automatically flush the log batch to Permitech when a trace ends. -
_nodes(dict[str, Node]): Stores Node objects keyed by their OpenAI span_id or trace_id (for root).

