agentevals
agentevals copied to clipboard
Treat invoke_runner roots as turn anchors
Under semconv-genai#571, the root span of ADK and OpenAI Agents Runner.run changes from invoke_workflow to invoke_runner. Today classify() puts that root in the OTHER bucket, so a handoff splits into two turns.
Changes needed:
- [ ] Classify
invoke_runner(or whatever single entrypoint value upstream settles on) as an agentic anchor. - [ ] Only count
gen_ai.agent.nameas an agent inTurn.agentswhen the operation isinvoke_agent, since it now also holds workflow and runner names. - [ ] Drop the
gen_ai.workflow.namefallback for label. - [ ] Update the ADK v2 fixtures and expected results, the kagent contract imports, and docs
Blocked on upstream PR merging.