Tidak ada perubahan staged. Staging area kosong — git diff --cached tidak menghasilkan output. Silakan git add file yang ingin di-commit terlebih dahulu.
This commit is contained in:
@@ -1020,10 +1020,12 @@ async function runTextOnlyBatch(
|
|||||||
: undefined;
|
: undefined;
|
||||||
|
|
||||||
// Use modular system prompt with XML delimiters (R1, R7, R8)
|
// Use modular system prompt with XML delimiters (R1, R7, R8)
|
||||||
|
const correctedExamples = await buildCorrectedFewShotExamples();
|
||||||
const systemText = buildSystemPromptModular({
|
const systemText = buildSystemPromptModular({
|
||||||
contextText,
|
contextText,
|
||||||
mode: "text",
|
mode: "text",
|
||||||
correction,
|
correction,
|
||||||
|
correctedExamples,
|
||||||
});
|
});
|
||||||
|
|
||||||
const messagesBlock = batch
|
const messagesBlock = batch
|
||||||
@@ -1503,9 +1505,11 @@ async function _runSingleMediaAnalysis(
|
|||||||
const messageBlock = `<message id="${target.id}" user="${target.username}">${content}${mediaContext ? ` ${mediaContext}` : ""}${textContext}${webContext}${mediaAnalysisContext}</message>`;
|
const messageBlock = `<message id="${target.id}" user="${target.username}">${content}${mediaContext ? ` ${mediaContext}` : ""}${textContext}${webContext}${mediaAnalysisContext}</message>`;
|
||||||
|
|
||||||
// Modular system prompt with XML delimiters (R1, R7, R8)
|
// Modular system prompt with XML delimiters (R1, R7, R8)
|
||||||
|
const correctedExamples = await buildCorrectedFewShotExamples();
|
||||||
const systemText = buildSystemPromptModular({
|
const systemText = buildSystemPromptModular({
|
||||||
contextText,
|
contextText,
|
||||||
mode: "mixed",
|
mode: "mixed",
|
||||||
|
correctedExamples,
|
||||||
});
|
});
|
||||||
|
|
||||||
const userContent = `${systemText}\n\n<messages_to_analyze>\n${messageBlock}\n</messages_to_analyze>`;
|
const userContent = `${systemText}\n\n<messages_to_analyze>\n${messageBlock}\n</messages_to_analyze>`;
|
||||||
|
|||||||
Reference in New Issue
Block a user