Add files via upload

This commit is contained in:
公明
2026-06-23 01:36:48 +08:00
committed by GitHub
parent 732d47a965
commit 4a9889f0af
5 changed files with 67 additions and 3 deletions
+3
View File
@@ -594,6 +594,9 @@ func (h *RobotHandler) cmdDelete(platform, userID, convID string) string {
h.mu.Unlock()
h.deleteSessionBinding(sk)
}
if h.agentHandler != nil {
h.agentHandler.CancelRunningTaskForConversation(convID)
}
if err := h.db.DeleteConversation(convID); err != nil {
return "删除失败: " + err.Error()
}