feat: Enhance AgentChatWidget with Improved Message Handling and UI Updates
- Updated the AgentChatWidget to manage AI response states, including a new mechanism for handling pending messages and a thinking animation indicator. - Improved the initialization of embedded labels for resource tools, ensuring labels are loaded only when necessary, enhancing performance and user experience. - Refined the chat history synchronization process to ensure timely updates in the chat history popup. - Enhanced the UI layout for better readability and interaction, including adjustments to button styles and spacing for a more polished appearance.
This commit is contained in: