    console.error('Failed to fetch or process summary stream:', error);
                        this.errorMessage = `Error during summarization: ${error.message}`;
                        this.isLoading = false;
                        this.loadingStatus = '';
                        // Don't clear outputContent here, let the error message show
                        // this.outputContent = '';
                        this.summaryContent = ''; // Clear potentially partial raw summary
                    }
