We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f62e58 commit baa8a99Copy full SHA for baa8a99
tests/integrations/langchain/test_langchain.py
@@ -176,9 +176,7 @@ def test_langchain_agent(
176
177
tx = events[0]
178
assert tx["type"] == "transaction"
179
- chat_spans = list(
180
- x for x in tx["spans"] if x["op"] == "ai.chat_completions.create.langchain"
181
- )
+ chat_spans = list(x for x in tx["spans"] if x["op"] == "gen_ai.chat")
182
tool_exec_span = next(x for x in tx["spans"] if x["op"] == "ai.tool.langchain")
183
184
assert len(chat_spans) == 2
0 commit comments