| 5963 | 5963 | * @param {string} [options.getMessage] The message to clean up |
| 5964 | 5964 | * @param {boolean} [options.isImpersonate] Whether this is an impersonated message |
| 5965 | 5965 | * @param {boolean} [options.isContinue] Whether this is a continued message |
| 5966 | 5966 | * @param {boolean} [options.displayIncompleteSentences] Whether to *not* trimkeep incomplete sentences at the end. |
| 5967 | 5967 | * @param {array} [options.stoppingStrings] Array of stopping strings. |
| 5968 | 5968 | * @param {boolean} [options.includeUserPromptBias] Whether to permit prepending the user prompt bias at the beginning. |
| 5969 | 5969 | * @param {boolean} [options.trimNames] Whether to allow trimming "{{char}}:" or "{{user}}:" from the beginning. |
| 5970 | 5970 | * |
| 5971 | 5971 | * @returns {string} The formatted message |
| 5972 | 5972 | */ |