refactor: Move QuickRefactor to Session way

This commit is contained in:
Petr Mironychev
2026-06-11 14:18:44 +02:00
parent 7bfe9d6f0e
commit e65ac23e66
7 changed files with 83 additions and 87 deletions

View File

@@ -31,6 +31,24 @@ private:
QString m_mediaType;
};
class CompletionContent : public LLMQore::ContentBlock
{
public:
CompletionContent(QString prefix, QString suffix)
: m_prefix(std::move(prefix))
, m_suffix(std::move(suffix))
{}
QString type() const override { return QStringLiteral("completion"); }
QString prefix() const { return m_prefix; }
QString suffix() const { return m_suffix; }
private:
QString m_prefix;
QString m_suffix;
};
class StoredAttachmentContent : public LLMQore::ContentBlock
{
public: