Black formatting
parent
4a07790910
commit
90e6a55e37
|
@ -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.
|
||||
|
@ -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 = ""
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue