mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
test(anthropic): add vcr to test_search_result_tool_message (#33793)
To fix nondeterministic results causing integration testing to sometimes fail Also speeds up from 10s to 0.5 --------- Co-authored-by: ccurme <chester.curme@gmail.com>
This commit is contained in:
Binary file not shown.
@@ -1700,6 +1700,7 @@ def test_files_api_pdf(block_format: str) -> None:
|
||||
_ = llm.invoke([input_message])
|
||||
|
||||
|
||||
@pytest.mark.vcr
|
||||
def test_search_result_tool_message() -> None:
|
||||
"""Test that we can pass a search result tool message to the model."""
|
||||
llm = ChatAnthropic(
|
||||
|
||||
Reference in New Issue
Block a user