From 753c13d76f4910cbf7d9c4b2731209205a5ff854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E8=85=BE?= <101850389+hangters@users.noreply.github.com> Date: Mon, 29 Jul 2024 11:52:59 +0800 Subject: [PATCH] fix add local vision llm error when cannot download test pic (#1732) ### What problem does this PR solve? #1726 fix add local vision llm error when cannot download test pic ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Co-authored-by: Zhedong Cen --- api/apps/llm_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/apps/llm_app.py b/api/apps/llm_app.py index ad963555c..d622b24b4 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: