We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1f3584 commit f520920Copy full SHA for f520920
tests/integrations/langchain/test_langchain.py
@@ -336,9 +336,6 @@ def test_tool_execution_span(
336
assert chat_spans[1]["origin"] == "auto.ai.langchain"
337
assert tool_exec_span["origin"] == "auto.ai.langchain"
338
339
- # We can't guarantee anything about the "shape" of the langchain execution graph
340
- assert len(list(x for x in tx["spans"] if x["op"] == "gen_ai.chat")) > 0
341
-
342
# Token usage is only available in newer versions of langchain (v0.2+)
343
# where usage_metadata is supported on AIMessageChunk
344
if "gen_ai.usage.input_tokens" in chat_spans[0]["data"]:
0 commit comments