mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 23:24:21 +00:00
feat: configure embedding servers and transcript agents
This commit is contained in:
@@ -701,6 +701,8 @@ model AssetComment {
|
||||
second Float?
|
||||
sessionId String? @map("session_id")
|
||||
session AgentSession? @relation(fields: [sessionId], references: [id], onDelete: SetNull)
|
||||
transcriptionTaskId String? @unique @map("transcription_task_id")
|
||||
transcriptionTask WorkflowTask? @relation(fields: [transcriptionTaskId], references: [id], onDelete: SetNull)
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @updatedAt @map("updated_at")
|
||||
|
||||
@@ -929,6 +931,7 @@ model WorkflowTask {
|
||||
sessionId String? @map("session_id")
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @updatedAt @map("updated_at")
|
||||
transcriptionFailureComment AssetComment?
|
||||
|
||||
@@map("workflow_tasks")
|
||||
@@index([status, heartbeat])
|
||||
@@ -942,6 +945,7 @@ enum AgentType {
|
||||
chat
|
||||
autofill
|
||||
embedding
|
||||
transcription
|
||||
}
|
||||
|
||||
enum AgentSessionType {
|
||||
|
||||
Reference in New Issue
Block a user