mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-28 04:25:08 +02:00
Apply patch [skip ci]
This commit is contained in:
@@ -971,9 +971,9 @@ def create_react_agent(
|
||||
),
|
||||
)
|
||||
if post_model_hook is not None:
|
||||
post_model_hook_paths.append("respond")
|
||||
post_model_hook_paths.extend(["respond", END])
|
||||
else:
|
||||
agent_paths.append("respond")
|
||||
agent_paths.extend(["respond", END])
|
||||
else:
|
||||
if post_model_hook is not None:
|
||||
post_model_hook_paths.append(END)
|
||||
@@ -1076,3 +1076,4 @@ __all__ = [
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user