Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

add:save_model_credentials error log (#7630)

pinsilya7743a4f4755
diff --git a/api/controllers/console/workspace/models.py b/api/controllers/console/workspace/models.py
index 69f2253e97e..35f02761d53 100644
--- a/api/controllers/console/workspace/models.py
+++ b/api/controllers/console/workspace/models.py
@@ -156,6 +156,7 @@ class ModelProviderModelApi(Resource):
credentials=args['credentials']
)
except CredentialsValidateFailedError as ex:
+ logging.exception(f"save model credentials error: {ex}")
raise ValueError(str(ex))
return {'result': 'success'}, 200