@@ -374,7 +374,7 @@ def test_agent_manifest_from_create_react_agent(self, llmobs_events, agent_from_
374374 "instructions" : "You are a helpful assistant who talks with a Boston accent but is also very nice. You speak in full sentences with at least 15 words." , # noqa: E501
375375 }
376376
377- assert react_agent_span ["meta" ]["metadata" ]["agent_manifest" ] == expected_agent_manifest
377+ assert react_agent_span ["meta" ]["metadata" ]["_dd" ][ " agent_manifest" ] == expected_agent_manifest
378378
379379 @pytest .mark .skipif (LANGGRAPH_VERSION < (0 , 3 , 22 ), reason = "Agent names are only supported in LangGraph 0.3.22+" )
380380 def test_agent_manifest_populates_tools_from_tool_node (self , llmobs_events , custom_agent_with_tool_node ):
@@ -405,7 +405,7 @@ def test_agent_manifest_populates_tools_from_tool_node(self, llmobs_events, cust
405405 ],
406406 }
407407
408- assert agent_span ["meta" ]["metadata" ]["agent_manifest" ] == expected_agent_manifest
408+ assert agent_span ["meta" ]["metadata" ]["_dd" ][ " agent_manifest" ] == expected_agent_manifest
409409
410410 @pytest .mark .skipif (LANGGRAPH_VERSION < (0 , 3 , 22 ), reason = "Agent names are only supported in LangGraph 0.3.22+" )
411411 def test_agent_manifest_different_recursion_limit (
@@ -417,7 +417,7 @@ def test_agent_manifest_different_recursion_limit(
417417
418418 agent_span = _find_span_by_name (llmobs_events , "agent" )
419419
420- assert agent_span ["meta" ]["metadata" ]["agent_manifest" ]["max_iterations" ] == 100
420+ assert agent_span ["meta" ]["metadata" ]["_dd" ][ " agent_manifest" ]["max_iterations" ] == 100
421421
422422 @pytest .mark .skipif (LANGGRAPH_VERSION < (0 , 3 , 22 ), reason = "Agent names are only supported in LangGraph 0.3.22+" )
423423 def test_agent_with_tool_calls_integrations_enabled (
0 commit comments