AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(backend/AM): Fix AutoMod api key issue (#10635)
Bently2d436caa8415
diff --git a/autogpt_platform/backend/backend/server/v2/AutoMod/manager.py b/autogpt_platform/backend/backend/server/v2/AutoMod/manager.pyindex 261510fee0..4030b6563f 100644--- a/autogpt_platform/backend/backend/server/v2/AutoMod/manager.py+++ b/autogpt_platform/backend/backend/server/v2/AutoMod/manager.py@@ -320,7 +320,7 @@ class AutoModManager:url = f"{self.config.api_url}/moderate"headers = {"Content-Type": "application/json",- "X-API-Key": self.config.api_key,+ "X-API-Key": self.config.api_key.strip(),}# Create requests instance with timeout and retry configuration