mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 02:19:26 +00:00
feat(agent): replace isAi with sessionId & implement admin logs UI
This commit is contained in:
@@ -25,7 +25,7 @@ export async function aiEmbeddingMedia(task: WorkflowTask): Promise<void> {
|
||||
const placeholder = await executeActivity(TaskQueueDb, createCommentActivity, {
|
||||
assetId: task.assetId,
|
||||
message: '__EMBEDDING__',
|
||||
isAi: true,
|
||||
sessionId: (payload?.session_id as string) || task.id,
|
||||
agentId: (payload?.agentId as string) || 'default',
|
||||
})
|
||||
placeholderCommentId = placeholder.id
|
||||
|
||||
Reference in New Issue
Block a user