diff --git a/lang_agent/graphs/react.py b/lang_agent/graphs/react.py index fe2a9be..439073e 100644 --- a/lang_agent/graphs/react.py +++ b/lang_agent/graphs/react.py @@ -70,6 +70,7 @@ class ReactGraph(GraphBase): for msg in msgs: if isinstance(msg, HumanMessage): candidate_hum_msg = msg + break assert isinstance(candidate_hum_msg, HumanMessage), "not a human message"