From d088f9c19aa1782b6ee2dad166100d2471236b11 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Thu, 18 Jul 2024 11:49:09 +0300 Subject: [PATCH] disable 'PUBLISH_OUTPUT_PROGRESS=False' --- pr_agent/servers/github_action_runner.py | 2 +- pr_agent/servers/github_app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pr_agent/servers/github_action_runner.py b/pr_agent/servers/github_action_runner.py index 2044c747..94577211 100644 --- a/pr_agent/servers/github_action_runner.py +++ b/pr_agent/servers/github_action_runner.py @@ -37,7 +37,7 @@ async def run_action(): OPENAI_KEY = os.environ.get('OPENAI_KEY') or os.environ.get('OPENAI.KEY') OPENAI_ORG = os.environ.get('OPENAI_ORG') or os.environ.get('OPENAI.ORG') GITHUB_TOKEN = os.environ.get('GITHUB_TOKEN') - get_settings().set("CONFIG.PUBLISH_OUTPUT_PROGRESS", False) + # get_settings().set("CONFIG.PUBLISH_OUTPUT_PROGRESS", False) # Check if required environment variables are set if not GITHUB_EVENT_NAME: diff --git a/pr_agent/servers/github_app.py b/pr_agent/servers/github_app.py index afa7b697..eb726dd4 100644 --- a/pr_agent/servers/github_app.py +++ b/pr_agent/servers/github_app.py @@ -349,7 +349,7 @@ async def root(): if get_settings().github_app.override_deployment_type: # Override the deployment type to app get_settings().set("GITHUB.DEPLOYMENT_TYPE", "app") -get_settings().set("CONFIG.PUBLISH_OUTPUT_PROGRESS", False) +# get_settings().set("CONFIG.PUBLISH_OUTPUT_PROGRESS", False) middleware = [Middleware(RawContextMiddleware)] app = FastAPI(middleware=middleware) app.include_router(router)