mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-13 21:35:57 +08:00
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 <cenzhedong2@126.com>
This commit is contained in:
parent
0cb588f7bf
commit
753c13d76f
@ -195,7 +195,7 @@ def add_llm():
|
|||||||
if not tc:
|
if not tc:
|
||||||
raise Exception(m)
|
raise Exception(m)
|
||||||
else:
|
else:
|
||||||
raise ConnectionError("fail to download the test picture")
|
pass
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
msg += f"\nFail to access model({llm['llm_name']})." + str(e)
|
msg += f"\nFail to access model({llm['llm_name']})." + str(e)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user