Pass chat message name to chatcompletion endpoint

This commit is contained in:
maver
2023-06-25 18:44:07 +02:00
parent aaa2c48e7d
commit 5c18abadac
2 changed files with 11 additions and 4 deletions

View File

@ -546,6 +546,8 @@ PromptManagerModule.prototype.preparePrompt = function (prompt, original = null)
else preparedPrompt.content = substituteParams(prompt.content);
}
if (prompt.name) preparedPrompt.name = prompt.name;
return preparedPrompt;
}