Skip to content
Discussion options

You must be logged in to vote

These flags control which agents an LlmAgent can hand the conversation to using transfer_to_agent.

For example, with this tree:

coordinator (LlmAgent)
├── researcher (LlmAgent)
└── writer (LlmAgent)

Set the flags on researcher:

Settings Researcher can transfer to
Both False (the defaults) coordinator and writer
disallow_transfer_to_parent=True only writer
disallow_transfer_to_peers=True only coordinator
Both True Neither of those agents

For example, disallow_transfer_to_peers=True is useful when the researcher should send work back through the coordinator instead of handing it directly to the writer.

These settings restrict the available transfer_to_agent targets; they do…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sanketpatil06
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants