mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-07 16:24:19 +01:00
Disabled debug as defualt
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user