Skip to content

Commit 498541b

Browse files
Merge branch 'webb/langchain/span-origin' into webb/langchain/remove-mocks
2 parents 6fd0c69 + ce30f2b commit 498541b

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
@@ -434,6 +434,9 @@ def test_langchain_agent(
434434
# Verify that available tools are always recorded regardless of PII settings
435435
for chat_span in chat_spans:
436436
tools_data = chat_span["data"][SPANDATA.GEN_AI_REQUEST_AVAILABLE_TOOLS]
437+
assert tools_data is not None, (
438+
"Available tools should always be recorded regardless of PII settings"
439+
)
437440
assert "get_word_length" in tools_data
438441

439442

0 commit comments

Comments
 (0)