mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-18 13:04:28 -04:00
Fix clear message history
This commit is contained in:
@ -103,6 +103,14 @@ void ChatClientInterface::sendMessage(const QString &message)
|
||||
m_requestHandler->sendLLMRequest(config, request);
|
||||
}
|
||||
|
||||
void ChatClientInterface::clearMessages()
|
||||
{
|
||||
m_chatHistory = {};
|
||||
m_accumulatedResponse.clear();
|
||||
m_pendingMessage.clear();
|
||||
logMessage("Chat history cleared");
|
||||
}
|
||||
|
||||
void ChatClientInterface::handleLLMResponse(const QString &response, bool isComplete)
|
||||
{
|
||||
m_accumulatedResponse += response;
|
||||
|
Reference in New Issue
Block a user