You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,7 @@ By default, the agents in the swarm are assumed to use handoff tools created wit
114
114
115
115
* change tool name and/or description
116
116
* add tool call arguments for the LLM to populate, for example a task description for the next agent
117
-
* change what data is passed to the next agent as part of the handoff: by default `create_handoff_tool` passes **full** message history (all of the messages generated in the swarm up to this point), as well as the contents of `Command.update` to the next agent
117
+
* change what data is passed to the next agent as part of the handoff: by default `create_handoff_tool` passes **full** message history (all of the messages generated in the swarm up to this point), as well as a tool message indicating successful handoff.
118
118
119
119
Here is an example of what a custom handoff tool might look like:
120
120
@@ -126,9 +126,9 @@ from langchain_core.messages import ToolMessage
0 commit comments