mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-26 03:25:06 +02:00
Apply patch [skip ci]
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user