Selaa lähdekoodia

fix: fix the issue with the system model configuration update (#8923)

tags/0.9.0
zhuhao 1 vuosi sitten
vanhempi
commit
fa837b2dfd
No account linked to committer's email address
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3
    2
      api/controllers/console/workspace/models.py

+ 3
- 2
api/controllers/console/workspace/models.py Näytä tiedosto

@@ -72,8 +72,9 @@ class DefaultModelApi(Resource):
provider=model_setting["provider"],
model=model_setting["model"],
)
except Exception:
logging.warning(f"{model_setting['model_type']} save error")
except Exception as ex:
logging.exception(f"{model_setting['model_type']} save error: {ex}")
raise ex

return {"result": "success"}


Loading…
Peruuta
Tallenna