Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix typos (#3798)

RainRatfad24b35257f
diff --git a/autogpt/agent/agent.py b/autogpt/agent/agent.py
index 9130d105c6..48d1932806 100644
--- a/autogpt/agent/agent.py
+++ b/autogpt/agent/agent.py
@@ -65,7 +65,7 @@ class Agent:
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 55ff385341..4e818acf11 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 c85a00bab6..2c0c5fa5fa 100644
--- a/autogpt/url_utils/validators.py
+++ b/autogpt/url_utils/validators.py
@@ -7,7 +7,7 @@ from requests.compat import urljoin
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: