mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-30 21:04:59 +00:00
feat(agent): replace isAi with sessionId & implement admin logs UI
This commit is contained in:
@@ -429,7 +429,8 @@ model AssetComment {
|
||||
/// [AnnotationList]
|
||||
annotation Json?
|
||||
second Float?
|
||||
isAi Boolean @default(false) @map("is_ai")
|
||||
sessionId String? @map("session_id")
|
||||
session AgentSession? @relation(fields: [sessionId], references: [id], onDelete: SetNull)
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @updatedAt @map("updated_at")
|
||||
|
||||
@@ -652,6 +653,7 @@ model AgentSession {
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @updatedAt @map("updated_at")
|
||||
entries AgentSessionEntry[]
|
||||
comments AssetComment[]
|
||||
|
||||
@@map("agent_sessions")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user