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
example of next(, None) (#24345)
Asuka Minato51cc2bf42977
diff --git a/api/core/rag/extractor/excel_extractor.py b/api/core/rag/extractor/excel_extractor.pyindex a3b35458df9..7cc554c74d7 100644--- a/api/core/rag/extractor/excel_extractor.py+++ b/api/core/rag/extractor/excel_extractor.py@@ -34,9 +34,8 @@ class ExcelExtractor(BaseExtractor):for sheet_name in wb.sheetnames:sheet = wb[sheet_name]data = sheet.values- try:- cols = next(data)- except StopIteration:+ cols = next(data, None)+ if cols is None:continuedf = pd.DataFrame(data, columns=cols)