Skip to content

Commit ce30f2b

Browse files
Merge branch 'webb/langchain/consolidate-tool-test' into webb/langchain/span-origin
2 parents b6e9f70 + 4dc9f04 commit ce30f2b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/integrations/langchain/test_langchain.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@ def test_langchain_agent(
314314
# Verify that available tools are always recorded regardless of PII settings
315315
for chat_span in chat_spans:
316316
tools_data = chat_span["data"][SPANDATA.GEN_AI_REQUEST_AVAILABLE_TOOLS]
317+
assert tools_data is not None, (
318+
"Available tools should always be recorded regardless of PII settings"
319+
)
317320
assert "get_word_length" in tools_data
318321

319322

0 commit comments

Comments
 (0)