Skip to content

Commit 0f10fe8

Browse files
authored
update README (#17)
1 parent c5be66b commit 0f10fe8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ def create_custom_handoff_tool(*, agent_name: str, tool_name: str, tool_descript
148148
# you can use a different messages state key here, if your agent uses a different schema
149149
# e.g., "alice_messages" instead of "messages"
150150
last_agent_message = state["messages"][-1]
151-
# if the tool schema includes task description that LLM generates,
152-
# you can extract it from the last tool call argument and pass it on to the next agent
153-
task_description = last_agent_message.tool_calls[0]["args"]["task_description"]
154151
return Command(
155152
goto=agent_name,
156153
graph=Command.PARENT,

0 commit comments

Comments
 (0)