mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-30 22:43:00 -05:00
feat: Add temp file storage for chat (#279)
* fix: Add signature to chat history * feat: Add file storage for chat
This commit is contained in:
@ -62,6 +62,7 @@
|
||||
#include "widgets/CustomInstructionsManager.hpp"
|
||||
#include "widgets/QuickRefactorDialog.hpp"
|
||||
#include <ChatView/ChatView.hpp>
|
||||
#include <ChatView/ChatFileManager.hpp>
|
||||
#include <coreplugin/actionmanager/actioncontainer.h>
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
#include <texteditor/textdocument.h>
|
||||
@ -87,6 +88,8 @@ public:
|
||||
|
||||
~QodeAssistPlugin() final
|
||||
{
|
||||
Chat::ChatFileManager::cleanupGlobalIntermediateStorage();
|
||||
|
||||
delete m_qodeAssistClient;
|
||||
if (m_chatOutputPane) {
|
||||
delete m_chatOutputPane;
|
||||
@ -249,6 +252,8 @@ public:
|
||||
editorContextMenu->addAction(closeChatViewAction.command(),
|
||||
Core::Constants::G_DEFAULT_THREE);
|
||||
}
|
||||
|
||||
Chat::ChatFileManager::cleanupGlobalIntermediateStorage();
|
||||
}
|
||||
|
||||
void extensionsInitialized() final {}
|
||||
|
||||
Reference in New Issue
Block a user