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
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)
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
Possible Solution
Make name/desc optional.
Steps to Reproduce
Supply supervisor with agent name and desc and see it replaced with lead agents.
The text was updated successfully, but these errors were encountered: