Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def create_agent_configurations(config: ConfigObject):
super(SwarmAgent, SwarmAgent).create_agent_configurations(config)
params = config.get_header(BOT_CONFIG_AGENT_HEADER)
params.add_value('manager_path', str, default=os.path.join('examples', 'levi', 'torch_manager.py'),
description='Path to the manager bot')
def create_agent_configurations(config: ConfigObject):
super(TorchModelAgent, TorchModelAgent).create_agent_configurations(config)
params = config.get_header(BOT_CONFIG_AGENT_HEADER)
params.add_value('model_path', str, default=os.path.join('models', 'cool_atba.mdl'),
description='Path to the model file')
def create_agent_configurations(config: ConfigObject):
super(TeacherAgent, TeacherAgent).create_agent_configurations(config)
params = config.get_header(BOT_CONFIG_AGENT_HEADER)
params.add_value('teacher_path', str, default=os.path.join('agents', 'cool_atba', 'cool_atba_agent.py'),
description='Path to the teacher bot')