util

AdalFlow tracing utilities module with OpenAI Agents SDK compatibility.

This module provides utility functions for tracing such as ID generation and time formatting following OpenAI Agents SDK patterns.

References: - OpenAI Tracing Interface: https://github.com/openai/openai-agents-python/blob/main/src/agents/tracing/util.py

Functions

gen_group_id()

Generates a new group ID.

gen_span_id()

Generates a new span ID.

gen_trace_id()

Generates a new trace ID.

time_iso()

Returns the current time in ISO 8601 format.

time_iso() str[source]

Returns the current time in ISO 8601 format.

gen_trace_id() str[source]

Generates a new trace ID.

gen_span_id() str[source]

Generates a new span ID.

gen_group_id() str[source]

Generates a new group ID.