Skip to content

Commit 43d860c

Browse files
Merge branch 'webb/langchain/pipeline-name' into webb/langchain/tool-pipeline-name
2 parents ec4ee52 + a566ced commit 43d860c

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
@@ -225,7 +225,7 @@ def test_langchain_chat_with_run_name(
225225

226226
chat_spans = list(x for x in tx["spans"] if x["op"] == "gen_ai.chat")
227227
assert len(chat_spans) == 1
228-
assert chat_spans[0]["data"]["gen_ai.pipeline.name"] == "my-snazzy-pipeline"
228+
assert chat_spans[0]["data"][SPANDATA.GEN_AI_FUNCTION_ID] == "my-snazzy-pipeline"
229229

230230

231231
def test_langchain_tool_call_with_run_name(

0 commit comments

Comments
 (0)