Skip to content

feat: make task and turn tracing spans configurable#3834

Merged
seratch merged 1 commit into
mainfrom
feat/configurable-task-turn-spans
Jul 14, 2026
Merged

feat: make task and turn tracing spans configurable#3834
seratch merged 1 commit into
mainfrom
feat/configurable-task-turn-spans

Conversation

@seratch

@seratch seratch commented Jul 14, 2026

Copy link
Copy Markdown
Member

This pull request adds a per-run tracing option for disabling automatically generated task and turn spans.

include_task_and_turn_spans defaults to True to preserve the existing trace hierarchy. Setting it to False produces a more compact hierarchy while retaining agent, generation, function, guardrail, handoff, and manually created spans. The option applies consistently to streaming and non-streaming runs and does not change persisted RunState data.

@seratch seratch added this to the 0.18.x milestone Jul 14, 2026
@seratch seratch merged commit 7369b73 into main Jul 14, 2026
9 checks passed
@seratch seratch deleted the feat/configurable-task-turn-spans branch July 14, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant