Disabled debug as defualt

pull/5286/head
SwiftyOS 2023-09-21 15:21:41 +02:00
parent 5c0ddd3a81
commit 13c8d81f15
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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")