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: example to add Mapped (#40374)
Asuka Minato677f2cf43f19
diff --git a/api/models/model.py b/api/models/model.pyindex 216fed2be6a..4fb4cbf166e 100644--- a/api/models/model.py+++ b/api/models/model.py@@ -1154,7 +1154,7 @@ class Conversation(Base):)id: Mapped[str] = mapped_column(StringUUID, default=lambda: str(uuid4()))- app_id = mapped_column(StringUUID, nullable=False)+ app_id: Mapped[str] = mapped_column(StringUUID, nullable=False)app_model_config_id = mapped_column(StringUUID, nullable=True)agent_workspace_binding_id: Mapped[str | None] = mapped_column(StringUUID, nullable=True)model_provider = mapped_column(String(255), nullable=True)@@ -1164,8 +1164,8 @@ class Conversation(Base):name: Mapped[str] = mapped_column(String(255), nullable=False)summary = mapped_column(LongText)_inputs: Mapped[dict[str, Any]] = mapped_column("inputs", sa.JSON)- introduction = mapped_column(LongText)- system_instruction = mapped_column(LongText)+ introduction: Mapped[str | None] = mapped_column(LongText, nullable=True)+ system_instruction: Mapped[str | None] = mapped_column(LongText, nullable=True)system_instruction_tokens: Mapped[int] = mapped_column(sa.Integer, nullable=False, server_default=sa.text("0"))status: Mapped[ConversationStatus] = mapped_column(EnumText(ConversationStatus, length=255), nullable=False, default=ConversationStatus.NORMAL