Instruments StateGraph's compile method to create spans for agent creation and invocation
Wraps the compile() method to:
gen_ai.create_agent
gen_ai.invoke_agent
Instruments StateGraph's compile method to create spans for agent creation and invocation
Wraps the compile() method to:
gen_ai.create_agentspan when compile() is calledgen_ai.invoke_agentspan