Skip to content

Commit df5a72f

Browse files
merge and function_id
1 parent d808e59 commit df5a72f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/langchain/test_langchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def test_langchain_tool_call_with_run_name(
252252
tx = events[0]
253253
tool_spans = list(x for x in tx["spans"] if x["op"] == "gen_ai.execute_tool")
254254
assert len(tool_spans) == 1
255-
assert tool_spans[0]["data"]["gen_ai.pipeline.name"] == "my-snazzy-pipeline"
255+
assert tool_spans[0]["data"][SPANDATA.GEN_AI_FUNCTION_ID] == "my-snazzy-pipeline"
256256

257257

258258
@pytest.mark.skipif(

0 commit comments

Comments
 (0)