From 13c8d81f15ed1b9fa8d506d04df733bbb940c4d9 Mon Sep 17 00:00:00 2001 From: SwiftyOS Date: Thu, 21 Sep 2023 15:21:41 +0200 Subject: [PATCH] Disabled debug as defualt --- autogpts/forge/forge/__main__.py | 2 +- autogpts/forge/forge/sdk/routes/agent_protocol.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/autogpts/forge/forge/__main__.py b/autogpts/forge/forge/__main__.py index e4499be08..4cb02425a 100644 --- a/autogpts/forge/forge/__main__.py +++ b/autogpts/forge/forge/__main__.py @@ -48,7 +48,7 @@ if __name__ == "__main__": workspace = LocalWorkspace(os.getenv("AGENT_WORKSPACE")) port = os.getenv("PORT", 8000) - database = forge.sdk.db.AgentDB(database_name, debug_enabled=True) + database = forge.sdk.db.AgentDB(database_name, debug_enabled=False) agent = forge.agent.ForgeAgent(database=database, workspace=workspace) agent.start(port=port) diff --git a/autogpts/forge/forge/sdk/routes/agent_protocol.py b/autogpts/forge/forge/sdk/routes/agent_protocol.py index 421021e01..3f3a3af38 100644 --- a/autogpts/forge/forge/sdk/routes/agent_protocol.py +++ b/autogpts/forge/forge/sdk/routes/agent_protocol.py @@ -469,7 +469,6 @@ async def list_agent_task_artifacts( artifacts: TaskArtifactsListResponse = await agent.list_artifacts( task_id, page, page_size ) - LOG.info(f"Artifacts: {artifacts.json()}") return artifacts except NotFoundError: LOG.exception("Error whilst trying to list artifacts")