Skip to main content

RandomPattern

RandomPattern implements a random agent selection process.
Initialize the pattern with the required components.
Parameters:

Static Methods

create_default

Create a default pattern with minimal configuration.
This replaces the need for a separate BasePattern class by providing a factory method that creates a simple DefaultPattern instance.
Parameters:

Instance Methods

prepare_group_chat

Prepare the group chat for organic agent selection.
Ensures that:
1. The group manager has a valid LLM config 2. All agents have appropriate descriptions for the group manager to use
Parameters: Returns: