fix(agent): use current comment ID for media tools in subsequent turns of a session

This commit is contained in:
yiling
2026-06-05 23:41:58 +08:00
parent 49f010ca85
commit b56d880d33
4 changed files with 62 additions and 1 deletions
@@ -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,
})