Add stopping chat requests and button

This commit is contained in:
Petr Mironychev
2024-10-17 00:03:12 +02:00
parent 2257e6e45f
commit 9c2516cd4c
7 changed files with 33 additions and 3 deletions

View File

@ -187,4 +187,9 @@ int ChatModel::tokensThreshold() const
return settings.chatTokensThreshold();
}
QString ChatModel::lastMessageId() const
{
return !m_messages.isEmpty() ? m_messages.last().id : "";
}
} // namespace QodeAssist::Chat