Skip to content

Commit

Permalink
disable 'PUBLISH_OUTPUT_PROGRESS=False'
Browse files Browse the repository at this point in the history
  • Loading branch information
mrT23 committed Jul 18, 2024
1 parent a272c76 commit d088f9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pr_agent/servers/github_action_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pr_agent/servers/github_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d088f9c

Please sign in to comment.