Skip to content

Commit 252afff

Browse files
author
Marvin Zhang
committed
refactor: streamline AssistantConsole and useAssistantConsole for improved clarity and functionality
- Refactored AssistantConsole component to utilize the useAssistantConsole hook, consolidating state management and logic. - Removed redundant state variables and methods from AssistantConsole, enhancing maintainability. - Updated message handling to ensure proper scrolling behavior during streaming responses. - Simplified props and emits in ChatSidebar for cleaner integration with the AssistantConsole. - Enhanced NormalLayout to properly handle the close event for the AssistantConsole, improving user experience.
1 parent 1736af7 commit 252afff

File tree

4 files changed

+467
-423
lines changed

4 files changed

+467
-423
lines changed

0 commit comments

Comments
 (0)