Skip to content

Instantly share code, notes, and snippets.

@pavlovmilen
Created May 11, 2025 10:32
Show Gist options
  • Save pavlovmilen/2a93ddd78680665ac334c704082761db to your computer and use it in GitHub Desktop.
Save pavlovmilen/2a93ddd78680665ac334c704082761db to your computer and use it in GitHub Desktop.
selector prompt
selector_prompt = """Select an agent to perform task.
{roles}
Current conversation context:
{history}
Read the above conversation, then select an agent from {participants} to perform the next task.
Make sure the planner agent has assigned tasks before other agents start working.
Only select one agent at a time.
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment