Remove toastr error for character without RVC model assigned, just show it in console info to allow group chat with/withou RVC per character.

This commit is contained in:
Tony Ribeiro 2023-08-15 21:35:07 +02:00
parent 3cb2b7a4a9
commit a64130c71c
1 changed files with 2 additions and 2 deletions

View File

@ -289,8 +289,8 @@ async function rvcVoiceConversion(response, character) {
// Check voice map
if (extension_settings.rvc.voiceMap[character] === undefined) {
toastr.error("No model is assigned to character '"+character+"', check RVC voice map in the extension menu.", DEBUG_PREFIX+'RVC Voice map error', { timeOut: 10000, extendedTimeOut: 20000, preventDuplicates: true });
console.error("No RVC model assign in voice map for current character "+character);
//toastr.error("No model is assigned to character '"+character+"', check RVC voice map in the extension menu.", DEBUG_PREFIX+'RVC Voice map error', { timeOut: 10000, extendedTimeOut: 20000, preventDuplicates: true });
console.info(DEBUG_PREFIX,"No RVC model assign in voice map for current character "+character);
return response;
}