@openai/agents-core
Version:
The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.
14 lines (13 loc) • 567 B
TypeScript
export type TracingConfig = {
apiKey?: string;
/**
* Whether runner-created task and turn spans are included in traces.
*
* Defaults to `true`. Set to `false` to keep the existing agent, model,
* tool, guardrail, and handoff spans without the additional task/turn
* hierarchy.
*/
includeTaskAndTurnSpans?: boolean;
};
export declare function includeTaskAndTurnSpans(config: TracingConfig | undefined): boolean;
export declare function mergeTracingConfig(...configs: (TracingConfig | undefined)[]): TracingConfig | undefined;