Skip to content

Bug: Supervisor Agent Name/Desc #254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
brianantonelli opened this issue Feb 25, 2025 · 1 comment
Open

Bug: Supervisor Agent Name/Desc #254

brianantonelli opened this issue Feb 25, 2025 · 1 comment
Labels
bug Something isn't working triage

Comments

@brianantonelli
Copy link

Expected Behaviour

Supervisor agent shouldnt expect a name and description

Current Behaviour

Supervisor takes name and description, but overwrites them with the lead agents.

Code snippet

def __init__(self, options: SupervisorAgentOptions):
        options.validate()
        options.name = options.lead_agent.name
        options.description = options.lead_agent.description

Possible Solution

Make name/desc optional.

Steps to Reproduce

Supply supervisor with agent name and desc and see it replaced with lead agents.

@brianantonelli brianantonelli added the bug Something isn't working label Feb 25, 2025
brianantonelli added a commit to brianantonelli/multi-agent-orchestrator that referenced this issue Feb 25, 2025
@Vinay-Khanagavi
Copy link

Make name and description optional in SupervisorAgentOptions
Do not overwrite name/description in SupervisorAgent if provided; only default to lead_agent’s values if not set.
Allows custom naming/description for supervisor agent without being replaced by lead agent’s values.
Resolves issue where supplied name/desc were ignored.

class SupervisorAgentOptions(AgentOptions):
    name: Optional[str] = None  # Supervisor agent name (optional)
    description: Optional[str] = None  # Supervisor agent description (optional)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants