Skip to content

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(platform): Disable logging store terms (#11147)

Swifty58ef687a5408
diff --git a/autogpt_platform/backend/backend/server/v2/store/db.py b/autogpt_platform/backend/backend/server/v2/store/db.py
index 3c8676bb4d..3d2603b0a0 100644
--- a/autogpt_platform/backend/backend/server/v2/store/db.py
+++ b/autogpt_platform/backend/backend/server/v2/store/db.py
@@ -144,9 +144,10 @@ async def get_store_agents(
raise backend.server.v2.store.exceptions.DatabaseError(
"Failed to fetch store agents"
) from e
- finally:
- if search_term:
- await log_search_term(search_query=search_term)
+ # TODO: commenting this out as we concerned about potential db load issues
+ # finally:
+ # if search_term:
+ # await log_search_term(search_query=search_term)
async def log_search_term(search_query: str):