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