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(store): remove debug logging of requests (#9093)
Swifty44722c4b39fd
diff --git a/autogpt_platform/frontend/src/lib/autogpt-server-api/client.ts b/autogpt_platform/frontend/src/lib/autogpt-server-api/client.tsindex 502849aeaf..43a87d4361 100644--- a/autogpt_platform/frontend/src/lib/autogpt-server-api/client.ts+++ b/autogpt_platform/frontend/src/lib/autogpt-server-api/client.ts@@ -451,16 +451,6 @@ export default class BackendAPI {await new Promise((resolve) => setTimeout(resolve, 100 * retryCount));}}- console.log("Request: ", method, path, "from: ", page);- if (token === "no-token-found") {- console.warn(- "No auth token found after retries. This may indicate a session sync issue between client and server.",- );- console.debug("Last session attempt:", retryCount);- } else {- console.log("Auth token found");- }- console.log("--------------------------------");let url = this.baseUrl + path;const payloadAsQuery = ["GET", "DELETE"].includes(method);