Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/integration_tests/test_graph.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os

import pytest

from react_agent import graph
Expand All @@ -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
Expand Down