Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RainRat authored May 4, 2023
1 parent b016323 commit fad24b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion autogpt/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion autogpt/memory_management/summary_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down
2 changes: 1 addition & 1 deletion autogpt/url_utils/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fad24b3

Please sign in to comment.