Skip to content

Commit

Permalink
anontation fix (#3018)
Browse files Browse the repository at this point in the history
* anontation fix

* fix param name and type

---------

Co-authored-by: Richard Beales <[email protected]>
  • Loading branch information
zhanglei1172 and richbeales authored Apr 24, 2023
1 parent 8bf4eb7 commit a5cc67b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autogpt/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ def set_temperature(self, value: int) -> None:
"""Set the temperature value."""
self.temperature = value

def set_memory_backend(self, value: int) -> None:
"""Set the temperature value."""
self.memory_backend = value
def set_memory_backend(self, name: str) -> None:
"""Set the memory backend name."""
self.memory_backend = name


def check_openai_api_key() -> None:
Expand Down

0 comments on commit a5cc67b

Please sign in to comment.