Skill issue
| @@ -3883,6 +3883,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3883 | 3883 | } |
| 3884 | 3884 | const depth = coreChat.length - i - 1; |
| 3885 | 3885 | coreChat[i] = { |
| 3886 | + ...coreChat[i], | |
| 3886 | 3887 | mes: reasoning.addToMessage( |
| 3887 | 3888 | coreChat[i].mes, |
| 3888 | 3889 | getRegexedString( |
| @@ -3891,7 +3892,6 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3891 | 3892 | { isPrompt: true, depth: depth }, |
| 3892 | 3893 | ), |
| 3893 | 3894 | ), |
| 3894 | - ...coreChat[i], | |
| 3895 | 3895 | }; |
| 3896 | 3896 | } |
| 3897 | 3897 | |