From b2d5619f78a97f0309796dfbf6cf627a94c00d5e Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 25 Jan 2026 01:14:37 +0000 Subject: [PATCH] fix(ai): resolve PROVIDERS undefined in profileModalController (agent) Import `PROVIDERS` from `../services/storageService.js` in `js/ui/profileModalController.js`. This fixes a `ReferenceError` when testing or saving generic S3 storage configurations. The error was caused by using `PROVIDERS.GENERIC` without importing the constant. --- js/ui/profileModalController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/profileModalController.js b/js/ui/profileModalController.js index a3c6f4f9..172f5807 100644 --- a/js/ui/profileModalController.js +++ b/js/ui/profileModalController.js @@ -38,6 +38,7 @@ import { uploadAttachment, getAttachmentCacheStats, } from "../services/attachmentService.js"; +import { PROVIDERS } from "../services/storageService.js"; import { getLinkPreviewSettings, setLinkPreviewAutoFetch,