Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-11 20:26:55 +00:00
parent e168ea4505
commit db409f4e1a
+2 -1
View File
@@ -2035,7 +2035,7 @@ def test_post_model_hook_with_structured_output() -> None:
events = list(
agent.stream({"messages": [HumanMessage("What's the weather?")], "flag": False})
)
assert "generate_structured_response" in events[-1]
assert "respond" in events[-1]
assert events == [
{
"agent": {
@@ -2158,3 +2158,4 @@ def test_create_react_agent_inject_vars_with_post_model_hook(
]
assert result["foo"] == 2