815c72c964
- Updated components to utilize the new `useChatResourcesStore` for managing knowledge bases and agents, improving data fetching and caching mechanisms. - Refactored `AgentSelector`, `IMChannelPanel`, `Input-field`, and `menu` components to replace direct API calls with store methods, enhancing maintainability and performance. - Adjusted knowledge base loading logic to ensure consistency across components and reduce redundant API requests. - Improved session state handling in `settings` store to prevent overwriting user selections during state restoration.