diff --git a/tests/integration_tests/test_graph.py b/tests/integration_tests/test_graph.py index a84adc3a..2ca999f5 100644 --- a/tests/integration_tests/test_graph.py +++ b/tests/integration_tests/test_graph.py @@ -1,3 +1,5 @@ +import os + import pytest from react_agent import graph @@ -6,6 +8,10 @@ pytestmark = pytest.mark.anyio +@pytest.mark.skipif( + not os.getenv("ANTHROPIC_API_KEY"), + reason="requires ANTHROPIC_API_KEY for live Anthropic integration", +) async def test_react_agent_simple_passthrough() -> None: res = await graph.ainvoke( {"messages": [("user", "Who is the founder of LangChain?")]}, # type: ignore