From fad24b35257f29f1043bc7cc272a08dbfc631bb6 Mon Sep 17 00:00:00 2001 From: RainRat Date: Thu, 4 May 2023 10:46:37 -0700 Subject: [PATCH] fix typos (#3798) --- autogpt/agent/agent.py | 2 +- autogpt/memory_management/summary_memory.py | 2 +- autogpt/url_utils/validators.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autogpt/agent/agent.py b/autogpt/agent/agent.py index 9130d105c610..48d1932806a8 100644 --- a/autogpt/agent/agent.py +++ b/autogpt/agent/agent.py @@ -65,7 +65,7 @@ def __init__( self.ai_name = ai_name self.memory = memory self.summary_memory = ( - "I was created." # Initial memory necessary to avoid hilucination + "I was created." # Initial memory necessary to avoid hallucination ) self.last_memory_index = 0 self.full_message_history = full_message_history diff --git a/autogpt/memory_management/summary_memory.py b/autogpt/memory_management/summary_memory.py index 55ff385341e4..4e818acf116a 100644 --- a/autogpt/memory_management/summary_memory.py +++ b/autogpt/memory_management/summary_memory.py @@ -87,7 +87,7 @@ def update_running_summary( elif event["role"] == "user": new_events.remove(event) - # This can happen at any point during execturion, not just the beginning + # This can happen at any point during execution, not just the beginning if len(new_events) == 0: new_events = "Nothing new happened." diff --git a/autogpt/url_utils/validators.py b/autogpt/url_utils/validators.py index c85a00bab6fa..2c0c5fa5fab0 100644 --- a/autogpt/url_utils/validators.py +++ b/autogpt/url_utils/validators.py @@ -7,7 +7,7 @@ def validate_url(func: Callable[..., Any]) -> Any: """The method decorator validate_url is used to validate urls for any command that requires - a url as an arugment""" + a url as an argument""" @functools.wraps(func) def wrapper(url: str, *args, **kwargs) -> Any: