n error occurred.'}`;
                        this.isLoading = false;
                        this.loadingStatus = '';
                         this.outputContent = ''; // Clear output on error
                         this.originalTitle = ''; // Clear title on error
                    }
                },

                async fetchSummaryStream(contentToSummarize) {
                    const payload = {
                        model: this.selectedModel,
                        input: contentToSummarize
