Skip to content

Commit

Permalink
Fix Memory Settings (#293)
Browse files Browse the repository at this point in the history
This fixes error of calling lower() on bool

Signed-off-by: MistApproach <[email protected]>
Co-authored-by: Josh XT <[email protected]>
  • Loading branch information
MistApproach and Josh-XT authored May 10, 2023
1 parent c978178 commit c17e744
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Config/Agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ def __init__(self, agent_name=None):
self.INSTRUCT_PROMPT = f.read()

# Memory Settings
self.USE_LONG_TERM_MEMORY_ONLY = os.getenv(
"USE_LONG_TERM_MEMORY_ONLY", False
).lower()
self.USE_LONG_TERM_MEMORY_ONLY = os.getenv("USE_LONG_TERM_MEMORY_ONLY", False)
# Yaml Memory
self.memory_file = f"agents/{self.AGENT_NAME}.yaml"
self._create_parent_directories(self.memory_file)
Expand Down

0 comments on commit c17e744

Please sign in to comment.