importlogginglogger=logging.getLogger(__name__)fromagenticaiframework.configurationsimportConfigurationManager# Example: Using the ConfigurationManager# ----------------------------------------# This example demonstrates how to:# 1. Create a ConfigurationManager# 2. Set, update, retrieve, and remove configurations## Expected Output:# - Display of configuration changes and retrieval resultsif__name__=="__main__":# Create a configuration managerconfig_manager=ConfigurationManager()# Set a configurationconfig_manager.set_config("Database",{"host":"localhost","port":5432})logger.info("Config set for Database.")# Retrieve the configurationdb_config=config_manager.get_config("Database")logger.info("Retrieved Database Config:",db_config)# Update the configurationconfig_manager.update_config("Database",{"port":3306})logger.info("Updated Database Config:",config_manager.get_config("Database"))# List all componentslogger.info("All Configured Components:",config_manager.list_components())# Remove the configurationconfig_manager.remove_config("Database")logger.info("Database config removed. Components now:",config_manager.list_components())