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
chore: fix reimported (#18610)
Will205535c8e922
diff --git a/api/controllers/console/app/audio.py b/api/controllers/console/app/audio.pyindex 12d9157dda5..7519ae96c0c 100644--- a/api/controllers/console/app/audio.py+++ b/api/controllers/console/app/audio.py@@ -80,8 +80,6 @@ class ChatMessageTextApi(Resource):@account_initialization_required@get_app_modeldef post(self, app_model: App):- from werkzeug.exceptions import InternalServerError-try:parser = reqparse.RequestParser()parser.add_argument("message_id", type=str, location="json")diff --git a/api/models/model.py b/api/models/model.pyindex 6577492d1bc..d1490d75c8f 100644--- a/api/models/model.py+++ b/api/models/model.py@@ -3,8 +3,8 @@ import reimport uuidfrom collections.abc import Mappingfrom datetime import datetime-from enum import Enum-from typing import TYPE_CHECKING, Optional+from enum import Enum, StrEnum+from typing import TYPE_CHECKING, Any, Literal, Optional, castfrom core.plugin.entities.plugin import GenericProviderIDfrom core.tools.entities.tool_entities import ToolProviderType@@ -13,9 +13,6 @@ from services.plugin.plugin_service import PluginServiceif TYPE_CHECKING:from models.workflow import Workflow-from enum import StrEnum-from typing import TYPE_CHECKING, Any, Literal, cast-import sqlalchemy as safrom flask import requestfrom flask_login import UserMixin # type: ignorediff --git a/api/models/workflow.py b/api/models/workflow.pyindex 5a67fa47a88..da60617de52 100644--- a/api/models/workflow.py+++ b/api/models/workflow.py@@ -1,14 +1,12 @@import jsonfrom collections.abc import Mapping, Sequencefrom datetime import UTC, datetime-from enum import Enum+from enum import Enum, StrEnumfrom typing import TYPE_CHECKING, Any, Optional, Self, Unionfrom uuid import uuid4if TYPE_CHECKING:from models.model import AppMode-from enum import StrEnum-from typing import TYPE_CHECKINGimport sqlalchemy as safrom sqlalchemy import Index, PrimaryKeyConstraint, func