RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Speed up ragflow server (#14894)
Wang Qif3b3596c2961
diff --git a/api/ragflow_server.py b/api/ragflow_server.pyindex af4720218f..5c850092f3 100644--- a/api/ragflow_server.py+++ b/api/ragflow_server.py@@ -19,8 +19,13 @@ print("Start RAGFlow server...")import timestart_ts = time.time()-import loggingimport os++# LiteLLM fetches a model cost map from GitHub during import unless this is set.+# The API server should not block startup on external network access.+os.environ.setdefault("LITELLM_LOCAL_MODEL_COST_MAP", "True")++import loggingimport signalimport sysimport threading