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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Compatible model saving error (#1582)
Jyongcc35d0645a86
diff --git a/api/controllers/console/workspace/models.py b/api/controllers/console/workspace/models.pyindex dd10ae1ce26..6df99ebe1bd 100644--- a/api/controllers/console/workspace/models.py+++ b/api/controllers/console/workspace/models.py@@ -1,3 +1,5 @@+import logging+from flask_login import current_userfrom libs.login import login_requiredfrom flask_restful import Resource, reqparse@@ -77,12 +79,15 @@ class DefaultModelApi(Resource):provider_service = ProviderService()model_settings = args['model_settings']for model_setting in model_settings:- provider_service.update_default_model_of_model_type(- tenant_id=current_user.current_tenant_id,- model_type=model_setting['model_type'],- provider_name=model_setting['provider_name'],- model_name=model_setting['model_name']- )+ try:+ provider_service.update_default_model_of_model_type(+ tenant_id=current_user.current_tenant_id,+ model_type=model_setting['model_type'],+ provider_name=model_setting['provider_name'],+ model_name=model_setting['model_name']+ )+ except Exception:+ logging.warning(f"{model_setting['model_type']} save error")return {'result': 'success'}