Fixed variable naming, better jsdoc

This commit is contained in:
bmen25124
2025-03-26 23:30:09 +03:00
parent a7d48b1aed
commit 972b1e5fa7
3 changed files with 7 additions and 5 deletions

View File

@@ -272,7 +272,7 @@ export class TextCompletionService {
formattedMessages.push(messageContent);
}
requestData.prompt = formattedMessages.join('');
const stoppingStrings = getInstructStoppingSequences({ customInstruct: instructPreset, useStopString: false });
const stoppingStrings = getInstructStoppingSequences({ customInstruct: instructPreset, useStopStrings: false });
requestData.stop = stoppingStrings;
requestData.stopping_strings = stoppingStrings;
} else {