pearai-app
                                
                                 pearai-app copied to clipboard
                                
                                    pearai-app copied to clipboard
                            
                            
                            
                        [Hard][App] Move chat history out of the chat panel
Context
- Currently, previous chats created are all displayed within the same chat panel, and when opened, hides the current chat with no preview aside from chat title.
- We want to be able to see the current chat, and previews of the other chats when the user clicks or arrow keys on them.
- The previous chat history should be seen on a side panel when toggled, that way current chat isn't blocked.
Current look:
Solution
- 
Press CMD+oto show chat history (this shortcut command should be displayed right below the view history button (outside of tooltip)) so user can easily see.
- 
Chat history is displayed as separate panel on the left side of the chat. 
- 
Pressing the up and down arrow keys on keyboard should scroll through the previous chats, allowing the user to choose. - This should also preview those chats in the chat panel. This task can optionally be in a separate PR.
 
Must find way to transport the current history UI into a separate window.
Example UI:
Image
Video
Additionally, why is the context length set to 128000? I bet there is a reason behind it but was wondering if it is already optimized.
ACK'd, this is will happen!
For the context length, it's not used currently, ignore it for now!
For GPT4o, you can use system message for this right now. For the others, we'll make some changes so it works!