mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 11:27:14 +00:00
fix(agent): use current comment ID for media tools in subsequent turns of a session
This commit is contained in:
@@ -135,6 +135,7 @@ export async function agentChat(task: WorkflowTask): Promise<void> {
|
||||
agentsInstruction: instruction,
|
||||
sessionId,
|
||||
userId: payload.agent?.userId,
|
||||
userCommentId,
|
||||
explicitMention: payload.agent?.explicitMention,
|
||||
context,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user