| 4775 | return false; | 4775 | return false; |
| 4776 | } | 4776 | } |
| 4777 | | 4777 | |
| | 4778 | if (abortController && abortController.signal.aborted) { |
| | 4779 | console.debug('Auto-continue is not triggered because the generation was stopped.'); |
| | 4780 | return false; |
| | 4781 | } |
| | 4782 | |
| 4778 | if (power_user.auto_continue.target_length <= 0) { | 4783 | if (power_user.auto_continue.target_length <= 0) { |
| 4779 | console.log('Auto-continue target length is 0, not triggering auto-continue'); | 4784 | console.log('Auto-continue target length is 0, not triggering auto-continue'); |
| 4780 | return false; | 4785 | return false; |