From c22a86f11e1df5cc22102e3e2b639a79b6c69013 Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Fri, 22 Aug 2025 13:06:23 +0000 Subject: [PATCH] Apply patch [skip ci] --- libs/prebuilt/tests/test_react_agent.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libs/prebuilt/tests/test_react_agent.py b/libs/prebuilt/tests/test_react_agent.py index 51cc1b601..8169c7c5c 100644 --- a/libs/prebuilt/tests/test_react_agent.py +++ b/libs/prebuilt/tests/test_react_agent.py @@ -992,6 +992,16 @@ def test_tool_node_inject_state_reserved_keyword() -> None: assert tool_message.content == "val: 2, foo: baz", f"Failed for tool={tool_name} with Pydantic state" +def test_tool_node_inject_runtime_reserved_keyword() -> None: + """Test that tools can use 'runtime' as a reserved keyword parameter.""" + pass # TODO: Implementation to be added + + +def test_tool_node_mixed_injection_styles() -> None: + """Test that tools can mix reserved keywords and annotations.""" + pass # TODO: Implementation to be added + + def test_tool_node_ensure_utf8() -> None: @dec_tool def get_day_list(days: list[str]) -> list[str]: @@ -2241,3 +2251,4 @@ def test_create_react_agent_inject_vars_with_post_model_hook( assert result["foo"] == 2 +