mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-06-14 02:09:22 -04:00
refactor: Remove project rules
This commit is contained in:
@@ -310,6 +310,15 @@ ContextData makeValidationContext()
|
||||
Message asst;
|
||||
asst.role = QStringLiteral("assistant");
|
||||
{
|
||||
ContentBlockEntry th;
|
||||
th.kind = ContentBlockEntry::Kind::Thinking;
|
||||
th.thinking = QStringLiteral("reasoning");
|
||||
th.signature = QStringLiteral("sig");
|
||||
asst.blocks.append(th);
|
||||
ContentBlockEntry rth;
|
||||
rth.kind = ContentBlockEntry::Kind::RedactedThinking;
|
||||
rth.signature = QStringLiteral("sig");
|
||||
asst.blocks.append(rth);
|
||||
ContentBlockEntry t;
|
||||
t.kind = ContentBlockEntry::Kind::Text;
|
||||
t.text = QStringLiteral("hi");
|
||||
@@ -516,9 +525,7 @@ void JsonPromptTemplate::prepareRequest(QJsonObject &request, const ContextData
|
||||
}
|
||||
|
||||
bool JsonPromptTemplate::buildFullRequest(
|
||||
QJsonObject &request,
|
||||
const ContextData &context,
|
||||
bool /*thinkingEnabled*/) const
|
||||
QJsonObject &request, const ContextData &context) const
|
||||
{
|
||||
return mergeRenderedBody(request, renderBody(context));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user