Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
refactor(api): remove unnecessary type: ignore in summary_index_service (#24494) (#37423)
Manan Bansalfbfbbda24578
diff --git a/api/services/summary_index_service.py b/api/services/summary_index_service.pyindex cf39469be85..1657cfdd256 100644--- a/api/services/summary_index_service.py+++ b/api/services/summary_index_service.py@@ -123,7 +123,7 @@ class SummaryIndexService:# Update existing recordexisting_summary.summary_content = summary_contentexisting_summary.status = status- existing_summary.error = None # type: ignore[assignment] # Clear any previous errors+ existing_summary.error = None # Clear any previous errors# Re-enable if it was disabledif not existing_summary.enabled:existing_summary.enabled = True@@ -583,7 +583,7 @@ class SummaryIndexService:if existing_summary:# Update existing recordexisting_summary.status = status- existing_summary.error = None # type: ignore[assignment] # Clear any previous errors+ existing_summary.error = None # Clear any previous errorsif not existing_summary.enabled:existing_summary.enabled = Trueexisting_summary.disabled_at = None@@ -685,7 +685,7 @@ class SummaryIndexService:# Update status to "generating"summary_record_in_session.status = SummaryStatus.GENERATING- summary_record_in_session.error = None # type: ignore[assignment]+ summary_record_in_session.error = Nonesession.add(summary_record_in_session)# Don't flush here - wait until after vectorization succeeds@@ -1127,7 +1127,7 @@ class SummaryIndexService:# Update summary contentsummary_record.summary_content = summary_contentsummary_record.status = SummaryStatus.GENERATING- summary_record.error = None # type: ignore[assignment] # Clear any previous errors+ summary_record.error = None # Clear any previous errorssession.add(summary_record)# Flush to ensure summary_content is saved before vectorize_summary queries itsession.flush()