Skip to content

Commit

Permalink
Merge pull request Significant-Gravitas#2313 from lengweiping1983/arg…
Browse files Browse the repository at this point in the history
…_config_optimization

only adjust argument order
  • Loading branch information
richbeales authored Apr 21, 2023
2 parents 7b22809 + ae7b81d commit 4eaec80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autogpt/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ def create_config(
CFG.ai_settings_file = file
CFG.skip_reprompt = True

if browser_name:
CFG.selenium_web_browser = browser_name

if allow_downloads:
logger.typewriter_log("Native Downloading:", Fore.GREEN, "ENABLED")
logger.typewriter_log(
Expand All @@ -129,6 +132,3 @@ def create_config(

if skip_news:
CFG.skip_news = True

if browser_name:
CFG.selenium_web_browser = browser_name

0 comments on commit 4eaec80

Please sign in to comment.