Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
richbeales committed Apr 18, 2023
1 parent 4a07790 commit 90e6a55
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions autogpt/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def main(
memory_type: str,
browser_name: str,
allow_downloads: bool,
skip_news: bool
skip_news: bool,
) -> None:
"""
Welcome to AutoGPT an experimental open-source application showcasing the capabilities of the GPT-4 pushing the boundaries of AI.
Expand Down Expand Up @@ -97,7 +97,7 @@ def main(
memory_type,
browser_name,
allow_downloads,
skip_news
skip_news,
)
logger.set_level(logging.DEBUG if cfg.debug_mode else logging.INFO)
ai_name = ""
Expand Down
2 changes: 1 addition & 1 deletion autogpt/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def create_config(
memory_type: str,
browser_name: str,
allow_downloads: bool,
skip_news: bool
skip_news: bool,
) -> None:
"""Updates the config object with the given arguments.
Expand Down
5 changes: 4 additions & 1 deletion autogpt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ def readable_file_size(size, decimal_places=2):
size /= 1024.0
return f"{size:.{decimal_places}f} {unit}"


def get_latest_bulletin() -> str:
try:
response = requests.get('https://raw.githubusercontent.com/Significant-Gravitas/Auto-GPT/master/BULLETIN.md')
response = requests.get(
"https://raw.githubusercontent.com/Significant-Gravitas/Auto-GPT/master/BULLETIN.md"
)
if response.status_code == 200:
return response.text
except:
Expand Down

0 comments on commit 90e6a55

Please sign in to comment.