From a5cc67badd59791871e334ee9cf72f57cf5ac975 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 25 Apr 2023 04:08:02 +0800 Subject: [PATCH] anontation fix (#3018) * anontation fix * fix param name and type --------- Co-authored-by: Richard Beales --- autogpt/config/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autogpt/config/config.py b/autogpt/config/config.py index 7fa849e5577b..600c31041b3d 100644 --- a/autogpt/config/config.py +++ b/autogpt/config/config.py @@ -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: