Kaynağa Gözat

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

tags/0.9.0
zhuhao 1 yıl önce
ebeveyn
işleme
fa837b2dfd
No account linked to committer's email address
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3
    2
      api/controllers/console/workspace/models.py

+ 3
- 2
api/controllers/console/workspace/models.py Dosyayı Görüntüle

@@ -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…
İptal
Kaydet