feat: Add removing codeblock wrappers from code completion

This commit is contained in:
Petr Mironychev
2024-11-26 11:26:50 +01:00
parent bfdbc755e3
commit 31f4516e7b
2 changed files with 46 additions and 10 deletions

View File

@ -58,6 +58,7 @@ private:
const QString &accumulatedResponse,
const LLMConfig &config);
QString removeStopWords(const QStringView &completion, const QStringList &stopWords);
void removeCodeBlockWrappers(QString &response);
};
} // namespace QodeAssist::LLMCore