Explorar el Código

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

tags/0.9.0
zhuhao hace 1 año
padre
commit
fa837b2dfd
No account linked to committer's email address
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      api/controllers/console/workspace/models.py

+ 3
- 2
api/controllers/console/workspace/models.py Ver fichero

@@ -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"}


Cargando…
Cancelar
Guardar