ChatSession(原ChatStream)与ChatManager;由于功能简单,测试略
This commit is contained in:
@@ -300,7 +300,7 @@ class ChatSession(SQLModel, table=True):
|
||||
created_timestamp: datetime = Field(
|
||||
default_factory=datetime.now, sa_column=Column(DateTime, index=True)
|
||||
) # 创建时间
|
||||
last_active_timestamp: datetime = Field(
|
||||
last_active_timestamp: Optional[datetime] = Field(
|
||||
default_factory=datetime.now, sa_column=Column(DateTime, index=True)
|
||||
) # 最后活跃时间
|
||||
|
||||
|
||||
Reference in New Issue
Block a user