SingleAgentWorker

class SingleAgentWorker(Worker):

A worker node that consists of a single agent.

Parameters:

  • description (str): Description of the node.
  • worker (ChatAgent): Worker of the node. A single agent.

init

def __init__(self, description: str, worker: ChatAgent):

reset

def reset(self):

Resets the worker to its initial state.