Skip to content

Commit 351475f

Browse files
committed
Fix outdated assertion
1 parent f58a60b commit 351475f

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
@@ -2306,7 +2306,7 @@ def test_langchain_ai_system_detection(
23062306
assert tx["type"] == "transaction"
23072307

23082308
llm_spans = [
2309-
span for span in tx.get("spans", []) if span.get("op") == "gen_ai.pipeline"
2309+
span for span in tx.get("spans", []) if span.get("op") == "gen_ai.generate_text"
23102310
]
23112311
assert len(llm_spans) > 0
23122312

0 commit comments

Comments
 (0)