From bb857df799454558796306a794a9b90a3f8d3255 Mon Sep 17 00:00:00 2001 From: -LAN- Date: Wed, 5 Nov 2025 03:41:26 +0800 Subject: [PATCH] Apply suggestion from @asukaminato0721 Co-authored-by: Asuka Minato --- api/models/model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/models/model.py b/api/models/model.py index a65f72ccf6..7ed3b935fe 100644 --- a/api/models/model.py +++ b/api/models/model.py @@ -22,7 +22,7 @@ from core.workflow.enums import WorkflowExecutionStatus from libs.helper import generate_string # type: ignore[import-not-found] from .account import Account, Tenant -from .base import Base +from .base import Base, TypeBase from .engine import db from .enums import CreatorUserRole from .provider_ids import GenericProviderID @@ -1771,7 +1771,7 @@ class MessageChain(Base): created_at = mapped_column(sa.DateTime, nullable=False, server_default=sa.func.current_timestamp()) -class MessageAgentThought(Base): +class MessageAgentThought(TypeBase): __tablename__ = "message_agent_thoughts" __table_args__ = ( sa.PrimaryKeyConstraint("id", name="message_agent_thought_pkey"),