faa4e9e7b5
- Updated the createSession function to be asynchronous, allowing for pre-validation of the selected agent's configuration before session initiation. - Implemented checks for both built-in and custom agents to ensure they are properly configured, displaying appropriate messages if not ready. - This update improves user experience by preventing session creation with unconfigured agents, ensuring smoother interactions.