[MODIFY] MEM SEE OUTPUT
This commit is contained in:
@@ -13,7 +13,7 @@ from app.db import Base
|
||||
class ApiKeyType(StrEnum):
|
||||
"""API Key 类型"""
|
||||
AGENT = "agent" # 智能体
|
||||
CLUSTER = "cluster" # 集群
|
||||
CLUSTER = "multi_agent" # 集群
|
||||
WORKFLOW = "workflow" # 工作流
|
||||
SERVICE = "service" # 服务
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ class ModelConfig(Base):
|
||||
|
||||
# 时间戳
|
||||
created_at = Column(DateTime, default=datetime.datetime.now, comment="创建时间")
|
||||
updated_at = Column(DateTime, default=datetime.datetime.now, onupdate=datetime.datetime.now, comment="更新时间")
|
||||
updated_at = Column(DateTime, default=datetime.datetime.now, onupdate=datetime.datetime.now, comment="更新时间")
|
||||
|
||||
# 关联关系
|
||||
api_keys = relationship("ModelApiKey", back_populates="model_config", cascade="all, delete-orphan")
|
||||
|
||||
Reference in New Issue
Block a user