Fix free mode extension on empty chats when {{charPrefix}} is used
| @@ -2445,7 +2445,7 @@ function generateFreeModePrompt(trigger, combineNegatives) { | ||
| 2445 | 2445 | return message.original_avatar.replace(/\.[^/.]+$/, ''); |
| 2446 | 2446 | } |
| 2447 | 2447 | } |
| 2448 | - throw new Error('No usable messages found.'); | |
| 2448 | + return ''; | |
| 2449 | 2449 | }; |
| 2450 | 2450 | |
| 2451 | 2451 | const key = getLastCharacterKey(); |