Skip to content

Commit 7476057

Browse files
Merge branch 'webb/langchain/remove-mocks' into webb/langchain/add-basic-test
2 parents 86f4a42 + 498541b commit 7476057

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integrations/langchain/test_langchain.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,9 @@ def test_langchain_openai_tools_agent(
546546
# Verify that available tools are always recorded regardless of PII settings
547547
for chat_span in chat_spans:
548548
tools_data = chat_span["data"][SPANDATA.GEN_AI_REQUEST_AVAILABLE_TOOLS]
549+
assert tools_data is not None, (
550+
"Available tools should always be recorded regardless of PII settings"
551+
)
549552
assert "get_word_length" in tools_data
550553

551554

0 commit comments

Comments
 (0)