mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: associate computer use recordings with chats (#24471)
Fixes [CODAGT-195](https://linear.app/codercom/issue/CODAGT-195/agent-uploaded-recordings-are-missing-chat-file-links-entries).
This commit is contained in:
@@ -373,7 +373,7 @@ func (p *Server) subagentTools(
|
||||
stopCtx, stopCancel := context.WithTimeout(context.WithoutCancel(ctx), 90*time.Second)
|
||||
defer stopCancel()
|
||||
recResult = p.stopAndStoreRecording(stopCtx, agentConn,
|
||||
recordingID, parent.OwnerID, parent.WorkspaceID)
|
||||
recordingID, parent.OwnerID, parent.WorkspaceID, parent.ID)
|
||||
}
|
||||
resp := map[string]any{
|
||||
"chat_id": targetChatID.String(),
|
||||
|
||||
Reference in New Issue
Block a user