fix: Found and fix review mistakes

This commit is contained in:
Petr Mironychev
2026-07-02 22:26:07 +02:00
parent c070d65366
commit 35bbaa1af0
139 changed files with 2032 additions and 1573 deletions

View File

@@ -45,6 +45,16 @@ public:
m_blocks.push_back(std::move(block));
}
LLMQore::ContentBlock *lastBlock() noexcept
{
return m_blocks.empty() ? nullptr : m_blocks.back().get();
}
std::vector<std::unique_ptr<LLMQore::ContentBlock>> takeBlocks() noexcept
{
return std::move(m_blocks);
}
template<typename T>
T *lastBlockOfType()
{