fix: fix the issue with the system model configuration update (#8923)
This commit is contained in:
parent
824a71388a
commit
fa837b2dfd
1 changed files with 3 additions and 2 deletions
|
|
@ -72,8 +72,9 @@ class DefaultModelApi(Resource):
|
||||||
provider=model_setting["provider"],
|
provider=model_setting["provider"],
|
||||||
model=model_setting["model"],
|
model=model_setting["model"],
|
||||||
)
|
)
|
||||||
except Exception:
|
except Exception as ex:
|
||||||
logging.warning(f"{model_setting['model_type']} save error")
|
logging.exception(f"{model_setting['model_type']} save error: {ex}")
|
||||||
|
raise ex
|
||||||
|
|
||||||
return {"result": "success"}
|
return {"result": "success"}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue