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
fix: fix import dsl failed (#34492)
wangxiaolei4cc5401d7e83
diff --git a/api/controllers/console/app/app_import.py b/api/controllers/console/app/app_import.pyindex 16e1fa32455..c2805f765ba 100644--- a/api/controllers/console/app/app_import.py+++ b/api/controllers/console/app/app_import.py@@ -1,6 +1,6 @@from flask_restx import Resource, fields, marshal_withfrom pydantic import BaseModel, Field-from sqlalchemy.orm import sessionmaker+from sqlalchemy.orm import Session, sessionmakerfrom controllers.console.app.wraps import get_app_modelfrom controllers.console.wraps import (@@ -71,7 +71,7 @@ class AppImportApi(Resource):args = AppImportPayload.model_validate(console_ns.payload)# Create service with session- with sessionmaker(db.engine).begin() as session:+ with Session(db.engine) as session:import_service = AppDslService(session)# Import appaccount = current_user