| 19 | } |
| 20 | |
| 21 | void ConversationHistory::appendBlockToLast(std::unique_ptr<LLMQore::ContentBlock> block) |
| 22 | { |
| 23 | if (m_messages.empty() || !block) |
| 24 | return; |
| 25 | |
| 26 | m_messages.back().appendBlock(std::move(block)); |
| 27 | emit messageUpdated(static_cast<int>(m_messages.size()) - 1); |
| 28 | } |
| 29 | |
| 30 | void ConversationHistory::appendTextDeltaToLast(const QString &delta) |
| 31 | { |
no test coverage detected