mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 21:35:59 +08:00
fix: fix the issue with the system model configuration update (#8923)
This commit is contained in:
parent
824a71388a
commit
fa837b2dfd
@ -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…
x
Reference in New Issue
Block a user