Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix add local vision llm error when cannot download test pic (#1732)

黄腾753c13d76f49
diff --git a/api/apps/llm_app.py b/api/apps/llm_app.py
index ad963555ca..d622b24b45 100644
--- a/api/apps/llm_app.py
+++ b/api/apps/llm_app.py
@@ -195,7 +195,7 @@ def add_llm():
if not tc:
raise Exception(m)
else:
- raise ConnectionError("fail to download the test picture")
+ pass
except Exception as e:
msg += f"\nFail to access model({llm['llm_name']})." + str(e)
else: