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
refactor: split changes for api/controllers/console/explore/message.py (#29890)
Asuka Minatof0d02b4b91ed
diff --git a/api/controllers/console/explore/message.py b/api/controllers/console/explore/message.pyindex 229b7c8865f..d596d60b361 100644--- a/api/controllers/console/explore/message.py+++ b/api/controllers/console/explore/message.py@@ -1,6 +1,5 @@import loggingfrom typing import Literal-from uuid import UUIDfrom flask import requestfrom flask_restx import marshal_with@@ -26,6 +25,7 @@ from core.errors.error import ModelCurrentlyNotSupportError, ProviderTokenNotInifrom core.model_runtime.errors.invoke import InvokeErrorfrom fields.message_fields import message_infinite_scroll_pagination_fieldsfrom libs import helper+from libs.helper import UUIDStrOrEmptyfrom libs.login import current_account_with_tenantfrom models.model import AppModefrom services.app_generate_service import AppGenerateService@@ -44,8 +44,8 @@ logger = logging.getLogger(__name__)class MessageListQuery(BaseModel):- conversation_id: UUID- first_id: UUID | None = None+ conversation_id: UUIDStrOrEmpty+ first_id: UUIDStrOrEmpty | None = Nonelimit: int = Field(default=20, ge=1, le=100)