Improve in-code documentation

This commit is contained in:
maver 2023-06-27 20:20:24 +02:00
parent e43a2be229
commit bf0dc07b1f
1 changed files with 3 additions and 3 deletions

View File

@ -599,9 +599,9 @@ function prepareOpenAIMessages({
if (power_user.console_log_prompts) chatCompletion.enableLogging();
// Merge items to send that are managed by the prompt manager with items from other places in silly tavern
// While the position in this array matters for positioning items inside the chat completion, further elements
// may be added for later reference, as long as the initial order is not altered.
// Merge items to send, whose are managed by the prompt manager, with items from other places in silly tavern
// While the position in this array matters for positioning items inside the chat completion, elements
// may simply be appended for later reference, as long as the initial order is not altered.
const mappedPrompts = [
// Ordered prompts for which a marker should exist
{role: 'system', content: formatWorldInfo(worldInfoBefore), identifier: 'worldInfoBefore'},