Fix isPrefix for continue on reasoning
| @@ -3959,7 +3959,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro | ||
| 3959 | 3959 | const promptReasoning = new PromptReasoning(); |
| 3960 | 3960 | for (let i = coreChat.length - 1; i >= 0; i--) { |
| 3961 | 3961 | const depth = coreChat.length - i - 1; |
| 3962 | 3962 | const isPrefix = isContinue && i === coreChat.length - (isContinue ? 2 : 1); |
| 3963 | 3963 | coreChat[i] = { |
| 3964 | 3964 | ...coreChat[i], |
| 3965 | 3965 | mes: promptReasoning.addToMessage( |