mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix bottom text of the comment
This commit is contained in:
@ -519,6 +519,7 @@ function selectMatchingContextTemplate(name) {
|
|||||||
* Replaces instruct mode macros in the given input string.
|
* Replaces instruct mode macros in the given input string.
|
||||||
* @param {string} input Input string.
|
* @param {string} input Input string.
|
||||||
* @param {Object<string, *>} env - Map of macro names to the values they'll be substituted with. If the param
|
* @param {Object<string, *>} env - Map of macro names to the values they'll be substituted with. If the param
|
||||||
|
* values are functions, those functions will be called and their return values are used.
|
||||||
* @returns {string} String with macros replaced.
|
* @returns {string} String with macros replaced.
|
||||||
*/
|
*/
|
||||||
export function replaceInstructMacros(input, env) {
|
export function replaceInstructMacros(input, env) {
|
||||||
|
Reference in New Issue
Block a user