n history, and handling memory and token limits.
critic_agent.py ‚Äì this filedefines the CriticAgent class, (extends the ChatAgent class); The critic agent is designed to assist in evaluating and selecting an option from a set of proposals. It provides functionality for presenting options, parsing responses, and handling retries if the critic fails to make a valid choice.
role_playing.py ‚Äì this file defines the RolePlaying class, which facilitates role-playing interactions between two agents and 